Message 1 of 2
InsertBlock method
Not applicable
01-04-2005
11:42 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
When I use Insertblock method i'm getting this
Command: Duplicate definition of block ADCADD_ZZ ignored.
Duplicate definition of block _ArchTick ignored.
At command line. I dont want to show above text at command line. is any
code that not show above text when you run this code?
Sub Example_InsertBlock()
Dim insertionPnt(0 To 2) As Double
insertionPnt(0) = 0#: insertionPnt(1) = 0#: insertionPnt(2) = 0#
' Insert the block
Dim blockRefObj As AcadBlockReference
insertionPnt(0) = 2#: insertionPnt(1) = 2#: insertionPnt(2) = 0
Set blockRefObj = ThisDrawing.ModelSpace.InsertBlock(insertionPnt,
"p:\drivename\test.dwg", 1#, 1#, 1#, 0)
End Sub
Thank you for you help.