mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-14 03:14:23 +00:00
Iteration of inverse attribute list
This commit is contained in:
@@ -170,6 +170,8 @@ class AttributeList(Node):
|
||||
assert self.type == self.tokens[0]
|
||||
def __repr__(self):
|
||||
return "\n".join([" %s;"%s for s in self.elements])
|
||||
def __iter__(self):
|
||||
return iter(self.elements)
|
||||
|
||||
|
||||
class InverseAttribute(Node):
|
||||
|
||||
Reference in New Issue
Block a user