BoundingBoxCenter for-loop?

Next
 From:  nate (NKURENCE)
10065.1 
Hi,

Is there an argument (or existing script) that makes BoundingBoxCenter operate per-object in a multiselection?
For example, if I have a number of paths selected and I want to add points at each objects center, rather than the group center.

Also, is it possible to concatenate actions in a hotkey command?
e.g. Copy > Paste > Move BoundingBoxCenter ?

I've tried emulating what I see in some other for-loop scripts and key-binds but I'm not having much luck.

Much obliged for any help!

Thanks,
Nate
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
10065.2 In reply to 10065.1 
Hi Nate,

re:
> Is there an argument (or existing script) that makes BoundingBoxCenter operate per-object in a multiselection?

Try the attached script.


> Also, is it possible to concatenate actions in a hotkey command?
> e.g. Copy > Paste > Move BoundingBoxCenter ?

Not really, right now you would make a script to do something like that, and inside the script you would combine the script code that's inside the Copy, Paste, and Move commands instead of calling those commands in sequence.

In the future I would like to set up a method for stringing things together at the command level too though.

For the particular case of Copy to clipboard, Paste and Move you would probably just use the Transform > Copy command instead.

Thanks, - Michael

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
 From:  nate (NKURENCE)
10065.3 In reply to 10065.2 
Ahhh, I see!
Thanks man, this works perfectly.

Also for Transform > Copy.. I totally overlooked that.
Does exactly what I was after + keybinds perfectly to 'Copy BoundingBoxCenter'

Thank youuuuuuuu^^
:)
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All