Jump to content

Is it possible to call a VS routine (or menu command) from a marionette object?


Recommended Posts

Hello,

some time ago I made a Vectorscript Menu command that computes the current date and writes to a database record.

Now I'd like to implement this in a Marionette Object. Whenever I click a button in the OIP of the Marionette Object it should call the Vectorscript.

 

Is this or something similar possible and how do I do it?

Thanks for help

VvierA

Link to comment

I think you will be better off reimplementing the command in Marionette rather than trying to call a menu command from the Marionette object.

 

Since there are no date functions in Marionette you could either implement a node that does all the calculations by converting the script to Python, or you could possibly write a node that implements the Vectorscript DoMenuTextByName command to run the existing script you have.

 

I would recommend the first if you are going to the trouble to learn how to make/edit nodes it will make things more stable.

Link to comment
  • 1 month later...

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.

×
×
  • Create New...