PPT_LOGO_4b
‹#›
© 2008 Autodesk
Autodesk Developer Network
Typically implemented for all Aec Entities
§Store physical attributes as member data
§
Styles derived from DictionaryRecord
Style dictionaries are collections derived from Dictionary
§Constructor takes one parameter – Database
§Typically expose GetStandardStyle
§Dictionary base class does all of the collection work
§Record property – collection of style ids
§NamesInUse property – collection of names
§
§
§
§
§
2a - Aec Basics.vb > TestWallStyles command
Dim dict As New DictionaryWallStyle(db)
Dim styleNames As StringCollection = dict.NamesInUse
Dim styleIds As ObjectIdCollection = dict.Records
Styles and Style Dictionaries
Create a new DictionaryWallStyle in the current database. NamesInUse gives you the used style names, and Records gives you a list of all available styles.