I have a pallete button that inserts a block then a drag jig to position it. The block is first inserted at 0,0 and dragged.
The block at 0,0 remains visible while a "duplicate" block is dragged. Is there a way to hide the original?
Insert block then calling the drag jig..
AddViewBlock(New Point3d(0, 0, 0), 0, ColorIndex, trans) psr = ed.SelectLast() DragView(psr.Value, "Bar Insertion Point")
In the DragView procedure I have:
Public Sub DragView(ByVal SS As SelectionSet, ByVal sPrompt As String)
Dim ppr As PromptPointResult = ed.Drag(SS, vbLf & sPrompt, New DragCallback(AddressOf MyDragCallback))
IMHO you have to use "pure" JIG. I.e. instead of Editor.Drag(SelectionSet ...) you have to use Editor.Drag(Jig)
I want to add a line at the same time with insert block. What need I add into current code at link
Thanks for helps,
I've just found this class to insert and rotate my block. Which is exactly what I need.
Can anyone tell me how to call the BlockAttributeJig_Method within the class from the main program?