

ViewTypeColl = collector.OfClass(ViewFamilyType)

Uiapp = Ĭollector = FilteredElementCollector(doc) # Import DocumentManager and TransactionManagerįrom RevitServices.Persistence import DocumentManagerįrom RevitServices.Transactions import TransactionManagerĭoc = Here’s some python for creating a 3D view… maybe it will help? dyn file, but can’t since I’m a new user. Hopefully some of you are able to help me in the right direction, I’m really eager to learn so if it’s not a lot of trouble, don’t give me the straight answer Now I’ve simply just connected the script to the Export IFC-node in the views input, still without success. I’ve tried to import the script from John into this node, but unsuccessful. My own assumption to the issue, is that the node Application.OpenDocumentsFile don’t open the file ‘enough’ to ‘click’ the little 3D house from Johns script. (My python skills are limited very basic).

I’ve tried to combine the python script from with the script from but without any luck. But my issue is that a lot of these files don’t contain a 3D view, or any view at all. So far I’m able to open and detach the files.
