VBA
Discuss AutoCAD ActiveX and VBA (Visual Basic for Applications) questions here.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Distinguishing Between Xrecords and Dictionaries

1 REPLY 1
Reply
Message 1 of 2
Anonymous
154 Views, 1 Reply

Distinguishing Between Xrecords and Dictionaries

Once I have a dictionary object I see where I can find all Xrecords attached
to a dictionary by the following:

For i = 0 To oDict.Count - 1
Set oXrec = oDict.Item(i)
oXrec.GetXRecordData XrecType, XrecData
'Do something with the Xrecord here
Next i

How do I find all dictionaries within a certain dictionary? If there are
both Xrecords and dictionaries attached to the same dictionary how are these
distinguished from one to another?

Thanks.

Chris
1 REPLY 1
Message 2 of 2
Bryco
in reply to: Anonymous

If TypeOf oDict Is AcadXRecord Then

If TypeOf oDict Is AcadDictionary Then

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

Post to forums  

Autodesk Design & Make Report

”Boost