bcd Posted June 27, 2024 Share Posted June 27, 2024 (edited) What's the function to report the Scale of an asymmetrically scaled Symbol in a worksheet please? Edited June 27, 2024 by bcd Quote Link to comment
Popular Post Tom W. Posted June 27, 2024 Popular Post Share Posted June 27, 2024 =OBJECTDATA('OBJECT VARIABLE', 102) for x 103 for y 104 for z 6 Quote Link to comment
bcd Posted June 27, 2024 Author Share Posted June 27, 2024 Excellent, thanks @Tom W. Quote Link to comment
bob cleaver Posted June 28, 2024 Share Posted June 28, 2024 I am curious why this data is needed for a worksheet. Is the scale for the objects an 'in house' info or for another purpose ? Quote Link to comment
Tom W. Posted June 28, 2024 Share Posted June 28, 2024 33 minutes ago, bob cleaver said: I am curious why this data is needed for a worksheet. Is the scale for the objects an 'in house' info or for another purpose ? I have various 'scalable' symbols for example a plinth or cornice for my kitchens. The symbol geometry is 1m long + I can use the scaling factor to report on the scaled length e.g. if I scale it by a factor of 2.1 it will be 2.1m long. 1 Quote Link to comment
Tom W. Posted June 28, 2024 Share Posted June 28, 2024 The symbol becomes a poor man's PIO 😀 2 Quote Link to comment
bcd Posted June 28, 2024 Author Share Posted June 28, 2024 3 hours ago, bob cleaver said: I am curious why this data is needed for a worksheet. Is the scale for the objects an 'in house' info or for another purpose ? Yes, it's in-house. Basically I'm doing layout planning - where a multiple unit squares can be scaled to accurately represent rectangular areas. 3 hours ago, Tom W. said: The symbol becomes a poor man's PIO 😀 Haha! Yes, and oftentimes, simpler is better. 1 Quote Link to comment
bcd Posted July 1, 2024 Author Share Posted July 1, 2024 On 6/27/2024 at 1:29 PM, Tom W. said: =OBJECTDATA('OBJECT VARIABLE', 102) for x 103 for y 104 for z I'm really curious. Where did you find this? I'm searching the https://developer.vectorworks.net/index.php?title=Worksheet_Functions and so far am coming up blank. Quote Link to comment
MullinRJ Posted July 2, 2024 Share Posted July 2, 2024 (edited) @bcd, Check the SDK. Download from the same page as the Beta Apps, if necessary. Once downloaded and unzipped, look in this path. SDKVW 29.0.5 (757604)/SDKLib/Include/Kernel/API/ProgramVariables.h This file holds all of the VW Preference numbers and their descriptions. This is as good as it gets. Sometimes, if the description doesn't float your boat, a little testing will clear things up a bit. Another file in the same directory, ObjectVariables.h, holds all of the ObjectVariable indices, also with short descriptions. Happy Sleuthing, Raymond Edited July 2, 2024 by MullinRJ Quote Link to comment
Pat Stanford Posted July 2, 2024 Share Posted July 2, 2024 Vectorscript Appendix Quote Link to comment
MullinRJ Posted July 2, 2024 Share Posted July 2, 2024 I figured Pat would have a simpler answer. Thanks, Pat. 😉 Quote Link to comment
Pat Stanford Posted July 2, 2024 Share Posted July 2, 2024 Specifically (now that I can actually look at the documentation, Appendix G - Object Selectors, section on Symbols. Quote Link to comment
bcd Posted July 2, 2024 Author Share Posted July 2, 2024 Thanks @Pat Stanford & @MullinRJ and for anyone else looking @ this here's the link https://developer.vectorworks.net/index.php?title=VS:Function_Reference_Appendix_G#Symbols 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.