I am trying to export an IFC from a file i opened in the background.
Situation i created:
Hey,
I am trying to export an IFC from a file I opened in the background.
Situation I created:
I opened Model A in Revit.
With dynamo i opened Model B in the background so i can export an IFC.
When i run the dynamo is still get an export of Model A instead of B
There are been somes changes in the Rhythm package lately. The Export IFC in Document node expects a Revit.DB.Document and not a Dynamo Revit.Application.Document.
Use the new Rhythm Documents.DynamoDocumentToDbDocument node to perform the required “conversion”.
Now that this is workin I tried it for multiple models at once.
I feed the node 3 models with the 3 views and the 3 names.
It creates 3 IFC models so that works. But the problem is that all 3 models are the same first model.
Sorry for all the questions but I broke apart your node to customize some of the export the settings.
All of that works great but how do i turn on longest lacing of someting simular for a Python node?
We would have to see how you have edited the Python to help with editing the code.
That said it’s likely easiest for you to generate a new custom node which would allow you to utilize lacing and list levels as you would any other Dynamo node, rather than fighting the loops on the edited code.