Welcome
Getting Started
SolidWorks API Help
Functional Categories
Release Notes
SolidWorks.Interop.sldworks Namespace
Overview
Interfaces
IAdvancedSelectionCriteria
IAnnotation
IAnnotationView
IAppearanceSetting
IAssemblyDoc
IAttribute
IAttributeDef
IAutoBalloonOptions
IBalloonOptions
IBalloonStack
IBaseFlangeFeatureData
IBendsFeatureData
IBendTable
IBendTableAnnotation
IBody2
IBodyFolder
IBomFeature
IBomTable
IBomTableAnnotation
IBomTableSortData
IBreakCornerFeatureData
IBreakLine
IBrokenOutSectionFeatureData
IBSurfParamData
ICallout
ICamera
ICavityFeatureData
ICenterLine
ICenterMark
IChamferFeatureData2
ICircularPatternFeatureData
IClosedCornerFeatureData
ICoEdge
IColorTable
ICombineBodiesFeatureData
ICommandGroup
ICommandManager
ICommandTab
ICommandTabBox
IComment
ICommentFolder
IComponent2
ICompositeCurveFeatureData
IConfiguration
IConfigurationManager
IConnectionPointFeatureData
ICoordinateSystemFeatureData
ICoreFeatureData
ICosmeticThreadFeatureData
ICThread
ICurve
ICurveDrivenPatternFeatureData
ICurveParamData
ICustomBendAllowance
ICustomPropertyManager
IDatumOrigin
IDatumTag
IDatumTargetSym
IDecal
IDeleteBodyFeatureData
IDeleteFaceFeatureData
IDerivedPartFeatureData
IDerivedPatternFeatureData
IDesignTable
IDetailCircle
IDiagnoseResult
IDimension
IDimensionSensorData
IDimensionTolerance
IDimXpertManager
IDisplayData
IDisplayDimension
IDisplayStateSetting
IDocumentSpecification
IDomeFeatureData2
IDowelSymbol
IDraftFeatureData2
IDragArrowManipulator
IDragOperator
IDrawingComponent
IDrawingDoc
IDrSection
IEdge
IEdgeFlangeFeatureData
IEdgePoint
IEndCapFeatureData
IEntity
IEnumBodies2
IEnumCoEdges
IEnumComponents2
IEnumDisplayDimensions
IEnumDocuments2
IEnumDrSections
IEnumEdges
IEnumFaces2
IEnumLoops2
IEnumModelViews
IEnumSketchHatches
IEnumSketchPoints
IEnumSketchSegments
IEnvironment
IEquationMgr
IExplodeStep
IExportPdfData
IExtrudeFeatureData2
IFace2
IFaceDecalProperties
IFaceHatch
IFaultEntity
IFeatMgrView
IFeature
IFeatureFolder
IFeatureManager
IFeatureStatistics
IFillSurfaceFeatureData
IFlatPatternFeatureData
IFlyoutGroup
IFoldsFeatureData
IFrame
IFreePointCurveFeatureData
IGeneralTableAnnotation
IGeneralTableFeature
IGtol
IGussetFeatureData
IHealEdgesFeatureData
IHelixFeatureData
IHemFeatureData
IHoleSeriesFeatureData
IHoleTable
IHoleTableAnnotation
IImportDxfDwgData
IImportedCurveFeatureData
IImportIgesData
IImportStepData
IInterference
IInterferenceDetectionMgr
IJogFeatureData
IJoinFeatureData
ILayer
ILayerMgr
ILibraryFeatureData
ILight
ILightDialog
ILinearPatternFeatureData
ILocalCircularPatternFeatureData
ILocalLinearPatternFeatureData
ILoftedBendsFeatureData
ILoftFeatureData
ILoop2
IMacroFeatureData
IMagneticLine
IManipulator
IMassProperty
IMate2
IMateEntity2
IMateInPlace
IMateLoadReference
IMateReference
IMaterialVisualPropertiesData
IMathPoint
IMathTransform
IMathUtility
IMathVector
IMeasure
IMidSurface3
IMirrorPatternFeatureData
IMirrorSolidFeatureData
IMiterFlangeFeatureData
IModelDoc2
IModelDocExtension
IModeler
IModelView
IModelViewManager
IModelWindow
IMotionPlotAxisFeatureData
IMotionPlotFeatureData
IMouse
IMoveCopyBodyFeatureData
IMoveFaceFeatureData
IMultiJogLeader
INote
IOneBendFeatureData
IPackAndGo
IPageSetup
IParameter
IPartDoc
IPartingLineFeatureData
IPartingSurfaceFeatureData
IPlaneManipulator
IPrint3DDialog
IProjectionArrow
IProjectionCurveFeatureData
IPropertyManagerPage2
IPropertyManagerPageActiveX
IPropertyManagerPageBitmap
IPropertyManagerPageBitmapButton
IPropertyManagerPageButton
IPropertyManagerPageCheckbox
IPropertyManagerPageCombobox
IPropertyManagerPageControl
IPropertyManagerPageGroup
IPropertyManagerPageLabel
IPropertyManagerPageListbox
IPropertyManagerPageNumberbox
IPropertyManagerPageOption
IPropertyManagerPageSelectionbox
IPropertyManagerPageSlider
IPropertyManagerPageTab
IPropertyManagerPageTextbox
IPropertyManagerPageWindowFromHandle
IPunchTable
IPunchTableAnnotation
IRayTraceRenderer
IRayTraceRendererOptions
IRefAxis
IRefAxisFeatureData
IReferenceCurve
IReferencePointCurveFeatureData
IRefPlane
IRefPlaneFeatureData
IRefPoint
IRefPointFeatureData
IRenderMaterial
IReplaceFaceFeatureData
IRevisionTableAnnotation
IRevisionTableFeature
IRevolveFeatureData2
IRibFeatureData2
IRipFeatureData
IRoutingSettings
IRuledSurfaceFeatureData
ISaveBodyFeatureData
IScaleFeatureData
ISectionViewData
ISelectData
ISelectionMgr
ISensor
ISFSymbol
ISheet
ISheetMetalFeatureData
IShellFeatureData
IShutOffSurfaceFeatureData
ISilhouetteEdge
ISimpleFilletFeatureData2
ISimpleHoleFeatureData2
ISimulation3DContactFeatureData
ISimulationDamperFeatureData
ISimulationForceFeatureData
ISimulationGravityFeatureData
ISimulationMotorFeatureData
ISimulationSpringFeatureData
ISketch
Members
ISketchArc
ISketchBlockDefinition
ISketchBlockInstance
ISketchContour
ISketchedBendFeatureData
ISketchEllipse
ISketchHatch
ISketchLine
ISketchManager
ISketchParabola
ISketchPath
ISketchPatternFeatureData
ISketchPicture
ISketchPoint
ISketchRegion
ISketchRelation
ISketchRelationManager
ISketchSegment
ISketchSlot
ISketchSpline
ISketchText
ISldWorks
ISmartComponentFeatureData
ISnapShot
ISplineHandle
ISplineParamData
ISplitBodyFeatureData
ISplitLineFeatureData
ISpring
IStackedBalloonOptions
IStatusBarPane
IStructuralMemberFeatureData
IStructuralMemberGroup
ISurface
ISurfaceCutFeatureData
ISurfaceExtendFeatureData
ISurfaceKnitFeatureData
ISurfaceOffsetFeatureData
ISurfaceParameterizationData
ISurfacePlanarFeatureData
ISurfaceRadiateFeatureData
ISurfaceTrimFeatureData
ISurfExtrudeFeatureData
ISurfRevolveFeatureData
ISweepFeatureData
ISwOLEObject
ISWPropertySheet
ITableAnchor
ITableAnnotation
ITablePatternFeatureData
ITaskpaneView
ITessellation
ITextFormat
ITexture
IThickenFeatureData
ITitleBlock
ITitleBlockTableAnnotation
ITitleBlockTableFeature
IToolingSplitFeatureData
ITreeControlItem
ITriadManipulator
IUserProgressBar
IUserUnit
IVariableFilletFeatureData2
IVertex
IView
IWeldBead
IWeldmentBeadFeatureData
IWeldmentCutListAnnotation
IWeldmentCutListFeature
IWeldmentTrimExtendFeatureData
IWeldSymbol
IWizardHoleFeatureData2
IWrapSketchFeatureData
SolidWorks.Interop.swmotionstudy Namespace
SolidWorks.Interop.swdimxpert Namespace
SolidWorks.Interop.swpublished Namespace
SolidWorks.Interop.sw3dprinter Namespace
SolidWorks.Interop.dsgnchk Namespace
SolidWorks.Interop.swhtmlcontrol Namespace
SolidWorks.Interop.swconst Namespace
SolidWorks.Interop.swcommands Namespace
FeatureWorks API Help
SolidWorks Document Manager API Help
eDrawings API Help
SolidWorks Routing API Help
SolidWorks Simulation API Help
SolidWorks Utilities API Help
SolidWorks Workgroup PDM API Help
Hide Table of Contents Show Table of Contents
ISketch Interface Members

