.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Need some help pulling the property out of objects.

3 REPLIES 3
Reply
Message 1 of 4
junoj
748 Views, 3 Replies

Need some help pulling the property out of objects.

I would like to iterate all entity in Block and display the type of the object. For example: LINE, BLOCK REFERENCE, LWPOLYLINE, TEXT . . . .

 

I currently have:

 

For Each Ent as ObjectId In CurrBTR
    Debug.pring (Ent  . . . .)
Next

 

 

 

3 REPLIES 3
Message 2 of 4
hgasty1001
in reply to: junoj

Hi,

 

May be it's an overkill but a good place to look at it's the MgdDbg tool's source code it have a *lot* of utils to snoop and inspect the dwg database, you can download it from here: Some Tools

 

Gaston Nunez

Message 3 of 4
junoj
in reply to: hgasty1001

thak you, got it

Message 4 of 4
junoj
in reply to: junoj

the answer was CType

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

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost