Share

SketchOptions Object


Description

The SketchOptions object provides access to properties that provide read and write access of the 2D sketch related application options. This is somewhat equivalent to the 2D Sketch portion on the Sketch tab of the Application Options dialog.

Properties

Name Description
Application Returns the top-level parent application object. When used the context of Inventor, an Application object is returned. When used in the context of Apprentice, an ApprenticeServer object is returned.
AutomaticReferenceEdges Gets/sets the capability to automatically project edges of the selected face onto the sketch plane as reference geometry, when creating a new sketch.
AutoProjectEdges Gets/sets the capability to select and project existing geometry to the current sketch by rubbing existing lines.
AutoProjectPartOrigin Enables/disables projecting the part origin onto a sketch when the sketch is created.
AutoScaleSketchGeometriesOnInitialDimension Enables/disables whether to auto scale sketch geometries on initial dimension.
ConstraintToolbarScale Gets/sets the scale for the size of the constraint toolbars with respect to the graphics window.
DisplayAxes Enables/disables the display of the sketch plane axes.
DisplayCoordinateSystemIndicator Enables/disables the display of the sketch plane coordinate system indicator (triad).
DisplayGridLines Enables/disables the display of the sketch plane grid lines.
DisplayMinorGridLines Enables/disables the display of minor sketch plane grid lines.
HeadsUpDisplayOptions Property that returns the HeadsUpDisplayOptions object. The HeadsUpDisplayOptions object provides access to various heads-up display related application level options for sketches.
ImageInsertionLINKOptionCheckedAsDefault Gets/sets the default option for LINK when attaching image.
ParallelViewOnSketchCreationInAssembly Enables/disables whether the view is automatically reoriented to be planar to the screen in assembly environment.
ParallelViewOnSketchCreationInPart Enables/disables whether the view is automatically reoriented to be planar to the screen in part environment.
PointAlignment Gets/sets whether to infer alignment between endpoints of newly created geometry and points of existing geometry.
ProjectObjectsAsConstructionGeometry Enables/disables whether project objects as construction geometry.
SketchConstraintSettings Returns the SketchConstraintSettings object.
SnapToGrid Enables/disables the snap behavior for sketching tasks.
SplineDefaultTension Gets/sets the default tension for splines in 2d sketches.
SplineFitMethod Gets/sets the default fit method for splines in 2d sketches.
Type Returns an ObjectTypeEnum indicating this object's type.

Accessed From

Application.SketchOptions, HeadsUpDisplayOptions.Parent, InventorServer.SketchOptions, InventorServerObject.SketchOptions, SketchConstraintSettings.Parent

Version

Introduced in version 9

Was this information helpful?