Jump to content
Martin Crawford

Custom Dialog Box In Marionette Menu Script

Recommended Posts



Is it possible to have a Marionette script that pops-up a custom dialog box so I can get input for running a script. I can't really use the OIP as I need to select a the objects, get input, then assign data to the objects. 


I have attached a few screen shots, The no color or the starting point, the color is the ending point and the last one is the different patterns used to connect everything togehter.


The main object is a symbol and the colors are rectangles (I wish a symbol created on none class would inherit that attributes of the class it is on). The arrows attachement are the different way of connecting things together.


So I would like to be able to draw the main screen, highlight a section and run a marionette script via a menu command that will add color, arrows and update records. I think I can manage all of those elements, however to work I need to input 4-5 bit of data. For example, the Processor number, port number, starting ID number and the arrow connecting pattern (also a few other details that attach to a record used for reporting).


How much of this can be done with a native Marionette script vs a custom node. I don't see an easy way for the patterns in native Marionette and suspect this portion will need to be a script. 





Screen Shot 2018-02-09 at 3.34.21 PM.png

Screen Shot 2018-02-09 at 3.35.05 PM.png

Screen Shot 2018-02-09 at 3.35.31 PM.png

Share this post

Link to post

It is possible

But you have to code the Custom Dialoge. 

Attached an example with two popup and a sort node. Somehow by accident it goes in your usecase direction



Custom Dialog.vwx

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.

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...