Share

SketchPoint Object

Derived from: SketchEntity Object

Description

The SketchPoint object represents a point within a sketch. See the article in the overviews section.

Methods

Name Description
Delete Method that deletes the sketch entity. This method will fail in the case where this object was created as a result of a derived part. The HasReferenceComponent property can be used to determine when this is the case.
GetReferenceKey Method that generates and returns the reference key for this entity.
Merge Method that merges this sketch point with the input sketch point. Any objects dependent on this sketch point will change their dependency to the new sketch point.
MoveBy Method that moves the sketch point a delta distance from its current location. Movement of a sketch point is limited by the constraints currently defined on the sketch. If a sketch is partially constrained it will perform the move within the range allowed by the constraints. Because of this, the result of a move may not always be exactly what was specified.
MoveTo Method that moves the sketch point to an explicit X-Y location. Movement of a sketch point is limited by the constraints currently defined on the sketch. If a sketch is partially constrained it will perform the move within the range allowed by the constraints. Because of this, the result of a move may not always be exactly what was specified.

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.
AttachedEntities Property that returns the collection of objects that are connected to this point.
AttributeSets Property that returns the AttributeSets collection object associated with this object.
ConnectionPoint Gets and sets whether the point behaves as a connection point or not.
Constraints Property that returns a collection of sketch constraints that are tied directly to this entity. This collection consists of both geometric and dimension constraints.
ConstraintStatus Read-only property that returns the constraint status of the sketch. Possible return values are kFullyConstrainedConstraintStatus, kOverConstrainedConstraintStatus, kUnderConstrainedConstraintStatus, and kUnknownConstraintStatus.
Construction Gets and sets whether the entity behaves as a construction entity or not.
ContainingSketchBlock Property that returns the sketch block that contains this object. This is the same SketchBlock returned as the last item in the SketchBlockPath property. This property returns Nothing if this object does not belong to a sketch block and lives directly under a sketch.
DisabledActionTypes Gets and sets whether specific user actions are blocked on this sketch geometry.
Geometry Property that returns a Point2d geometry object. The object returned represents a snapshot view of the current state of the sketch point.
Geometry3d Read-only property that returns point geometry that represents this point in model space.
HasReferenceComponent Property that specifies if the object was created as the result of a derived part.
HoleCenter Gets and sets whether the point behaves as a hole center or not.
InsertionPoint Gets and sets whether the point behaves as an insertion point or not.
Layer Gets and sets the layer applied to this sketch entity.
OwnedBy Indicates entity or entities that own this object.
Parent Property that returns the parent sketch of the entity.
RangeBox Property that returns a Box2D object which contains the lower-left and upper-right corners of a rectangle that is guaranteed to enclose this object.
Reference Gets and sets whether this entity is a reference entity or not. It is only valid to set this property to False.
ReferenceComponent Property that returns the ReferenceComponent that resulted in the creation of this feature.
ReferencedEntity Property that returns the object this entity is dependent on. When sketch entities are created by projecting model edges or intersecting the model, the resulting entities are driven by the original model entities and cannot be modified.
SketchBlockPath Property that returns the path of sketch blocks at the leaf of which this sketch object is found. The enumerator returns a count of 0 if the object lives directly under a sketch.
SketchOnly Gets and sets whether this entity is visible only when editing the sketch.
Type Returns an ObjectTypeEnum indicating this object's type.

Accessed From

