Search - User list
Full Version: Looking a way to streamline workflow between /obj objects
Root » Technical Discussion » Looking a way to streamline workflow between /obj objects
raincole
Now, if I'm working with multiple objects (/obj objects, in other words they have their own SOP context), I have to do something like this:

1. I'm in Object A's SOP context
2. Switch to "Object Select Mode"
3. Turn on Select
4. Select Object B
5. Press Enter
6. Now I'm in /obj, with Object B selected, but the transform handle is on
7. Turn off the transform handle
8. Get into Object B's SOP context

It's quite a lot of steps for something I do frequently.

Ideally:

1. I'm in Object A's SOP context
2. Execute a script or something to let me select objects
3. Select Object B
4. Now I'm in Object B's SOP context

Is it possible to write a script for Step 2 here? Or there is a built-in way?
EZiniT
Are quickmarks what you are looking for?

1: Go to the node you want to focus on.....press CTRL + 1
2: Go to another node (any context).....press CTRL +2

Now all you need to do to swap between locations is press 1 or 2

There are 5 quickmarks in total available.
raincole
EZiniT
Are quickmarks what you are looking for?

1: Go to the node you want to focus on.....press CTRL + 1
2: Go to another node (any context).....press CTRL +2

Now all you need to do to swap between locations is press 1 or 2

There are 5 quickmarks in total available.

But I want to (interactively) select the object from the Scene View, and focus on its display flag in its respective SOP network when it's selected.

Pseudo code would be like this:

switch_to_object_select_mode()
activate_select_tool()
wait_for_user_select_an_object(callback)

def callback(selected_object)
  enter_sop_network(selected_object)

It seems that I might need to write a custom python state that binds to an object selector [www.sidefx.com]. Haven't figured out how to do it though
antc
Can you describe the situations where switching to Object Select Mode doesn't activate the select tool automatically?

For me when I'm in a sops network, pressing the 1 key (Object Select) seems to reliably put me into /obj context with the select tool activated. From /obj I can then pick another object and press 4 (or 2/3) to dive into the sop network for that object.
EZiniT
Activate ghost other objects in the viewport.

Right click the geometry select mode icon (left of viewport), turn on "double click to jump to other object"
this enables swapping between any ghosted and working objects with just a double click in scene view

Similar thing by right clicking over the ghosted object for the menu "geometry/selectable template".

Other than that Python is probably your way to go.
raincole
EZiniT
Activate ghost other objects in the viewport.

Right click the geometry select mode icon (left of viewport), turn on "double click to jump to other object"
this enables swapping between any ghosted and working objects with just a double click in scene view

Similar thing by right clicking over the ghosted object for the menu "geometry/selectable template".

Other than that Python is probably your way to go.

Ah I see, that's what I'm looking for. It seems that I disabled double click to jump at some point and forgot it.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB