forked from FreeCAD/FreeCAD
-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Object.Parents returns wrong information when multiple links exist to the same document #46
Comments
Is it related to #42 ? |
I'll submit a PR to upstream later. You can manually apply the commit and try. |
This was referenced Oct 20, 2020
2 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi.
Please see the attached example file:
asm_tuto2.zip
Using Assembly4.
There are 2 "arm" links in the assembly: arm001 and arm2
Expand both arm's entries in the tree view.
Right click on arm001.Body002 in the tree, select "Send to python console".
In the console run "obj.Parents", the result will be:
[(<Part object>, '**arm2.Body002**.'), (<Part object>, 'Body002.')]
Right click on arm2.Body002 in the tree, select "Send to python console".
In the console run "obj.Parents", the result will be:
[(<Part object>, 'arm2.Body002.'), (<Part object>, 'Body002.')]
OS: Ubuntu 18.04.5 LTS (ubuntu:GNOME/ubuntu)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.22517 (Git)
Build type: Unknown
Branch: gui-command-enhancements
Hash: 7616153
Python version: 3.6.9
Qt version: 5.9.5
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedStates (en_US)
The text was updated successfully, but these errors were encountered: