User Activity

  • Posted a comment on discussion Open Discussion on IfcOpenShell

    I am able to obtain all psets, properties, and values from every instance of the specified entity, but I am not sure how to proceed on adding them to their respective objects in the new file ## Getting Psets of entities ## for i in range(len(products)): if products: obj = products[i] for relDefinesByProperties in obj.IsDefinedBy: print([i]) #print("[{0}]".format(relDefinesByProperties.RelatingPropertyDefinition.Name)) PropertySetName = relDefinesByProperties.RelatingPropertyDefinition.Name print(PropertySetName)...

  • Posted a comment on discussion Open Discussion on IfcOpenShell

    I have a case where I have a large IFC file in which I want to extract specific entities and their corresponding Psets and export them in a new IFC file. My approach is to iterate over all entities of the specified class and .add to the new file, but this does only extract the geometry and does not maintain its related psets.. Various discussions points out that NewIFC.createIfcRelDefinesByProperties function does it, but my limited expertise with IfcOpenshell makes me hit rock bottom trying to make...

View All

Personal Data

Username:
jacobhermansen
Joined:
2022-10-06 15:00:08.891000

Projects

  • No projects to display.

Personal Tools