Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Listing dictionaries

3 REPLIES 3
Reply
Message 1 of 4
Anonymous
325 Views, 3 Replies

Listing dictionaries

I need a list of available dictionaries in AutoCAD. I have search the net over for such a list but have yet to find one.

I need this dictionary so I can figure out how to change an option in the checkstandards menu from the lisp routine. IE I need to be able to switch between Automatically fix all errors and not fixing automatically.

Any Ideas?

Thanks,

Mickey McClellan
www.structuraldetailing.com
3 REPLIES 3
Message 2 of 4
Anonymous
in reply to: Anonymous

?

(defun masi-dict ( doc / dict cn oname olist)

(setq dict (vla-get-dictionaries
doc ;(vla-get-ActiveDocument (vlax-get-Acad-Object))
)
)

(setq cn (vla-get-count dict))
(if (> cn 0)(setq cn (1- cn)))
(while (> cn 0)
(if (vlax-property-available-p (vla-item dict cn) 'name)
(progn
(setq oname (vla-get-name (vla-item dict cn))
olist (cons oname olist)
)

)

)
(setq cn (1- cn))
)

(reverse olist)
)
wrote in message news:5051226@discussion.autodesk.com...
I need a list of available dictionaries in AutoCAD. I have search the net
over for such a list but have yet to find one.

I need this dictionary so I can figure out how to change an option in the
checkstandards menu from the lisp routine. IE I need to be able to switch
between Automatically fix all errors and not fixing automatically.

Any Ideas?

Thanks,

Mickey McClellan
www.structuraldetailing.com
Message 3 of 4
Anonymous
in reply to: Anonymous

See this post, or search for 'List of Dictionaries"..
http://discussion.autodesk.com/thread.jspa?messageID=1115560
See last post by Luis.
Bob
Message 4 of 4
Anonymous
in reply to: Anonymous

THANKS!
That is exactly what I was looking for. Only problem is it didn't find what I was looking for. At least not there. The Automatically fix problems option is stored in the registry. I found it and can change it.. but for some reason when I change to auto fix, check the standards, change it back to manual fix, and check the standards again. It stays in Autofix mode. I verified the Dword registry setting is going back to 0 for manual fix. but it doesn't update in Auto cad. Any Ideas?

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost