acitano
Guest
I'm doing a visual lisp program for autocad architecture 2010, I know the autolisp well and I'm starting now with the visual lisp. I have seen there are many more possibilities in vl : you can explore objects the entities of autocad activex libraries etc., but I can't explore the values of architecture preferences. I can explain a little better to pass to my program the value of unit of measurement present in the panel
options->aec size-> unit of measurement e.g. meters, centimeters, inches; where is this data saved? Is there a system variable? a variable dedicated only to architecture? where are the values of the options tabs like aec ...?
the other type "file" "view" "open and save" etc. I managed to find them and are in the collections of the preferences:
(setq oacad (vlax-get-acad-object)
odoc (vla-get-activedocument oacad)
opref (vla-get-preferences odoc)
)
I hope I've been clear
hello to all and thanks
options->aec size-> unit of measurement e.g. meters, centimeters, inches; where is this data saved? Is there a system variable? a variable dedicated only to architecture? where are the values of the options tabs like aec ...?
the other type "file" "view" "open and save" etc. I managed to find them and are in the collections of the preferences:
(setq oacad (vlax-get-acad-object)
odoc (vla-get-activedocument oacad)
opref (vla-get-preferences odoc)
)
I hope I've been clear
hello to all and thanks