Einsener12 Posted August 23, 2012 Posted August 23, 2012 Hi! Sys. variable "CANNOSCALEVALUE" gives the current annotation value. For ex: 1:100, 1:20 aso. it's e real nr like 0.01 and 0.05. But how can i find the nr 100 or 20 out of this variable so i could use this nr to multiply it in my routine. For example i have some object that i need to scale 100 time or 20. Thanks! M Quote
MSasu Posted August 23, 2012 Posted August 23, 2012 The said system variable (CANNOSCALEVALUE) is a real number, so can be used directly in calculations. If I misread you post, and you are looking in fact to display the current value, then try the code below (for metric environment): (strcat "1:" (itoa (fix (/ 1 (getvar "CANNOSCALEVALUE"))))) Quote
Einsener12 Posted August 23, 2012 Author Posted August 23, 2012 Silly me This (/1 (getvar "cannoscalevalue")) will solve the problem. Silly me Quote
Lee Mac Posted August 23, 2012 Posted August 23, 2012 Einsener, How did you get on with my challenge? Quote
Einsener12 Posted August 23, 2012 Author Posted August 23, 2012 Ok, it seems that i have to find a bit different way. Many users have replied that already:) I'll try a bit different then. Quote
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.