Export geometry in dumb format to new revit file or FBX


#1

Hello,

 

i’m currently trying to a “dumb” version of a model in order to reduce the file size for use in an occulus.

 

Here is my what i’m thinking

turn all elements geometry in to solid and map the original family name to be the new instances name… this is where i’m struggling it seems to be putting the element GUID as the name, does any one know if i can change this?

so that it carries the name through?

 

 

Cheers

 

Tom


#2

Yes you can do this, but it has to be done after the import is done. So you would get the solids, import into Revit as SAT geometry, then rename all of the imported SAT Geometries with whatever name you choose. See attached image.


#3

Im getting an error any ideas, thank you for your help with this !!!

 


#4

Sorry- my script is written to only do one element. You need to edit the Python to work with lists. See below:

RenameImportedGeometryList


#5

thanks for that i seem to have another error now …

 

Warning: IronPythonEvaluator.EvaluateIronPythonScript operation failed.
Traceback (most recent call last):
File “<string>”, line 37, in <module>
TypeError: len() of unsized object

 

… wish i new python this would!


#6

my last post was my fault!!! all is working

 

Thank you!!!