Move packed prims with simple click and drag in viewport?

   369   3   0
User Avatar
Member
1035 posts
Joined: April 2017
Offline
Hi!

I have a bunch of pieces I need to move from the top view. Currently I'm just using a transform sop, using its group to select the piece and finally move with a gizmo that is annoyingly at the origin instead of on the piece... ARG! Multiply that times 50 and you'll go nuts!

Is there some sop node that would allow me to simply click and drag on the pieces. All within a single node?

-Olivier
User Avatar
Member
703 posts
Joined: Feb. 2017
Offline
Hey, Olivierth,
Labs pick and place comes to my mind. But this works with pieces the user places not ones already placed.
Maybe you can look inside and it could be modified to work that way. It comes with the ability to move
the already placed objects so it should be possible.

edit: btw if you put
$GCX $GCY $GCZ
in the xform pivot translate the gizmo is at the group center.
Cheers
CYTE
Edited by CYTE - July 17, 2024 14:51:33
User Avatar
Member
457 posts
Joined: Feb. 2012
Offline
You can also use the edit sop - obviously, it is not procedural but it works with pack prims
User Avatar
Member
1035 posts
Joined: April 2017
Offline
Thanks for the help but both options are not exactly what I was looking for.

At the end, I created a tool that allows me to create 2 point curves (even points = source position, odd points = destination position). With some scripts, the pieces are moved to the destination point positions... And its procedural so, that's a plus for me.

-Olivier
  • Quick Links