I try to export a lot of products to IFC, but I would like to create a script loop.
Dynamo workflow now:
1. Isolate Familie instance at index "0"
2. Rename. Because "/" can not be exported
3. Export 3D view
4. Save IFC with Familie instance Name.
I would like to loop the script for the all other Familie instances.
5. Isolate Familie instance at index "1" .
7. Export 3D view
8. Save IFC with Familie instance Name form index "1".
The loop will end when all the Familie instances are exported.
Sometimes the isolation does not work and exported file will have all the families. (I think the problem is that the ifc export is faster than the isolation node).
Revit_export_ifc_loop.dyn (21.4 KB)
Verzameling_28_Metaal_SF_HAKRON_Sparingsbuis.rvt (2.9 MB)