Jump to content
Sign in to follow this  
David Clinton

Edit Button in PIO object info Pallet/ Edit Dialog

Recommended Posts

;) I Have developed numerous PIOs. I would Like to be able to place an edit button in the object info pallet and present an an editing dialog for each segment of the (usually polylines) PIO path. Could someone provide me with an example of code or direct me to the necessary resources. Thanks, Dave C. User since 1985.

Share this post

Link to post


How to enable the extended plug-in properties and handle script specified events. By Charles Chandler.?


Plenty of examples.

?Extended Properties

Using the Extended Properties features, more behaviors are available to VectorScript objects.

Before you start using these advanced features, you should understand that PIOs that use them are three times more complicated than PIOs that do not. The nice thing about "regular" VectorScript objects is that you can get decent results with a minimum of effort. You may not be able to get exactly the behaviors that you want, but what you do get, you get easily. ?

Maybe Mr. Chandler exaggerates a bit, but the complexity (and, I'm afraid, unpredictability) is an issue to consider. If you can live with a less-than-perfect user interface, a Boolean parameter to bring up the dialog would be much easier to implement.


But, hey, it is doable! Even I've managed to get a PIO or two to occasionally have and use buttons.

Knowing nothing about your program structures, but assuming a thing or two: the ?main? sections have to be restructured. There are caveats: my favourite one is that responsiveness to the Text menu (obj var boolean 800) has to be in the reset loop although it would be logical to require that only in the init section.

Edited by Kool Aid

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.

Sign in to follow this  


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