Imported Drawing Path

Imported Drawing Path

Anonymous
Not applicable
334 Views
0 Replies
Message 1 of 1

Imported Drawing Path

Anonymous
Not applicable
Hi,
I'm intercepting the EndCommand "INSERT", "XATTACH" events.
What I need is the path of the drawing that i'm importing in AutoCAD with this method.

example:
{code}
Private Sub AcadApplication_EndCommand(ByVal CommandName As String)

Select Case CommandName

Case "-INSERT", "INSERT", "XATTACH"
MsgBox "PATH OF THE IMPORTED FILE\DRAWING" '<------ that''s what i need

End Select

End Sub
{code}


Is intercepting that commands right?
How can I obtain that string?

Thanks,
Luca Capoferri
0 Likes
335 Views
0 Replies
Replies (0)