Import Part Errors when using A2plus Workbench

Discussion about the development of the Assembly workbench.
Post Reply
ruchg
Posts: 25
Joined: Wed Nov 02, 2016 11:26 am

Import Part Errors when using A2plus Workbench

Post by ruchg »

Start FreeCAD
Switch to A2plus Workbench (mine shows V0.4.54b)
Create new empty document
Press Add a Part from an External file
Save current drawing per instructed pop-up
Press Add a Part from an External file
Navigate to file and select

Report View shows a number of errors:
Running the Python command 'a2p_ImportPart' failed:
Traceback (most recent call last):
File "/home/ruchg/.FreeCAD/Mod/A2plus/a2p_importpart.py", line 736, in Activated
importedObject = importPartFromFile(doc, filename)
File "/home/ruchg/.FreeCAD/Mod/A2plus/a2p_importpart.py", line 372, in importPartFromFile
topoMapper.createTopoNames()
File "/home/ruchg/.FreeCAD/Mod/A2plus/a2p_topomapper.py", line 599, in createTopoNames
tempShape = self.makePlacedShape(ob)
File "/home/ruchg/.FreeCAD/Mod/A2plus/a2p_topomapper.py", line 369, in makePlacedShape
plmGlobal = obj.Placement

'App.DocumentObjectGroup' object has no attribute 'Placement'


A part is visible in the drawing view, however there has been a second drawing tab started and made current
DrawingTabs.png
DrawingTabs.png (4.11 KiB) Viewed 1069 times
When I switch back to the assembly drawing there is nothing visible, even after pressing Fit Whole Content on Screen

When I look in the Model Tree I see the added part
DrawingTabs.png
DrawingTabs.png (4.11 KiB) Viewed 1069 times
I don't understand why the part in the Model Tree uses an Sketch Icon instead of the Body Icon a similar assembly of mine uses. The only differrence is that I have used a cutting plane and sliced the foot part and did not on the other assembly parts.

How do I clear the ImportPart Errors?

Thanks.
Attachments
ShortFoot.FCStd
(39.99 KiB) Downloaded 20 times
MidFoot.FCStd
(100.8 KiB) Downloaded 24 times
ModelTree.png
ModelTree.png (25.22 KiB) Viewed 1069 times
Post Reply