good morning!
i've been dealing with this for too many days. the short story: i want to take a variable that has been extracted from a block, and use it in a simple expression to get a value for changing the scale of a inserting block.
so, i extract the value from the block attribute, it is 408.908 i assign it the variable 'esta'. now i want to divide it by 50 and assign the answer to the variable 'lval' so it should be as simple as writing this code:
(setq lval'(/ esta 50))
but it does not do the math! i think it has to do with the value of 'esta' which is correct but when returned at the command line = "408.908". am i right in thinking it is the quotes that are my problem? how do i get rid of them? please help!
-sean