Centerline Object
Description
The Centerline object represents a centerline on a sheet.
Methods
Delete |
Method that deletes the Centerline. |
GetBisectorEntities |
Returns the two entities that the centerline bisects. This method is only valid for kBisectorCenterline type centerlines and will fail in all other cases. |
GetReferenceKey |
Method that generates and returns the reference key for this entity. |
Properties
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. |
Attached |
Property that returns whether the centerline is sick. Returns False if the centerline is sick. |
AttributeSets |
Property that returns the AttributeSets collection object associated with this object. |
CenterlineType |
Property that gets the centerline type. This could return kRegularCenterline, kBisectorCenterline, kCenteredPatternCenterline or kWorkFeatureCenterline. If the property returns kWorkFeatureCenterline, the centerline is associated with a model work feature. The work feature can be obtained using the ModelWorkFeature property. |
EndPoint |
Read-write property that gets and sets the end point of the centerline. |
FitPoints |
Property that returns the collection of objects that define the path of the centerline. |
Geometry |
Property that returns the geometry that defines the shape of the centerline object. |
GeometryType |
Property that returns the type of the curve used to define the centerline. This property allows you to determine what type of object will be returned by the Geometry. |
Layer |
Gets and sets the layer associated with this object. |
ModelWorkFeature |
Property that returns the model work feature associated with this centerline. This property returns Nothing if the CenterlineType property is not kWorkFeatureCenterline. |
Parent |
Property that returns the parent Sheet object. |
PatternCenter |
Property that returns the geometry the center that defines the center of the centerline pattern. This property is only valid for kCenteredPatternCenterline type centerlines and will return Nothing in all other cases. |
StartPoint |
Read-write property that gets and sets the start point of the centerline. |
Style |
Gets and sets the style associated with this centerline. |
Type |
Returns an ObjectTypeEnum indicating this object's type. |
Visible |
Read-write property that gets and sets whether the centerline is visible. |
Accessed From
Centerlines.Add,
Centerlines.AddBisector,
Centerlines.AddByWorkFeature,
Centerlines.AddCenteredPattern,
Centerlines.Item
Version
Introduced in version 2008