Share

SketchLine3D Object

Derived from: SketchEntity3D Object

Description

The SketchLine3D object represents a line within a 3D sketch. See the article in the overviews section.

Methods

Name Description
Delete Method that deletes the sketch entity.
GetReferenceKey Method that generates and returns the reference key for this entity.

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.
AttributeSets Property that returns the AttributeSets collection object associated with this object.
Constraints3D Property that returns a collection of sketch constraints that are tied directly to this entity. This collection consists of geometric and bend constraints.
ConstraintStatus Property that returns an enum indicating the constraint status of the sketch entity, signifying whether it is fully constrained, over constrained, or under constrained.
Construction Gets / sets the Sketch3D Construction Property.
EndSketchPoint Property that returns the that defines the position of the end of the line.
Geometry Gets and sets a LineSegment geometry object. The object returned represents a 'snapshot' view of the current state of the sketch line.
HasReferenceComponent Property that specifies if the object was created as the result of a derived part.
Length Double property that returns the length of the entity in centimeters.
OwnedBy Property indicating entity or entities that own this object.
Parent Property that returns the parent sketch of the entity.
RangeBox Property that returns a Box object which contains the opposing points of a rectangular box that is guaranteed to enclose this object.
Reference Gets and sets whether this entity is a reference entity or not.
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. This property returns the model entity the sketch entity is dependent on. The Reference property indicates whether the sketch entity is driven by a model entity or not. If the sketch entity is not referencing a model entity, this property will return Nothing. This property can also return nothing even when the sketch entity is referencing a model entity in the case where the model entity has been consumed by some subsequent modeling operation.
StartSketchPoint Property that returns the that defines the position of the start of the line.
Type Returns an ObjectTypeEnum indicating this object's type.

Accessed From

BendConstraint.LineOne, BendConstraint.LineTwo, BendConstraintProxy.LineOne, BendConstraintProxy.LineTwo, LineLengthDimConstraint3D.Line, LineLengthDimConstraint3DProxy.Line, MidpointConstraint3D.Line, MidpointConstraint3DProxy.Line, ParallelToXAxisConstraint3D.Line, ParallelToXAxisConstraint3DProxy.Line, ParallelToYAxisConstraint3D.Line, ParallelToYAxisConstraint3DProxy.Line, ParallelToZAxisConstraint3D.Line, ParallelToZAxisConstraint3DProxy.Line, SketchControlPointSpline3D.ControlPolygonSide, SketchControlPointSpline3DProxy.ControlPolygonSide, SketchLine3DProxy.NativeObject, SketchLines3D.AddByTwoPoints, SketchLines3D.Item, TwoLineAngleDimConstraint3D.LineOne, TwoLineAngleDimConstraint3D.LineTwo, TwoLineAngleDimConstraint3DProxy.LineOne, TwoLineAngleDimConstraint3DProxy.LineTwo

Derived Classes

SketchLine3DProxy, SketchSplineHandle3D

Samples

Name Description
Create a 3D sketch dimension This sample demonstrates the creation of a 3d sketch line and a dimension between the start and the end points of the line.
Loft Feature With Non-Planar Section This sample demonstrates the creation of a loft feature. It uses two sections for the loft, one is from a 2d sketch and the other is a non-planar section from a 3d sketch. Because one of the sketches isn't planar, a surface is created instead of a solid.

Version

Introduced in version 6

Was this information helpful?