HorizontalAlignConstraint.PointOne, HorizontalAlignConstraint.PointTwo, HorizontalAlignConstraintProxy.PointOne, HorizontalAlignConstraintProxy.PointTwo, MidpointConstraint.Point, MidpointConstraintProxy.Point, ProfileEntity.EndSketchPoint, ProfileEntity.StartSketchPoint, ProfileEntityProxy.EndSketchPoint, ProfileEntityProxy.StartSketchPoint, SketchArc.CenterSketchPoint, SketchArc.EndSketchPoint, SketchArc.StartSketchPoint, SketchArcProxy.CenterSketchPoint, SketchArcProxy.EndSketchPoint, SketchArcProxy.StartSketchPoint, SketchBlockDefinition.InsertionPoint, SketchBlockDefinitionProxy.InsertionPoint, SketchCircle.CenterSketchPoint, SketchCircleProxy.CenterSketchPoint, SketchControlPointSpline.ControlPoint, SketchControlPointSpline.EndSketchPoint, SketchControlPointSpline.StartSketchPoint, SketchControlPointSplineProxy.ControlPoint, SketchControlPointSplineProxy.EndSketchPoint, SketchControlPointSplineProxy.StartSketchPoint, SketchEllipse.CenterSketchPoint, SketchEllipseProxy.CenterSketchPoint, SketchEllipticalArc.CenterSketchPoint, SketchEllipticalArc.EndSketchPoint, SketchEllipticalArc.StartSketchPoint, SketchEllipticalArcProxy.CenterSketchPoint, SketchEllipticalArcProxy.EndSketchPoint, SketchEllipticalArcProxy.StartSketchPoint, SketchEquationCurve.EndSketchPoint, SketchEquationCurve.StartSketchPoint, SketchEquationCurveProxy.EndSketchPoint, SketchEquationCurveProxy.StartSketchPoint, SketchFixedSpline.EndSketchPoint, SketchFixedSpline.StartSketchPoint, SketchFixedSplineProxy.EndSketchPoint, SketchFixedSplineProxy.StartSketchPoint, SketchLine.EndSketchPoint, SketchLine.StartSketchPoint, SketchLineProxy.EndSketchPoint, SketchLineProxy.StartSketchPoint, SketchOffsetSpline.EndSketchPoint, SketchOffsetSpline.StartSketchPoint, SketchOffsetSplineProxy.EndSketchPoint, SketchOffsetSplineProxy.StartSketchPoint, SketchPointProxy.NativeObject, SketchPoints.Add, SketchPoints.Item, SketchSpline.EndSketchPoint, SketchSpline.FitPoint, SketchSpline.InsertFitPoint, SketchSpline.StartSketchPoint, SketchSplineHandle.EndSketchPoint, SketchSplineHandle.FitPoint, SketchSplineHandle.StartSketchPoint, SketchSplineHandleProxy.EndSketchPoint, SketchSplineHandleProxy.FitPoint, SketchSplineHandleProxy.StartSketchPoint, SketchSplineProxy.EndSketchPoint, SketchSplineProxy.FitPoint, SketchSplineProxy.InsertFitPoint, SketchSplineProxy.StartSketchPoint, SplineFitPointConstraint.Point, SplineFitPointConstraintProxy.Point, TextBox.OriginSketchPoint, TextBoxProxy.OriginSketchPoint, ThreePointAngleDimConstraint.PointOne, ThreePointAngleDimConstraint.PointThree, ThreePointAngleDimConstraint.PointTwo, ThreePointAngleDimConstraintProxy.PointOne, ThreePointAngleDimConstraintProxy.PointThree, ThreePointAngleDimConstraintProxy.PointTwo, TwoPointDistanceDimConstraint.PointOne, TwoPointDistanceDimConstraint.PointTwo, TwoPointDistanceDimConstraintProxy.PointOne, TwoPointDistanceDimConstraintProxy.PointTwo, VerticalAlignConstraint.PointOne, VerticalAlignConstraint.PointTwo, VerticalAlignConstraintProxy.PointOne, VerticalAlignConstraintProxy.PointTwo

Derived Classes

SketchPointProxy

Samples

Name Description
Add a punch tool feature This program demonstrates the creation of a punch tool feature. It uses one of the punch features that's delivered with Inventor. It assumes you already have an existing sheet metal part and have selected a face to place the punch feature on. The selected face should be large so there is room for the punch features.
Create SketchedSymbol Definition This sample illustrates creating a new sketched symbol definition object and inserting it into the active sheet.
Sketch Display Entities This sample demonstrates the query functionality available for sketch entities.

Version

Introduced in version 5

Was this information helpful?