View Full Version : UI Questions
Rawrs_and_Stripes
06-05-2008, 01:18 PM
Switching over from LW to XSI, I am looking for a couple features that I cannot seem to find.
First is locking the selected object to the center of the view port. I have found "Center Selection" (Alt+C) and "Center Selection (All 3D Views)" (Alt+Shift+C), but I am looking for an Auto-Center Selection. Something I can easily toggle on and off. Also, jumping to center on a new selection. Does this option exist?
Second, is there a way to make an object's view different from another's or from the view port? Can I select a model and have it in wireframe and will appear in wireframe no matter my selection of view for the view ports (shaded, textured, etc)?
I hope I have explained these well. Thank you.
StephenBlair
06-05-2008, 01:39 PM
Second, is there a way to make an object's view different from another's or from the view port? Can I select a model and have it in wireframe and will appear in wireframe no matter my selection of view for the view ports (shaded, textured, etc)?
Add a Display property to the object, and then disable Override Object Properties in the viewport Display Type menu.
Rawrs_and_Stripes
06-05-2008, 02:10 PM
Add a Display property to the object, and then disable Override Object Properties in the viewport Display Type menu.
Thank you. Now if i can figure out how to lock the view port camera to Center Selection, then I'd be all set... for now. :)
StephenBlair
06-05-2008, 04:04 PM
There may be other ways, but you can try this:
SetValue("preferences.Select.changecommand", "CenterSelection", null);
To this interactively, click File > Preferences > Tools > Selection.
In the Selection Change Command text box, type CenterSelection.
Rawrs_and_Stripes
06-05-2008, 04:38 PM
That works for centering on a selection, which is good. But, it doesn't follow when scrubbing through the timeline with animation. I was also hoping for something easily togglable. Thanks for this much though! :D
PetrZ
06-05-2008, 04:56 PM
StephenBlair: I'm just curious why calling
Application.CenterSelectionor
Application.Commands("Center Selection (All 3D Views)") (Python)
from script (event or script editor) doesn't work?
StephenBlair
06-05-2008, 06:56 PM
Try
Application.CenterSelection()
and
Application.Commands("Center Selection (All 3D Views)").Execute()
Commands("Center Selection (All 3D Views)") returns a Command object, and is shorthand for Commands.Items("Center Selection (All 3D Views)").
StephenBlair
06-05-2008, 08:07 PM
That works for centering on a selection, which is good. But, it doesn't follow when scrubbing through the timeline with animation. I was also hoping for something easily togglable. Thanks for this much though! :D
With a little scripting it can be togglable, you could have a custom command that sets/unsets the preference, and then assign a keyboard shortcut to the command.
grahamef
06-05-2008, 08:57 PM
That works for centering on a selection, which is good. But, it doesn't follow when scrubbing through the timeline with animation. I was also hoping for something easily togglable. Thanks for this much though! :D
Use an Object View.
PetrZ
06-05-2008, 09:15 PM
StephenBlair: thanks
Rawrs_and_Stripes: just little break from learning to math exam, it's toggleable, maybe you need to restar xsi to see preferences (pz_PinCameraOptions). (remove .txt extension from attachement, and you have to pyhon properly installed)
vBulletin® v3.7.0, Copyright ©2000-2008, Jelsoft Enterprises Ltd.