Message 1 of 3
finding a handle acad2000

Not applicable
05-27-2005
08:31 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
all
If I have an entity's handle I can turn it into an object....
Sub makeobject()
Dim Obj As AcadObject
the_handle = "4E"
Set Obj = ThisDrawing.HandleToObject(the_handle)
End Sub
The presupposes that I know the handl is 4E. However if I use sendcommand
or a script to draw an entity, how do I then query through VBA for its
assigned handle in Acad2000?
Also, do handles persist after a sequence of dxfout then dxfin?
rex
If I have an entity's handle I can turn it into an object....
Sub makeobject()
Dim Obj As AcadObject
the_handle = "4E"
Set Obj = ThisDrawing.HandleToObject(the_handle)
End Sub
The presupposes that I know the handl is 4E. However if I use sendcommand
or a script to draw an entity, how do I then query through VBA for its
assigned handle in Acad2000?
Also, do handles persist after a sequence of dxfout then dxfin?
rex