Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Get/set custom drawing properties via vba 1

Status
Not open for further replies.

RussellGant

Programmer
Oct 17, 2002
2
GB
Hi,

Does anyone know if it is possible to programatically access the custom properties of a drawing within AutoCAD Map 6 using VBA code?

I'd like to be able to get and set a value in custom properties that I can use as a key in a database.

Thanks,
Russell Gant.
 
Map 6 = acad 2002? I do believe. The Drawing Properties are in a dictionary named 'DWGPROPS'. For 2004 there is a new object called 'SummaryInfo' that contains the information. I don't have access to acad at the moment but that should get you started.

Scott
 
Thankyou LochDhu, that's very useful, should put me on the right track!

Cheers,
Russell.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top