JBenghiat Posted February 12, 2022 Share Posted February 12, 2022 I have a PIO that reshapes on move. If the use duplicates or copy/pastes the object, it should not reshape. My solution for this is to flag as new via a hidden parameter during the kObjectCreated state, and if new, ignore the move. The problem is that pasted objects first have a move event state trigger that shows no move, and then has a second move event with the offset. I had been checking to see if the move matrix is identity, and if so not resetting the new flag, however, if the user pastes in place, Vectorworks doesn't issue the second move event. Does anyone have a solution for handling move-after-paste? Or is that first move event on paste a bug? Quote Link to comment
PatW Posted February 16, 2022 Share Posted February 16, 2022 I think it would be more easy to save the most recent created handle + timestamp as static parameters. If the move event is within a specific time after the create ignore it. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.