I have problem with importing part created in PartDesign if there is also TechDraw sheet generated inside of it.
In report View I get
Code: Select all
Running the Python command 'a2p_ImportPart' failed:
Traceback (most recent call last):
File "/home/senja/.FreeCAD/Mod/A2plus/a2p_importpart.py", line 576, in Activated
importedObject = importPartFromFile(doc, filename)
File "/home/senja/.FreeCAD/Mod/A2plus/a2p_importpart.py", line 194, in importPartFromFile
importableObjects = topoMapper.getTopLevelObjects(allowSketches=True)
File "/home/senja/.FreeCAD/Mod/A2plus/a2p_topomapper.py", line 411, in getTopLevelObjects
shapeObs = a2plib.filterShapeObs(self.doc.Objects,allowSketches)
File "/home/senja/.FreeCAD/Mod/A2plus/a2plib.py", line 252, in filterShapeObs
if len(ob.Shape.Faces) > 0 and len(ob.Shape.Vertexes) > 0:
'str' object has no attribute 'Faces'
Is there some workaround to overcome this.
A2P is V 0.4.47 and FreeCAD is
Code: Select all
OS: Manjaro Linux (KDE//usr/share/xsessions/plasma)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.21525 (Git)
Build type: Release
Branch: master
Hash: 8311b1e66de5f13e4e8f5338958e4a9699020b82
Python version: 3.8.3
Qt version: 5.14.2
Coin version: 4.0.0
OCC version: 7.4.0
Locale: English/United States (en_US)
Thank you in advance.