inverse attributes

This forum section is only for IFC-related issues
User avatar
bernd
Posts: 8211
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland

Re: inverse attributes

Postby bernd » Sat Jul 27, 2019 8:11 pm

found some good informations ... https://stackoverflow.com/a/50516528
User avatar
bernd
Posts: 8211
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland

Re: inverse attributes

Postby bernd » Sat Jul 27, 2019 8:17 pm

more important informations ...

Code: Select all

import ifcopenshell
myfile = '/home/hugo/Desktop/gruen_new.ifc'
ifcfile = ifcopenshell.open(myfile)
ifcfile.schema

Code: Select all

>>> 
>>> import ifcopenshell
>>> myfile = '/home/hugo/Desktop/gruen_new.ifc'
>>> ifcfile = ifcopenshell.open(myfile)
>>> ifcfile.schema
'IFC2X3'
>>> 
User avatar
bernd
Posts: 8211
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland

Re: inverse attributes

Postby bernd » Tue Jul 30, 2019 7:14 am

gave it a try for properties ... https://github.com/FreeCAD/FreeCAD/pull/2388