A singleton object representing the Engine editing environment.
[C#]
private void ChangeSketchSymbol()
{
//Get Engine Editor
IEngineEditProperties engineEditor=new EngineEditorClass();
//Create a line symbol
ILineSymbol lineSymbol=new SimpleLineSymbolClass();
IRgbColor rgbColor=new RgbColorClass();
rgbColor.Red=255;
lineSymbol.Color=rgbColor;
//Change the sketch symbol to use a red line
engineEditor.SketchSymbol=lineSymbol;
}
[Visual Basic .NET]
Public Sub ChangeSketchSymbol()
'Get Engine EditorDim engineEditor As IEngineEditProperties=New EngineEditorClass
'Create a line symbolDim lineSymbol As ILineSymbol=New SimpleLineSymbolClass
Dim rgbColor As IRgbColor=New RgbColorClass
rgbColor.Red=255
lineSymbol.Color=rgbColor
'Change the sketch symbol to use a red line
engineEditor.SketchSymbol=lineSymbol
End Sub