Defines a Base View on a drawing sheet. The Base View defines the basis for all subsequent views. More than one Base View can be created on a sheet.
IvBaseViewModifier
IvCommonViewMixin
Name | Type | Description |
---|---|---|
cameraEye | point | (From IvCameraMixin). Specifies the position of the camera in the coordinate system of the document. Default is NoValue (use the current camera position) |
cameraPerspective? | boolean | (From IvCameraMixin). Allows Perspective of Parallel view projection. Default is False (parallel projection) |
cameraPerspectiveAngle | number | (From IvCameraMixin). In case of perspective projection, specifies the projection angle. Default is 0.0 degrees |
cameraTarget | point | (From IvCameraMixin). Specifies the point in the coordinate system of the document the center of the camera is looking at. Default is NoValue (use the current camera target point) |
cameraUpVector | vector | (From IvCameraMixin). Defines the camera rotation around it Z axis, which is aligned with the line defined by cameraEye/cameraTarget points. Default is NoValue (use the current camera rotation) |
cameraViewOrientation | Name | (From IvCameraMixin). The possible values are:
Default is :Arbitrary |
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. If hiddenParts list is populated, and designViewAssociative is False , then this parameter has no effect. |
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. |
displayTangentEdges | boolean | (From IvCommonViewMixin) Specifies whether to show tangent edges. If True , tangent edges are displayed. Default is 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. |
ignorePosition? | boolean | (From IvCommonViewMixin) Ignores the Origin Rule, if True . Default value is False . |
model | part | (Required) Model to be displayed in the Base View. This refers to another part, representing either a part or an assembly, in the model. |
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. |
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). |
positionalRepresentation | part | Positional Representation (a part of type IvPositionalRepresentation) that identifies the representation to be used to represent the model in the view. |
rotationAngle | number | (From IvCommonViewMixin) The Base View is rotated by the specified angle around an axis perpendicular to the drawing. Defaults to 0. |
sheet | part | (From IvCommonViewMixin) Defines the drawing sheet onto which the Base View is being placed. Defaults to 'Parent'. |
showViewLabel? | boolean | (From IvCommonViewMixin) If True, displays the view label on the sheet, overriding the setting in the standard style. 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. |
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. |
viewName | string | (From IvCommonViewMixin) Name of the view to be displayed on the drawing below the Base View. By default, this is the displayName of the part. |
viewOrientation | name | Specifies the alignment of the Base View, relative to the model. Valid values are: :Front, :Top, :Right, :Back, :Bottom, :Left, :IsoTopRight, :IsoTopLeft, :IsoBottomRight, :IsoBottomLeft. Alignment :Front (front view) is the view of the XY-plane. :IsoTopRight is the default value. If :Arbitrary is set, then the Camera* parameters below will further specify the view orientation. |
viewScale | number | (From IvCommonViewMixin) Scale of the Base 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, :shadedHiddenLine, and :shaded. The default value is :hiddenLineRemoved. |
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. |
viewToSheet( viewPt As Point ) As Point(From IvCommonViewMixin) Returns a point , in sheet space, representing a specified point in view space. Both points are 2-dimensional, so the 'z' component is ignored.
workpointLocation( workpointPart As Part, _ workpointName As String ) As Point(From IvCommonViewMixin) Returns a point , in view space, corresponding to a specified work point on the specified part (which must be represented in the view).
This example demonstrates the creation of a Base View named "FrontView" on the current sheet. The view scale, orientation, and style are specified. The view's origin is calculated based on the sheet's height and width.
Child Name: | FrontView | |
Child Design: | IvBaseView | |
Name | Type | Supplied |
model | part | Parent.Parent.RS_Regalwand |
origin | any | Point(0,0,0) + unitY * 0.7 *height + unitx *0.25 * width. |
viewOrientation | name | :Bottom |
viewScale | number | 0.2 |
viewStyle | name | :hiddenLineRemoved. |