- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi, I am currently working on a program that will insert Sketched symbols on a drawing sheet.
I would like my program to behave like the manual Insert Sketch symbol tool and allow the user to drag the symbol to it's final position but the api Add method requires an insertion point and I didn't find any Move or Drag method that would allow my program to initiate the Move command and let the user to select the final position with the sketched symbol attached to the cursor.
I am looking for a code sample for Dragging sketched symbols
Any idea ?
'vba code sample:
'Insert the sketched symbol on the active sheet.
Dim thissymbol As SketchedSymbol
Set thissymbol = oDwg.ActiveSheet.SketchedSymbols.Add("mySymbol", oTG.CreatePoint2d(0, 0))
Best regards,
Benoit Larocque
Solved! Go to Solution.