User Activity

  • Posted a comment on discussion Help on IfcOpenShell

    Thanks a lot, can you tell me how should I rewrite my code then?

  • Posted a comment on discussion Help on IfcOpenShell

    Thanks @aothms but: import ifcopenshell from ifcopenshell.api import run model = ifcopenshell.file(schema='IFC2X3') concrete = ifcopenshell.api.run("material.add_material", model, name="CON01") properties = [model.createIfcPropertySingleValue("ThermalConductivity", "ThermalConductivity", model.create_entity("IfcThermalConductivityMeasure", 3.5), None)] model.createIfcExtendedMaterialProperties('Pset_MaterialConcrete', 'Optional description', properties, concrete) the last command still yields the...

  • Posted a comment on discussion Help on IfcOpenShell

    Hi all, I managed to add properties to a material in a newly created model using the IFC4 schema, following the example provided here: https://sourceforge.net/p/ifcopenshell/discussion/1782717/thread/c969379de9/ I understand the same does not apply to IFC2X3. In fact, when I try the same procedure, the same command: model.createIfcMaterialProperties('Pset_MaterialConcrete', 'Optional description', properties, concrete) yields: TypeError: in method 'entity_instance_setArgumentAsEntityInstance', argument...

View All

Personal Data

Username:
warpino
Joined:
2011-05-09 10:53:35

Projects

  • No projects to display.

Personal Tools