Assembly 3 Unable to make nested assembly

Discussion about the development of the Assembly workbench.
Post Reply
Astro_bob
Posts: 2
Joined: Sat Jun 25, 2022 8:01 pm

Assembly 3 Unable to make nested assembly

Post by Astro_bob »

I am trying to create nested assembly by dragging and dropping one into another. However, I am unable to do that.
I will get this error message:
File "C:\Users\user\AppData\Roaming\FreeCAD\Mod\FreeCAD_assembly3-master\.\freecad\asm3\assembly.py", line 4616, in canDropObjectEx
return partGroup.canDropObject(obj,owner,subname)
<class 'TypeError'>: argument 2 must be App.DocumentObject, not None
TQBHTAc3up.png
TQBHTAc3up.png (12.3 KiB) Viewed 657 times
I am using FreeCAD 0.2 official, and the problem is happening in both the add-on manager version of Assembly 3 or the manually installed one from github.
I don't know if this is an installation error on my part or a bug
this problem is not present in the FreeCAD Link Branch.
thanks in advance for the help!

my version about information:

Code: Select all

OS: Windows 10 Version 2009
Word size of FreeCAD: 64-bit
Version: 0.20.29177 (Git)
Build type: Release
Branch: releases/FreeCAD-0-20
Hash: 68e337670e227889217652ddac593c93b5e8dc94
Python 3.8.10, Qt 5.15.2, Coin 4.0.1, Vtk 8.2.0, OCC 7.6.2
Locale: English/United States (en_US)
Installed mods: 
  * 3DfindIT 1.2.0
  * 3D_Printing_Tools
  * A2plus 0.4.56a
  * AirPlaneDesign 0.4.0
  * Assembly4
  * BOLTSFC
  * CfdOF 1.17.0
  * Curves 0.4.4
  * DesignSPHysics 0.6.1-2201-31-01
  * dodo
  * drawing_dimensioning
  * fasteners 0.3.45
  * fcgear 1.0.0
  * FreeCAD_assembly3-master 0.11.3
  * Geomatics
  * Launcher
  * Rocket 2.4.1
  * sheetmetal 0.2.49
  * workfeature
  * workfeature.bak
Last edited by Astro_bob on Sat Jun 25, 2022 8:23 pm, edited 1 time in total.
User avatar
Kunda1
Veteran
Posts: 12692
Joined: Thu Jan 05, 2017 9:03 pm

Re: Assembly 3 Unable to make nested assembly

Post by Kunda1 »

Please always add your full About info
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
#lowhangingfruit | Use the Source, Luke. | How to Help FreeCAD | How to report FC bugs and features
Astro_bob
Posts: 2
Joined: Sat Jun 25, 2022 8:01 pm

Re: Assembly 3 Unable to make nested assembly

Post by Astro_bob »

Added the About version. Sorry about that.
User avatar
Kunda1
Veteran
Posts: 12692
Joined: Thu Jan 05, 2017 9:03 pm

Re: Assembly 3 Unable to make nested assembly

Post by Kunda1 »

Moved to Assembly subforum
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
#lowhangingfruit | Use the Source, Luke. | How to Help FreeCAD | How to report FC bugs and features
marioalexis
Posts: 97
Joined: Wed Jun 19, 2019 7:44 pm

Re: Assembly 3 Unable to make nested assembly

Post by marioalexis »

Here I made some changes to ViewProvider.canDropObject and now the function only supports an App.DocumentObject in the owner parameter.
Post Reply