Message 1 of 5
Selecting the insert point of a block in vba

Not applicable
12-23-2001
01:11 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have managed to work out the inserting of a block using:
Dim insertionPnt(0 To 2) As Double
Dim blockRefObj As AcadBlockReference
Set blockRefObj = ThisDrawing.ModelSpace.InsertBlock(insertionPnt, "c:\windows\dv1a.dwg", 1#, 1#, 1#, 0)
ZoomAll
but I want to allow the user to click the screen for the location. Any help would be appreciated.
cheers
Richard
Dim insertionPnt(0 To 2) As Double
Dim blockRefObj As AcadBlockReference
Set blockRefObj = ThisDrawing.ModelSpace.InsertBlock(insertionPnt, "c:\windows\dv1a.dwg", 1#, 1#, 1#, 0)
ZoomAll
but I want to allow the user to click the screen for the location. Any help would be appreciated.
cheers
Richard