correction in createOrderComponents

parent b31baccc
......@@ -246,7 +246,8 @@ class OrderDecomposition(CoreObject):
elementIds = element.get('stationIdsList',[])
for obj in G.ObjList:
for elementId in elementIds:
if obj.id==elementId and obj.type=='Exit':
type=obj.__class__.__name__
if obj.id==elementId and (obj.type=='Exit' or type=='MouldAssembly' or type=='MouldAssemblyBuffer'):
exitAssigned=True
# Below it is to assign assemblers if there are any in the corresponding Global list
if not exitAssigned:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment