User Activity

  • Posted a comment on discussion Open Discussion on IfcOpenShell

    Thanks Thomas - apologies, i should have looked at the schemas - a simple change to IFC4X3 fixes my problem.

  • Posted a comment on discussion Open Discussion on IfcOpenShell

    Does anyone know if there is some reason pset.add_pset doesnt work with the IFC4X3_TC1 schema? Im trying to create a pset: InstallOccur = ifcopenshell.api.run("pset.add_pset", model, product=pile, name="Pset_InstallationOccurrence") ifcopenshell.api.run("pset.edit_pset", model, pset=InstallOccur, properties={"InstallationDate": "someDate"}) But i get this error: Traceback (most recent call last): File "C:\Users\304398\PycharmProjects\IfcOpenShellTest\ContractMontioringIfcDemo.py", line 44, in <module>...

  • Posted a comment on discussion Help on IfcOpenShell

    I found the answer to my own question - thought i would post here in case it helps other newbies. If you look at easch of the modules in the library it gives a really good description of how they work. In some instances this is much easier to follow than trying to find instructions or examples on line. In this case root.create.entity will only add predefinedType and name.

  • Posted a comment on discussion Help on IfcOpenShell

    I want to create some piles in an ifc file (which i am creating without any geometry just to demonstrate something). I thought i could add properties just by giving them the attribute name from the ifc schema. This works for 'predefined type' in the example below: pile = run("root.create_entity", model, ifc_class="IfcPile", predefined_type="DRIVEN") run("spatial.assign_container", model, relating_structure=facility6, product=pile) But it doesnt work for say 'tag' in hte example below: pile = run("root.create_entity",...

  • Posted a comment on discussion Help on IfcOpenShell

    Many thanks @aothms!

  • Posted a comment on discussion Help on IfcOpenShell

    Im trying to construct a simple spatial structure with IfcOpenShell as a demonstration of the new spatial elements in Ifc4.3 but i cant get it to work (Im a Python / IfcOpenShell novice). Ive re-purposed some code from various examples but i cant get it to work wiht IfcMarineFacility, only with IfcBuilding. Is there something simple that im doing wrong? When i view the .ifc file it seems to have set the schema to Ifc4 (rather than 4.3)? Any guidance would be much appreciated. Dan

View All

Personal Data

Username:
danpeel
Joined:
2023-07-15 20:26:51.403000
Location:
UK / GMT
Gender:
Male

Projects

  • No projects to display.

Personal Tools