CenterLine <IvCenterLine>

Synopsis

IvCenterLine creates a center line on a drawing sheet.

Some parameters may not change the appearance of center lines created from work features.

Mixins

BaseInventorMixin

LightweightPart

IvDrawingAnnotation

Parameters

Name Type Description
view part Represents the drawing view whose model contains the entity/entities with center line.
part1 part The first part containing the entity to make the center line relative to. It might be one of the following types: * Part occurrence. The entity name is specified in the 'entity1' parameter. Extra information is might contain in the intent1; * Intent Work axis (entity1, intent1 are ignored); * Intent Work plane normal to the view (entity1, intent1 are ignored). If work plane is not normal to the view, an Intent error is generated.
entity1 string The entity to attach center line to, within part1. Should be a name of the face, edge, work point, or work axis normal to view.
intent1 any Type of point ; possible keywords: :startPoint, :endPoint, :midPoint, :centerPoint, :circularLeftPoint, :circularRightPoint, :circularTopPoint, :circularBottomPoint.
part2 part Additional part containing the entity to make the center line relative to. It might be one of the following types: * Part occurrence. The entity name is specified in the 'entity2' parameter; * Intent Work axis (entity2, intent2 are ignored); * Intent Work plane normal to the view (entity2, intent2 are ignored). If the work plane is not normal to the view, an Intent error is generated.
entity2 string The entity to attach center line to, within part2. Should be a name of the face, edge, work point, or work axis normal to view.
intent2 any Type of dimension point, possible keywords: :startPoint, :endPoint, :midPoint, :centerPoint, :circularLeftPoint, :circularRightPoint, :circularTopPoint, :circularBottomPoint.
ClosestPoint1, ClosestPoint2 point Points used to select the correct drawing curve on the view. In case of several curves representing the entity, the one closest to the point is selected. Measure of closeness is a distance from the point to the center of the curve's bounding box.
closed? boolean If the center line is circular, the parameter disambiguates circles and arcs.
Visible? boolean Controls visibility of the center line.
layer string Name of the center line layer.
StartPoint point Changes the length of the start of the center line.
EndPoint point Changes the length of the end of the center line.
Style string Name of the style the center line is created with.

Rules

Name Type Description
Entities list Is formed from the parameter values. It might be one of the following forms: * {{part1, entityName1, intent1, closestpoint1},{part2, entityName2, intent2, closestpoint2}} * {{part1, entityName1, intent1, closestpoint1},{part2, entityName2, intent2, closestpoint2}[,{part3, entityName3, intent3, closestpoint3}] }. The third element is necessary for the circular center lines. By default, the parameter is formed from Part1, Part2, Entity1, Entity2, Intent1, Intent2, ClosestPoint1, ClosestPoint2.

Methods

GetStartPoint( ) As Point 
Returns the start point of the center line.
GetEndPoint( ) As Point
Returns the end point of the center line.