Jump to content

making a universal PIO


Recommended Posts

We go back & forth between the two systems all the time and all we do is type the either inches ( " ) or millimetres ( mm ) after the integer.

For example: My Document preference is set to millimetres. I want to mandate a

7 7/8" tread rise maximum in my Stair PIO. I would type 7 7/8" (or 7.825") .

Works the other way too. Need to mandate a handrail extension to 300 mm on an imperial drawing? Type 300mm & VW will make the conversion.

BTW, I have two custom Dimensions that call out my secondary (Imperial) dimensions so I can issue some clarifications to trades who are more comfortable working in Imperial. This can work the other way around if one sets their Secondary Units to millimetres.

Link to comment

Thanks Jim,

I am familiar with the flexibility of VW to use either 20" or 20mm as a way of inputting distances within VW, but what I'm looking for is for vectorscripting within a PIO script. If the script calculates something at 18", but the user is working in meters the PIO fails to operate correctly. I thought I remembered a document that explains this but I can't seen to find it.

I hope someone out there can help.

Link to comment
  • Vectorworks, Inc Employee

Post over in the Vectoscript Forum, you will get a lot more help there.

There are calls to get document units, dialog controls and other calls that automatically take document units and unit marks into consideration.

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