- (eq "[color=Red]POINT[/color]" (cdr (assoc 0 (entget x))))
and EffectiveName to Coordinates and is creating label with coordinates of selected point
Now...
as you know there are some 'parameters' in
AcObjProp Object(%%).coordinates \f "%lu2%pr1">%
responsible for units, precision and other stuff...
Is there any way (and by any way I mean simply to understand, edit, change for other type i.e. from %pr to %tu)
to add some options for user to sett, as you did for lisp about hatches on top of this post.
I've tried to copy some code to this lisp to ask user to declare units and precision... of course without success.
So as you did with this code- I was able to understand most of it and change it so is picking different object and returning different value...
So let say for point coordinates, I want user to declare units and precision, so %lu and %pr but later I'll create other lisp (copy) and ask user to declare suffix %ps for length value of selected pline. I would like to know what to change and where (do I have to declare different variable for different stuff?) to be able to do that.
Would it be possible to add this option to code, please?
I've done some programming in c++ years ago on uni, but I can't remember much. But at least I can understand some of your code instead of asking you every single time for new stuff.
Sorry for all those problems, but it's great to learn something from you!