I have the below code where by I can gain access to property sets.
But it doesn't look like the Schedule Styles are there.
How can I change this up to get access to Schedule Styles defined in the drawing?
(setq acadObj (vlax-get-acad-object)
schedApp (vla-getInterfaceObject
acadObj
"AecX.AecScheduleApplication.7.0"
)
)
Solved! Go to Solution.
Solved by Keith.Brown. Go to Solution.
All the styles for an AEC and AECB type drawing are located in the Named Object Dictionary of a drawing database. You can find all of the property sets under the AEC_PROPERTY_SETS_DEFS. In this dictionary there is a list of all of the property sets in a drawing. I am not familiar with LISP but I believe you are using another method to get this list. They same list can be found for Schedules under the AEC_SCHEDULE_TABLE_STYLES Named Object Dictionary.
These links might be of help
http://www.afralisp.net/autolisp/tutorials/dictionaries-and-xrecords.php
and you can always find your answer at The Swamp on the LISP board. There are many LISP coders at that board that can answer just about any question.
I thought i might add that if you download the AutodeskMGDDBG application from this link. It will allow you to "snoop" an object or a database and see all of the named object dictionaries in the drawing.
You can view this webpage to download the file instead of the direct link above if you prefer.
http://adndevblog.typepad.com/autocad/2012/04/dwg-debugger-mgddbg-app-for-autocad-20122013.html