Autodesk / revit-ifc

IFC for Revit and Navisworks (2019+)
462 stars 195 forks source link

hidden shared parameters are not exported to ifc #38

Open epeter- opened 5 years ago

epeter- commented 5 years ago

hi i tried to export a series of hidden shared parameters to IFC unfortunately they are ignored by the exporter. approaches: 1) export user defined property sets ( in IFC export) 2) create a schedule name it IFC-Test and populate it with the hidden shared parameters 3) create a schedule name it IFC-Test and use a calculation parameter that is mapping the hidden parameter

result: no export for all 3 options. yes the parameters had content and were not empty

epeter- commented 5 years ago

well funny that after 3 weeks there is no reply from autodesk 👎

AngelVelezSosa commented 5 years ago

Sorry! I believe we explicitly don't export hidden shared parameters (because they are hidden). Would you expect them to be?

TimBurrowsUK commented 4 years ago

@AngelVelezSosa has this been resolved yet? We are very keen to use Hidden Parameters within Revit but we need them to export out to IFC.

AngelVelezSosa commented 4 years ago

This isn't an IFC issue; this is an API issue. The API hides parameters, so IFC can't export them. If this is something you need, then I think it needs to be an API request. Revit ideas seems to be the place: https://forums.autodesk.com/t5/revit-ideas/idb-p/302

TimBurrowsUK commented 4 years ago

Thanks for the swift response @AngelVelezSosa - We have successfully managed to link hidden parameters within some of our custom tools, is it a particular part of the API that needs exposing? For clarity I am interested in Shared Parameters who's value in the Shared Parameters file is set to 0 to ensure they are "hidden" within the Revit modelling environment; but not within Tags or Schedules...

AngelVelezSosa commented 4 years ago

Can you include a trivial example here? Perhaps there is another API route we could take.

TimBurrowsUK commented 4 years ago

Hidden Shared Parameters.zip

Thanks @AngelVelezSosa - I've attached a zip file which contains a test project and family along with a few images showing you can have a hidden Shared Parameter in the Family editor, which can only be seen within Schedules or tags but it does exist and is associated to the family in the project...

I've also created an IFC which doesn't appear to take these parameters out however I've only tested within Navisworks. More than happy to jump on a call if this helps? I'm really really keen to utilise Shared Hidden Parameters however cannot if we cannot export them within our IFC's.

I can put you in touch with our developers too if that helps to narrow down the API calls ?

epeter- commented 4 years ago

hi angel, i think hidden parameters are well accessible from api, no vodoo required, it is just the implementation of IFC export.

i tried to show in a very simple dynamo example

parameter AAAAA is set and read. in the pic i have included the definition in shared parameter file

best peter

epeter- commented 4 years ago

AAAA-1 sorry picture didn't upload