Jump to content
Developer Wiki and Function Reference Links ×

Dialog callback subroutines


kiwi

Recommended Posts

Anyone would share a working sample of code using a dialog callback subroutine: The PDF from NNA is more than scarce on the subject and I don't find any script or plugin (unlock) with modern dialogs that works: not even on the manual !!!

Is a shame they don't give a full working sample to compensate the little info they give to handle dialog events. We only get non matching and incomplete bits of code: Up to us to guess how make it work!

Couldn't find any on the Vector Depot...

Thanks.

Link to comment
  • 5 months later...

Yeah!...

I get the dialog builder ( http://www.nemetschek.net/support/custom/vscript/vstool.html ), had a look on http://www.nemetschek.net/support/custom/vscript/example.html .... and take a couple of tranquilizers!

Once you get over the first stage is quite easy to get good interfaces... well until you try to use resource files! but for the normal stuff is not so bad.

You will have a series of procedures (at least two):

-The dialog declaration, where you build your interface ( Define-YourDialog).

-The behavior of the dialog when you call it (Drive-YourDialog).

-Then will came your script (BEGIN-END;) where you call the procedures for the dialog

I post a couple of scripts using dialogs:

http://techboard.nemetschek.net/cgi/ubb/ultimatebb.cgi?ubb=get_topic;f=20;t=000997

http://techboard.nemetschek.net/cgi/ubb/ultimatebb.cgi?ubb=get_topic;f=21;t=000233

They use the same basic interface develop on Dialog Builder, where you can keep adding stuff or calling another procedures to get the needed data.

Link to comment

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