Skip to content
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

DD Objects in Parts #78

Open
dustinlacewell opened this issue Apr 4, 2024 · 3 comments
Open

DD Objects in Parts #78

dustinlacewell opened this issue Apr 4, 2024 · 3 comments

Comments

@dustinlacewell
Copy link

Hey there, thanks for the very helpful plugin. Should I be able to move a DD Object into a Part for organizational purposes? It seems I can move it under individual Pads, Pockets, etc - but not the Part itself.

Thanks!

@mwganson
Copy link
Owner

mwganson commented Apr 4, 2024

Unless something has changed recently you can drag and drop the dd object on top of the Part container to put it inside the Part hierarchy in the tree. If that doesn't work, the Part object has a Group property that can be edited to add the dd object to it. Bear in mind properties in a dd object (and properties in any object, for that matter) are global in scope regardless of where the object is in the tree. Also, you can add the properties directly to the Part object if you wish, instead of to the dd object, just be mindful of potential circular references / cyclic dependencies.

I know there is a change coming to allow for better tree manipulation, but I haven't updated FreeCAD recently to try it out. It's possible that change has created an issue with adding dd objects to Part containers. If so, then that would be a good bug report to add so the developer who made the change can address it.

@dustinlacewell
Copy link
Author

Just leaving a note here for now; From the DynamicData settings, if you enable "Add to active container", then creating a new DD object while a Part is the active selection will correctly put it under the part. Still can't drag it in there though.

Bear in mind properties in a dd object (and properties in any object, for that matter) are global in scope regardless of where the object is in the tree.

Yes, but they do seem to be namespaced with reference to the DD object names / labels.

@mwganson
Copy link
Owner

mwganson commented Apr 5, 2024

Drag it on top of the Part object icon to put it inside the container.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants