Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.

First time visiting? Here are some places to start:
  1. Looking for a certain topic? Check out the categories filter or use Search (upper right).
  2. Need support? Ask a question to our Community Support category.
  3. Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
  4. Be respectful, on topic and if you see a problem, Flag it.

If you would like to contact our Community Manager personally, feel free to send a private message or an email.

isDragging()? Manipulators?

S1monS1mon Member Posts: 3,912 PRO
edited January 27 in FeatureScript

Is there a way to know when a user has let up on the mouse and is done dragging a manipulator?

I thought I was making good progress using ChatGPT, but today we're been going in circles trying to resolve this.

The bigger issue is that I'm trying to implement NUV motion for splines. I had a pretty good version working, but it was a little laggy. So I started trying to get it to only show the active manipulator so it doesn't need to recompute the vectors for the other manipulators over and over while dragging.

Screen Recording 2026-01-25 at 7.21.06 PM.gif

Simon Gatrall | Product Development, Engineering, Design, Onshape | Ex- IDEO, PCH, Unagi, Carbon | LinkedIn

Comments

  • Jacob_CorderJacob_Corder Member Posts: 141 PRO

    Manipulator Change Function will react and editing logic function will also fire.

    Once that value has changed, editing logic will fire.

    specifiedParameters will be a map of keys of definition keys and will be true or false

    specifiedParameters["whateverTheManipulatorChanges"] will be true if it changed by user or dragging.

    hope this helps

Sign In or Register to comment.