Corey A. Layton wrote:
> willing to share?
my issue is:
the Extension Dictionary that I wish to access
is nested in a DBDictionaryEntry;
and this type has no 'ExtensionDictionary' property,
like a DBDictionary does...
so,
how to get there?
below is an example of how it's done in VBA:
(returns the "AEC_OVERRIDES" extension dictionary from the
"MyCustomWallStyle" AEC Wall Style Definition)
Dim MyObjectRXClass as String
MyObjectRXClass = "AEC_WALL_STYLES"
Set AllDictionaries = ThisDrawing.Dictionaries
Set ClassDictionary = AllDictionaries.Item(MyObjectRXClass)
Dim MyStyleName as String
MyStyleName = "MyCustomWallStyle"
Dim DictRecord As AecDictRecord
Set DictRecord = ClassDictionary.Item(MyStyleName)
Dim ExtDictionary As AcadDictionary
Set ExtDictionary =
DictRecord.GetExtensionDictionary.Item("AEC_OVERRIDES")
I know that I could use an Interop and get there via COM;
but I want it in VB.NET.