Sam Jones Posted November 23, 2017 Share Posted November 23, 2017 Is there a way one can find out what structural (weight) units a user has picked for a drawing? I imagine that it is a GetPref() call, but I can't find it. Hopefully it exists. Additionally, does anyone know what metric units VW uses to store weight? TIA, Sam Quote Link to comment
JBenghiat Posted November 28, 2017 Share Posted November 28, 2017 Unlike distance, mass isn't a value stored natively in VW. All mass storage is via text field, which includes units. Commands in the API convert between the text field and real numbers. Look at the Mass commands in http://developer.vectorworks.net/index.php/VS:Function_Reference#Truss_Analysis. The discreet mass units settings aren't exposed to VS. Quote Link to comment
Sam Jones Posted November 28, 2017 Author Share Posted November 28, 2017 I am under the impression that VW stores mass internally as Kilograms, and that it uses the mass unit settings to determine how to display mass. It is a shame that those mass settings are not available to VS, since there are many simple arithmetic scripts and worksheets that could be constructed if they were. Quote Link to comment
Recommended Posts
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.