AutoCAD Architecture Customization
Welcome to Autodesk’s AutoCAD Architecture Customization Forums. Share your knowledge, ask questions, and explore popular AutoCAD Architecture Customization topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to get a list of Schedule Style defined in the drawing?

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
mdhutchinson
819 Views, 2 Replies

How to get a list of Schedule Style defined in the drawing?

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"                 
         )
)

2 REPLIES 2
Message 2 of 3
Keith.Brown
in reply to: mdhutchinson

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

 

http://forums.autodesk.com/t5/Visual-LISP-AutoLISP-and-General/Named-object-Dictionaries/td-p/214825...

 

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.

Message 3 of 3
Keith.Brown
in reply to: Keith.Brown

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

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

Post to forums  

Autodesk Design & Make Report

”Boost