Section View <IvSectionView>

Synopsis

IvSectionView defines a Section View on a drawing sheet, defined based on a sketch or set of profile line points . From a base view, a full section, half section, shifted or aligned section can be generated. The Section View can also be used to define a section line for a help- or partial view. A Section View is aligned to its base view.

Mixins

IvSectionViewModifier

IvCommonViewMixin

BasePart

Parameters

Name Type Description
OriginIndicatorClosestPoint point Point used to select the correct drawing curve on the view. If several curves are representing the entity, the one closest to the point is selected. The measure of closeness is the distance from the point to the center of the bounding box curve.
OriginIndicatorEntity string The face, edge name to use for drawing curve search.
OriginIndicatorIntent any The position on the drawing curve. Valid values are: :none, :startPoint, :endPoint, :midPoint, :centerPoint, :circularLeftPoint, :circularRightPoint, :circularTopPoint, :circularBottomPoint or Number in range 0…1.
OriginIndicatorPart part Intent Part that the curve was produced from.
OriginIndicatorLayer string The layer associated with the origin indicator.
OriginIndicatorStyle string The leader style associated with the origin indicator.
OriginIndicatorRelativeX number X-Offset of the origin indicator. Default: 0.0.
OriginIndicatorRelativeY number Y-Offset of the origin indicator. Default: 0.0.
OriginIndicatorVisible? boolean True if the origin indicator is visible (Default).
parentView part Defines the base view from which the section view is derived. Defaults to 'Parent'.
FullDepth? boolean Controls the depth of the section. A value of True (the default) generates a section for all geometries beyond the section curve.
Reverse? boolean Reverse the section line direction from its default setting. Defaults to False .
SectionDepth number Controls the depth of the section if FullDepth? is set to False . Defines the distance of the view (*in centimeters*) from the section curve. Note: Set the section depth to 0 to return to the lowest possible section depth.
SectionLineSketch part Sketch that defines the section. Either this or a set of SketchPoints must be provided.
SketchPoints list A set of points (in base view coordinates) that defines the line to be used as the section profile. If this is provided, at least 2 points must be specified. Either this or a SectionLineSketch must be specified.
BreakAlignmentPosition Any (From IvCommonViewMixin). By default (when this Parameter is set to NoValue ), some view kinds may be aligned to the parent drawing view. Supplying the Point value to this Parameter, breaks View alignment, and repositions the View center into the Point
designViewRepresentation string (From IvCommonViewMixin) Name of a user-defined design view. This will specify the design view representation to be used to present the model in the view. Name must correspond to an existing design view. Default of "" represents the default design view of the model.
designViewAssociative boolean (From IvCommonViewMixin) Specifies whether the view should be kept associative to its specified design view representation. If this is True , then no items are allowed in the 'hiddenParts' list . Defaults to False .
hiddenParts list (From IvCommonViewMixin) List of parts to suppress. Each part of the list should be of type IvAdoptedPart or IvCustomAssemblyDocument. May not be used if 'designViewAssociative' is set to True . Defaults to an empty list .
sheet part (From IvCommonViewMixin) Defines the drawing sheet onto which the section view is being placed. Defaults to 'Parent'.
viewName string (From IvCommonViewMixin) Name of the view to be displayed on the drawing below the Section View. By default, this is the displayName of the Intent part .
viewScale number (From IvCommonViewMixin) Scale of the Section View as decimal number. Defaults to 1.0 (full scale).
viewStyle name (From IvCommonViewMixin) Specifies the display style of the View. Valid values are: :hiddenLineRemoved, :hiddenLine, :shaded, :shadedHiddenLine, and :fromBase. The default value is :fromBase.
displayTangentEdges boolean (From IvCommonViewMixin) Specifies whether to show tangent edges. If True , tangent edges are displayed. Default is False .
showViewLabel? boolean (From IvCommonViewMixin) If True , displays the view label on the sheet, overriding the setting in the standard style. Default is NoValue .
viewLabelPosition point (From IvCommonViewMixin) If specified, overrides the default view label position from Inventor. Specify a point on the sheet in sheet coordinates. The default is NoValue .
viewLabelFormattedText string (From IvCommonViewMixin) If specified, overrides the default view label string from Inventor (as defined in the view style); default is NoValue .
origin point (From BasePart) Defines the position of the view on the drawing sheet. The reference on the view is its center point . The origin of the sheet is its lower left corner (see note below).
ignorePosition? boolean (From IvCommonViewMixin) Ignores the Origin Rule , if True . Default value is False .
     
     
     
     
     
     
     
     
     

Rules

Name Type Description
height number (From IvCommonViewMixin) Can be used to retrieve the height of the view. This depends on the scale entered and the displayed objects. The value is returned in project units.
width number (From IvCommonViewMixin) Can be used to retrieve the width of the view. This depends on the scale entered and the displayed objects. The value is returned in project units.

The coordinate system which applies to the origin of a view depends whether it's parent is a view or a sheet. For example, if the parent is a view, and the origin of the parent view is Point(10,10,0), then origin = Point(0,0,0) will place the view on the center of the parent view, which is Point(10,10,0) on the sheet. If the parent is a sheet, then origin = Point(0,0,0) will place the view on the lower-left corner of the sheet.