Jump to content
Olaf Pfeifer

How can I reset a Marionette Object other than by moving it?

Recommended Posts

I would like my marionette object node to read parameters from a database record (instead of OIP input parameters). However, it will not update instantaneously when I change the database record via worksheet (database row) or 'data' tab of the OIP. What are my options to 'bump' it, besides moving it ?  

Share this post


Link to post

One option would be to include a boolean input node with a name (so that it shows on the OIP) that you can toggle (I would attach it to the end of my network with a pass node)

 

Running the command Tools > Utilities > Reset All Plug-ins should reset them, but it would also update all other plug-ins in the document.

 

You could create a script that would only reset selected plug-ins, or that would only reset Marionette objects.

(Let me see if I can find one I wrote a few years ago, otherwise I will try to find time to write a new one)

Share this post


Link to post

Thank you for offering, Marissa! It looks like the "scale" operation (with a vector of (1;1)  does the trick to reset (=update) my marionette objects and can be applied to them selected by criteria (other than "move", which won't work).

If I only knew how to run such a marionette script from the worksheet  ... can I ? Maybe even to a single database row handle?

update marionette.png

  • Like 1

Share this post


Link to post
1 minute ago, Olaf Pfeifer said:

If I only knew how to run such a marionette script from the worksheet  ... can I ? Maybe even to a single database row handle?

Actually that is a great idea! Let me look into this since we added some functionality for scripting in worksheets recently.

Are you still on 2019, as your signature states?

Share this post


Link to post

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


 

7150 Riverwood Drive, Columbia, Maryland 21046, USA   |   Contact Us:   410-290-5114

 

© 2018 Vectorworks, Inc. All Rights Reserved. Vectorworks, Inc. is part of the Nemetschek Group.

×
×
  • Create New...