marc wittwer Posted December 18, 2002 Share Posted December 18, 2002 hi nna, could you tell me, why the following script don't show me the text size of the dimension. where is my "error". or is it a bug in the call? thanks for your answer! the script: Procedure VariableLesen; ? CONST ?Selector = 17; ? VAR ?OldFSize:Integer; ?FirstSelHd : Handle; ? BEGIN ? FirstSelHd := FSActLayer; OldFSize := GetObjectVariableInt(FirstSelHd, Selector); Message (OldFSize); ? END; ? RUN(VariableLesen); Quote Link to comment
Guest Posted December 19, 2002 Share Posted December 19, 2002 There is a problem with GetObjectVariableInt(17) which will be addressed in a future version of VectorWorks. Sorry for the inconvenience. Quote Link to comment
marc wittwer Posted December 27, 2002 Author Share Posted December 27, 2002 hi jeff, thanks for your answer. if the script is written with "GetObjectVariableReal" then the result ist "correct". the result must be multiply with 0.0567 to have the textdimension in points. do you know why it must multiply with this digit? another question: could it be possible, that "SetObjectVariableReal" is shown in a messeagedialog on the screen? thanks for this great tech board! greetings, marc here's the script: Procedure VariableLesen; ? CONST ?Selector = 17; ? VAR ?OldFSize:Real; ?FirstSelHd : Handle; ? BEGIN ? FirstSelHd := FSActLayer; OldFSize := GetObjectVariableReal(FirstSelHd, Selector); Message (OldFSize); ? END; ? RUN(VariableLesen); 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.