Tools for parenting and grouping.
Replaces the older parenting scripts.
Uses new parenting un-parenting that uses separate buttons so shortcuts can be assigned and an rmb options panel has been added. Something like "p" for parenting and "shift-p" for unparenting might be good shortcuts. The old parenting script would give strange result when parenting objects from different encapsulations. It would create the relationship, but the parent child relationship would be invisible in the link editor. Now the child will be moved or copied to the same encapsulation node as the parent.
New Add to Group, Add to Group3D and Remove from Group buttons. The add to group buttons work similarly to the parenting button. Select the objects to move, then add the group to the selection and press the button. The selected objects will be added to the group in a 2D or 3D way. The remove from group button will transfer the selection to the scene level.
The panel has options to turn on the invisible parenting, an option to copy nodes instead of moving them and some controls for preselecting nodes for grouping and parenting.
The new Global Function Set is required. All parenting functions have been moved into it.
This shares code with the upcoming Scene View v2 which also allows parenting and grouping in a tree view.
http://clintons3d.com/plugins/truespace ... archy.html
Heirarchy Tools
- clintonman
- Captain
- Posts: 5429
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
- Contact:
- clintonman
- Captain
- Posts: 5429
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
- Contact:
Re: Heirarchy Tools
fixed spelling error
fixed broken copy option
(organization) moved hierarchy related functions out of the global function set
http://clintons3d.com/plugins/truespace ... archy.html
fixed broken copy option
(organization) moved hierarchy related functions out of the global function set
http://clintons3d.com/plugins/truespace ... archy.html
Re: Heirarchy Tools
Your HierarchyPanelFrame does not have the correct RootNode path
Also, your UU/Parenting toolbar icons are different from the UU9
Basically, the Index, HelpText, and the Commands
Also, I think you should be checking if the selection has a Matrix
Move to Scene
Copy not checked
1) Select a jScript in the scene and press the Move to Scene panel button gives an error and is copied
2) Select an Object in the scene and press the Move to Scene panel button, the object is renamed
Also, your UU/Parenting toolbar icons are different from the UU9
Basically, the Index, HelpText, and the Commands
Also, I think you should be checking if the selection has a Matrix
Move to Scene
Copy not checked
1) Select a jScript in the scene and press the Move to Scene panel button gives an error and is copied
2) Select an Object in the scene and press the Move to Scene panel button, the object is renamed
- clintonman
- Captain
- Posts: 5429
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
- Contact:
Re: Heirarchy Tools
Are you saying the panel does not open when rmb the toolbar buttons?
I didn't know you made changes to them. I'll need to reinstall the UU9 to see what changed.
Thanks, I'll check it out.trueBlue wrote: ↑04 Sep 2022, 19:48 ...
Also, I think you should be checking if the selection has a Matrix
Move to Scene
Copy not checked
1) Select a jScript in the scene and press the Move to Scene panel button gives an error and is copied
2) Select an Object in the scene and press the Move to Scene panel button, the object is renamed
Re: Heirarchy Tools
Nope The RootNode should be:Are you saying the panel does not open when rmb the toolbar buttons?
/Scripts/CustomCommands/Hierarchy
Re: Heirarchy Tools
I have a request...
How about making a Parenting toolbar with all of the buttons/icons exposed?
Or at least, add more buttons to the panel?
More importantly, currently there is two locations for the Global Function Set and all of the Parenting toolbar buttons/Icons have two different Commands in the installer
I know you have accommodated for both, except the UUCommanda/Global Function Set does not get updated by the current installer
How about making a Parenting toolbar with all of the buttons/icons exposed?
Or at least, add more buttons to the panel?
More importantly, currently there is two locations for the Global Function Set and all of the Parenting toolbar buttons/Icons have two different Commands in the installer
I know you have accommodated for both, except the UUCommanda/Global Function Set does not get updated by the current installer
- clintonman
- Captain
- Posts: 5429
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
- Contact:
Re: Heirarchy Tools
There must be something else going on.
I installed UU9 to fresh tS
Copied your latest UUCommands and Widgets
Reset the default context
installed the Hierarchy tools
rmb opens the floating panel, not the image you showed.
Rootnode still set at "/Project/Space 3D"
Maybe the UU9 has departed from what I have here?
- clintonman
- Captain
- Posts: 5429
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
- Contact:
Re: Heirarchy Tools
Will change the rootnode path even though it has no effect that I can see it still might make some difference.
Will change HelpText to match your UU version
Not changing the Index. None of the installers make assumptions about the toolbar order.
The Commands have to change because the Commands changed. Much functionality moved into the Hierarchy Function Set so cannot use the same commands as before.
Re: Heirarchy Tools
This is how it shows for me when the path is:
/Project/Space 3D
Notice the Title name?
/Project/Space 3D
Notice the Title name?
- clintonman
- Captain
- Posts: 5429
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
- Contact:
Re: Heirarchy Tools
I see it. So the RootNode shows as the title. I wonder if that gets overridden if the title value is set.
Edit: Yep, Title overrides RootNode as title. So I'll set both. Do yo think the title should just say "Hierarchy" or something more wordy?
I misunderstood your answer from before. When you answered Nope and showed the picture I thought you were saying "Nope, not getting a popup" but you were actually saying, "Nope, I'm not saying the rmb doesn't work".