PDA

View Full Version : associate handle



jandres
10th Aug 2005, 06:05 pm
Hi all, I have BD access, there here the object.handle.
I handle rescue, in macro VB, now I need transfer handle at the new object for make modification, example:

Dim objLine As AcadLwPolyline

'rescue handle, the BD access
strHandle= 'handleBD'

set objLine.handle = thisdrawing.ModelSpace.Handle(strHandle)
or
objLine.Handle(strHandle)

This options not execute.
How assign the handleBD a new objLine, for make modification??, thanx!!

:cry:

SpeedCAD
12th Aug 2005, 07:12 pm
Hi all, I have BD access, there here the object.handle.
I handle rescue, in macro VB, now I need transfer handle at the new object for make modification, example:

Dim objLine As AcadLwPolyline

'rescue handle, the BD access
strHandle= 'handleBD'

set objLine.handle = thisdrawing.ModelSpace.Handle(strHandle)
or
objLine.Handle(strHandle)

This options not execute.
How assign the handleBD a new objLine, for make modification??, thanx!!

:cry:

HI...

The Handles it is add by AutoCAD, you can't add a handle...