Hi folks,
is it possible to create points (lines, rectangles, et.c) with an addin silently? The property for the sketch always pops up and replaces my custom property page. That's bad.
I tried the following code, but something is missing. (C#)
public void CreatePointSilent() { IModelDoc2 modDoc; modDoc = iSwApp.ActiveDoc as ModelDoc2; modDoc.InsertSketch2(false); ISketchPoint sp1 = modDoc.CreatePoint2(0.05, 0, 0) as SketchPoint; sp1.DeSelect(); } There must be a way... Any advice would be great. Thank you