1 - Find is you insert block in model or paper space
2 - Ask to user insertion point. For this use acadDoc.Utility.GetPoint
3 - Insert block
dim objBlock as AcadBlockReference
objBlock = acadDoc.ModelSpace.InsertBlock(Insertion point, path + filename
block, X scale, Y scale, Z scale, Rotation angle)
ex.:
objBlock = acadDoc.ModelSpace.InsertBlock(InsPt,"c:\temp\test.dwg", 1, 1, 1,
0)
a écrit dans le message de news:
5086970@discussion.autodesk.com...
Hey Everyone!
I am trying to insert blocks from a user tool with list view into drawings.
I seem to be unable to do this on my own. I have looked at many listings
here but are still having trouble. Can anyone help? Drag and drop help
would be great too!