Search the Community
Showing results for tags 'custom dialog'.
I've got an event-enabled linear PIO that raise a custom dialog with a double click on it. It works fine swapping values between custom dialog and info object palette. I've implemented dialog handle procedure with item 1 (OK Button), item 2 (CancelButton). Now I would like to add item 12605 (preview button) which would operate as the Ok button (updating PIO ), but without exit from dialog. It doesn't work at all because seems that you must exit from the dialog event loop to obtain PIO updating. Thanks in advance for any suggestion.
New to scripting for vectorwork, so apologies if I am asking a simple question... I am scripting a PIO that includes a collection of lights, I want to put a parameter in the OIP that works like the color picker that shows up there when inserting an individual light. Functionally I can do numerical fields to capture the RGB data but without the color picker it's a long processes to get the right color. Is there any way to put a "color" parameter in a python script so that it shows up in the OIP as a color picker button?