Jump to content
Sign in to follow this  
dirlep

X Y values in dialogs

Recommended Posts

Anyone, I'm at a dead end here.

My scripts used to work with PtDialog to determine my 'X' and 'Y' co?rdinates.

In order to let the script draw a line or an polygone

MoveTo(0,1);LineTo(x1,1);

or

Poly(0,0,200,0,200,15,0,15,0,0);

, I just let the script ask repeatedly every X and Y value needed.

This could come out rather annoying, I could have up to 5 PtDialogs popping up in that same script.

I now discoverd the better kind of Dialog,

dialogID := CreateLayout

, where I can ask in just one Dialog field more X and Y values.

but to let de Line and Polygone rules react to de input it seems that I need some other type of line.

Is there anyone who can put me on the right track, keeping in mind that I'm not a programmer, more like a novice who teaches himself the wonder of VWscripting.

Thanks.

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.

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.

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