I'm using ifcopenshell-python, I can get the inverse attribute's value by
giving the attribute's name, but is it possible to get all the inverse
attributes' name of an entity?
e.g., given a IfcShapeRepresentation entity, list the
names: [RepresentationMap,LayerAssignments,OfProductRepresentation]
Thanks!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
In principal yes, but with all the development effort in this area lately it is not very stable. Are you using binaries from the website or you compiled your own?
Hi Thomas,
Thanks for your reply.
I'm using IfcOpenShell-python for python 3.4 64bit Linux from the website.
It seems there's no get_inverse_attribute_names()
Should I compile the current master version on github?
Thanks!
Ling
Last edit: lorinma 2015-12-02
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Thomas,
I'm using ifcopenshell-python, I can get the inverse attribute's value by
giving the attribute's name, but is it possible to get all the inverse
attributes' name of an entity?
e.g., given a IfcShapeRepresentation entity, list the
names: [RepresentationMap,LayerAssignments,OfProductRepresentation]
Thanks!
Hi,
In principal yes, but with all the development effort in this area lately it is not very stable. Are you using binaries from the website or you compiled your own?
Your best bet is probably to try the following:
Hope that helps,
Kind regards,
Thomas
Hi Thomas,
Thanks for your reply.
I'm using IfcOpenShell-python for python 3.4 64bit Linux from the website.
It seems there's no get_inverse_attribute_names()
Should I compile the current master version on github?
Thanks!
Ling
Last edit: lorinma 2015-12-02