PDA

View Full Version : Is this a useful script idea?


winterpatty
01-01-2008, 07:49 PM
Hi All C4D Noob here:

I am thinking of writing a couple scripts but don't want to reinvent the wheel.
Can ayone tell me if there is built in functionality or an existing script for:
( i've done some forum searching but not found anything so far)

Script idea 1: Create Null Here
Work flow: Select an object, execute script - a new null object is created with the same(global) PRS as the the object selected and immediately below the selected object in the object manager tree

Equivalent to:
1. Creating a new null
2. Using the transform function to align it to an exising object
3. Draging the null to the appropriate location in the object manager tree

Why?
I spend a fair amount of time optimizing the object manager hierarchy for animation purposes after importing models from CAD into C4D R10.5

When grouping objects, the parent is created at the average position of the selected objects. I would like the Parent Null to be in a specific location (i.e. lined up with an existing object) - I can ctrl-drag the parent independent of the children but if I use the transform function they all move together

This above script would be useful for me but I wonder if I'm simply not aware of some built-in functionality or an alternative way of achieving the same end.


Script idea 2: Scroll to selected object in Object Manager?

thanks for any tips

Dave

sandidolsak
01-01-2008, 11:54 PM
first script is same as holding alt when adding new objects...

tcastudios
01-01-2008, 11:59 PM
And the 2nd is the "Scroll to First Active" command.
(Drag it from the CommandManager to where you want it in your layout and
then save the layout.)

Cheers
Lennart

winterpatty
01-02-2008, 12:06 AM
first script is same as holding alt when adding new objects...

And the 2nd is the "Scroll to First Active" command.
(Drag it from the CommandManager to where you want it in your layout and
then save the layout.)

Thanks folks I figured I was just missing something... will look harder next time.

Can you suggest a better forum to post noob questions like these - I'm learning C4D in a vacuum ( don't know anyone who uses it) so I will likely have a few more questions like these until I get up on the learning curve.

Dave

sandidolsak
01-02-2008, 03:13 PM
ahm, check here for more under Tips & Tricks (http://www.bonkers.de/tricks/tricks.html)
personaly i dont mind questions like that, i didnt know about that scrolling...

winterpatty
01-02-2008, 09:47 PM
yeah, I came across the answer to the scrolling question while browsing another thread about 5 minutes after posting... really need to just browse the command manager ( and read the manual) for many of these things

thanks again

CGTalk Moderation
01-02-2008, 09:47 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.