The following tables list the members exposed by ISketch.

Public Properties

 NameDescription
 PropertyIModelToSketchXformObsolete. Superseded by ISketch::ModelToSketchTransform.

NOTE: This property is a get-only property. Set is not implemented.   

 PropertyModelToSketchTransformGets the model-to-sketch transform for this sketch.

NOTE: This property is a get-only property. Set is not implemented.   

 PropertyModelToSketchXformObsolete. Superseded by ISketch::ModelToSketchTransform.

NOTE: This property is a get-only property. Set is not implemented.   

 PropertyRelationManagerGets the sketch relation manager.

NOTE: This property is a get-only property. Set is not implemented.   

Top

Public Methods

 NameDescription
 MethodAutoDimensionObsolete. Superseded by ISketch::AutoDimension2.  
 MethodAutoDimension2Obsolete. Superseded by ISketchManager::FullyDefineSketch.  
 MethodCheckFeatureUseChecks to see if this sketch is valid for use in creating a specified feature.  
 MethodConstrainAllAttempts to solve all of the apparent relations in the sketch and returns the number
of constraints that were added to the sketch.  
 MethodGetArcCountGets the number of arcs in the sketch.  
 MethodGetArcsObsolete. Superseded by ISketch::GetArcs2 and ISketch::IGetArcs2.  
 MethodGetArcs2Gets all of the arcs in the sketch.  
 MethodGetAutomaticSolveChecks whether the computation to solve the sketch geometry of the part as modifications are automatically performed.  
 MethodGetConstrainedStatusGets the current constrained status of the sketch.  
 MethodGetContourEdgeCountGets the number of edges for this sketch contour.  
 MethodGetContourEdgesGets the edges for a sketch that has one contour.  
 MethodGetDetachSegmentOnDragGets the Detach Segment on Drag setting.  
 MethodGetEllipseCountGets the number of ellipses in the sketch.  
 MethodGetEllipsesObsolete. Superseded by ISketch::GetEllipses3 and ISketch::IGetEllipses3.  
 MethodGetEllipses2Obsolete. Superseded by ISketch::GetEllipses3 and ISketch::IGetEllipses3.  
 MethodGetEllipses3Gets all of the ellipses in the sketch.  
 MethodGetLineCountObsolete. Superseded by ISketch::GetLineCount2.  
 MethodGetLineCount2Gets the number of lines in the sketch with an option to exclude or include crosshatch lines.  
 MethodGetLinesObsolete. Superseded by ISketch::GetLines2 and ISketch::IGetLines2.  
 MethodGetLines2Gets all of the lines in the sketch with an option to include or exclude crosshatch lines.  
 MethodGetParabolaCountGets the number of parabolas in the sketch.  
 MethodGetParabolasObsolete. Superseded by ISketch::GetParabolas2 and ISketch::IGetParabolas2.  
 MethodGetParabolas2Gets all of the parabolas in the sketch.  
 MethodGetPolyLineCountGets the number of polylines in this sketch.  
 MethodGetPolylinesGets the polylines in this sketch.  
 MethodGetReferenceEntityGets the entity on which this sketch was created.  
 MethodGetSketchBlockInstanceCountGets the number of block instances in this sketch (i.e., the sketch under which the block instances are displayed in the FeatureManager design tree).  
 MethodGetSketchBlockInstancesGets the block instances in this sketch (i.e., the sketch under which the block instances are displayed in the FeatureManager design tree).  
 MethodGetSketchContourCountGets the number of sketch contours in this sketch.  
 MethodGetSketchContoursGets the sketch contours in this sketch.  
 MethodGetSketchHatchesGets an array of  sketch hatches that exist in this sketch.  
 MethodGetSketchPathCountGets the number of sketch paths in this sketch.  
 MethodGetSketchPathsGets the sketch paths in this sketch.  
 MethodGetSketchPictureCountGets the number of pictures on this sketch.  
 MethodGetSketchPicturesGets the pictures on this sketch.  
 MethodGetSketchPointsObsolete. Superseded by ISketch::GetSketchPoints2, ISketch::IGetSketchPoints2, and ISketch::IEnumSketchPoints.  
 MethodGetSketchPoints2Gets the sketch points in this sketch.  
 MethodGetSketchPointsCountObsolete. Superseded by ISketch::GetSketchPointsCount2.  
 MethodGetSketchPointsCount2Gets the number of sketch points in this sketch.  
 MethodGetSketchRegionCountGets the number of sketch regions in this sketch.  
 MethodGetSketchRegionsGets the sketch regions in this sketch.  
 MethodGetSketchSegmentsGets the sketch segments in this sketch, which include line, arc, spline, parabola, and ellipse entities.  
 MethodGetSketchSlotCountGets the number of sketch slots in this sketch.  
 MethodGetSketchSlotsGets the sketch slots in this sketch.  
 MethodGetSketchTextSegmentsGets the sketch segments that represent the selected text in the sketch.  
 MethodGetSplineCountGets the number of splines in this sketch.  
 MethodGetSplineInterpolateCountGets the number of points in the spline and number of splines in the sketch.  
 MethodGetSplineParamsObsolete. Superseded by ISketch::GetSplineParams2 and ISketch::IGetSplineParams2.  
 MethodGetSplineParams2Obsolete. Superseded by ISketch::GetSplineParams3.  
 MethodGetSplineParams3Obsolete. Superseded by ISketch::GetSplineParams4.  
 MethodGetSplineParams4Gets the parameterization data of the spline in this sketch.  
 MethodGetSplineParamsCountObsolete. Superseded by ISketch::GetSplineParamsCount2.  
 MethodGetSplineParamsCount2Obsolete. Superseded by ISketch::GetSplineParamsCount3.  
 MethodGetSplineParamsCount3Gets the number of splines in the sketch and the size of array required to hold the data for them.  
 MethodGetSplinesGets information for each spline by tessellation instead of by interpolation as is done by ISketch::GetSplinesInterpolate and ISketch::IGetSplinesInterpolate.  
 MethodGetSplinesInterpolateGets the spline points by interpolation instead of by tessellation as is done by ISketch::GetSplines and ISketch::IGetSplines.  
 MethodGetUserPointsObsolete. Superseded by ISketch::GetUserPoints2 and ISketch::IGetUserPoints2.  
 MethodGetUserPoints2Gets all of the user points in this sketch.  
 MethodGetUserPointsCountGets the number of user points in the sketch.  
 MethodIEnumSketchHatchesGets the sketch hatches enumeration in this sketch.  
 MethodIEnumSketchPointsGets the sketch points enumeration in this sketch.  
 MethodIEnumSketchSegmentsGets the sketch segments enumeration in this sketch.  
 MethodIEnumSketchTextSegmentsGets the sketch segments enumeration for the selected text in this sketch.  
 MethodIGetArcsObsolete. Superseded by ISketch::GetArcs2 and ISketch::IGetArcs2.  
 MethodIGetArcs2Gets all of the arcs in the sketch.  
 MethodIGetContourEdgesGets the edges for a sketch that has one contour.  
 MethodIGetEllipsesObsolete. Superseded by ISketch::GetEllipses3 and ISketch::IGetEllipses3.  
 MethodIGetEllipses2Obsolete. Superseded by ISketch::GetEllipses3 and ISketch::IGetEllipses3.  
 MethodIGetEllipses3Gets all of the ellipses in the sketch.  
 MethodIGetLinesObsolete. Superseded by ISketch::GetLines2 and ISketch::IGetLines2.  
 MethodIGetLines2Gets all of the lines in the sketch with an option to include or exclude crosshatch lines.  
 MethodIGetParabolasObsolete. Superseded by ISketch::GetParabolas2 and ISketch::IGetParabolas2.  
 MethodIGetParabolas2Gets all of the parabolas in the sketch.  
 MethodIGetPolylinesGets the polylines in this sketch.  
 MethodIGetSketchBlockInstancesGets the block instances in this sketch (i.e., the sketch under which the block instances are displayed in the FeatureManager design tree).  
 MethodIGetSketchContoursGets the sketch contours in this sketch.  
 MethodIGetSketchPathsGets the sketch paths in this sketch.  
 MethodIGetSketchPicturesGets the pictures on this sketch.  
 MethodIGetSketchPoints2Gets the sketch points in this sketch.  
 MethodIGetSketchRegionsGets the sketch regions in this sketch.  
 MethodIGetSketchSlotsGets the sketch slots in this sketch.  
 MethodIGetSplineParamsObsolete. Superseded by ISketch::GetSplineParams2 and ISketch::IGetSplineParams2.  
 MethodIGetSplineParams2Obsolete. Superseded by ISketch::IGetSplineParameters3.  
 MethodIGetSplineParams3Gets all of the parameters of the splines in the sketch.  
 MethodIGetSplinesGets information for each spline by tessellation instead of by interpolation as is done by ISketch::GetSplinesInterpolate and ISketch::IGetSplinesInterpolate.  
 MethodIGetSplinesInterpolateGets the spline points by interpolation instead of by tessellation as is done by ISketch::GetSplines and ISketch::IGetSplines.  
 MethodIGetUserPointsObsolete. Superseded by ISketch::GetUserPoints2 and ISketch::IGetUserPoints2.  
 MethodIGetUserPoints2Gets all of the user points in this sketch.  
 MethodInsertRouteLineInserts a route line in an explode line sketch or a 3D sketch to indicate component relationships.  
 MethodIs3DGets whether this sketch is 2D or 3D.  
 MethodIsBoundaryBoxSketchDetermines whether the sketch is a boundary box.  
 MethodIsDerivedGets whether a sketch is derived.  
 MethodIsSharedGets whether this sketch is used by more than one feature.  
 MethodMergePointsMerges sketch points within a specified distance.  
 MethodSetAutomaticSolveControls whether the computation to solve the sketch geometry of the part as modifications are automatically performed.  
 MethodSetDetachSegmentOnDragSets the Detach Segment on Drag setting.  
 MethodSetWorkingPlaneOrientationSets the orientation for sketching geometry in a 3D sketch. It sets the planar location for new 2D and 3D geometry in a 3D sketch.  
Top

See Also



Related SolidWorks Forum Content

Provide feedback on this topic

SolidWorks welcomes your feedback concerning the presentation, accuracy, and thoroughness of the documentation. Use the form below to send your comments and suggestions about this topic directly to our documentation team. The documentation team cannot answer technical support questions. Click here for information about technical support.

* Required

 
*Email:  
Subject:   Feedback on Help Topics
Page:   ISketch Interface Members
*Comment:  
x

We have detected you are using a browser version older than Internet Explorer 7. For optimized display, we suggest upgrading your browser to Internet Explorer 7 or newer.

 Never show this message again
x

Web Help Content Version: API Help (English only) 2012 SP05

The search functionality within the web help is in a beta test phase and you may experience periodic delays or interruptions in its performance. These are the normal and ordinary features of a beta test and shall not under any circumstances give rise to any liability on the part of DS SolidWorks or its licensors. The topics within the Web-based help are not beta topics; they document API Help (English only) 2012 SP05.

To disable Web help from within SolidWorks and use local help instead, click Help > Use SolidWorks Web Help.

To report problems encountered with the Web help interface and search, contact your local support representative. To provide feedback on individual help topics, use the “Feedback on this topic” link on the individual topic page.