Thanks for the replay Jeremy. I do not try to convience the Revit IFC for any redesign - I'm just trying to under why my changes causes elements to be imported at familly instances and not Autodesk.Revit.DB.Floor for example.
Hey, I have an IFC file in which all the elements are classified as IfcBuildingElementProxy and related to the type IfcBuildingElementProxyType. However, the elements have some metadata that will allow us to determine if the elements are floors or not. My end goal is to be able to import this IFC into revit and made it classify the floors as floors, walls as walls, columns as column etc. My idea of to achieve that is to create a script that will re-create the IFC file with the proper modifications...
Hey, I have an IFC file in which all the elements are classified as IfcBuildingElementProxy and related to the type IfcBuildingElementProxyType. However, the elements have some metadata that will allow us to determine if the elements are floors or not. I isolated one of these elements to a different IFC file(only_floor_clean.ifc). I then run a script that will change the element to IfcSlab with the PredefinedType "FLOOR" and same for the type(only_floor_script.ifc) When opening the later file in...
<meta content="text/html; charset=utf-8" http-equiv="Content-Type"><meta content="Microsoft Word 15 (filtered medium)" name="Generator"><style><!-- /* Font Definitions */ @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4;} @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0cm; margin-bottom:.0001pt; font-size:11.0pt; font-family:"Calibri",sans-serif;} .MsoChpDefault {mso-style-type:export-only;}...
They issue is I had with the SO solution with creating the entity is that non of the related objects were created as well and so I lost all the psets and so on. Will the script you attach handles that in some smart way?
<meta content="text/html; charset=utf-8" http-equiv="Content-Type"><meta content="Microsoft Word 15 (filtered medium)" name="Generator"><style><!-- /* Font Definitions */ @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4;} @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0cm; margin-bottom:.0001pt; font-size:11.0pt; font-family:"Calibri",sans-serif;} a:link, span.MsoHyperlink {mso-style-priority:99;...
Hey, I have an IFC file that all the elements are classified as IfcBuildingElementProxy. They do however have some string in the layers name and elements name that can provide me enough info to determine their type alone. I want to create a script that will traverse all the elements in the IFC file and change the types of the element while preserving all other data to later import it to Revit and hopefully it will recognize all the types as well. I tried looking for some solution for that and found...