diff --git a/InitGui.py b/InitGui.py index 8ef6b2e1..a747a1a6 100644 --- a/InitGui.py +++ b/InitGui.py @@ -26,7 +26,7 @@ __title__ = 'A2plus assembly Workbench - InitGui file' __author__ = 'kbwbe' -A2P_VERSION = 'V0.4.26b' +A2P_VERSION = 'V0.4.27' diff --git a/a2p_topomapper.py b/a2p_topomapper.py index d62e87b6..ced47119 100644 --- a/a2p_topomapper.py +++ b/a2p_topomapper.py @@ -403,6 +403,7 @@ def getTopLevelObjects(self): #------------------------------------------- self.treeNodes = {} shapeObs = a2plib.filterShapeObs(self.doc.Objects) + S = set(shapeObs) for ob in S: self.treeNodes[ob.Name] = ( diff --git a/a2plib.py b/a2plib.py index 55df8dc6..8720eb4d 100644 --- a/a2plib.py +++ b/a2plib.py @@ -200,6 +200,7 @@ def isPartialProcessing(): def filterShapeObs(_list): lst = [] for ob in _list: + if ob.Name.startswith("Part"):continue #Part Containers within FC0.19.18405 seem to have a shape property.. if hasattr(ob,"Shape"): if len(ob.Shape.Faces) > 0 and len(ob.Shape.Vertexes) > 0: lst.append(ob)