Click or drag to resize

ICadDrawingView Interface

Provides functions and properties that operate on a drawing view.

Namespace:  Autodesk.iLogic.Interfaces
Assembly:  Autodesk.iLogic.Interfaces (in Autodesk.iLogic.Interfaces.dll) Version: 23.0
Syntax
Public Interface ICadDrawingView

The ICadDrawingView type exposes the following members.

Properties
  NameDescription
Public propertyBalloons
Gets an object that can be used to access the balloons associated with this view.
Public propertyHeight
Gets the height of the view. (The height of a model view is determined by the projected height of the model and the view scale.)
Public propertyModelDocument
Gets the model document (part or assembly) shown in this view. If the view is not a model view, this will be Nothing.
Public propertyName
Gets the name of the view.
Public propertyScale
Gets or sets the view scale, as a number.
Public propertyScaleString
Gets or sets the view scale as a text string (e.g. "1:1").
Public propertySpacingBetweenString
Gets or sets the view location by specifying the distance to another view. The other view is typically adjacent on the sheet. The spacing is between view edges, in the X or Y direction. The system chooses the direction by looking at the current spacing between the view positions (not the edges). The axis used is the direction of greatest separation. Specify a positive spacing value to place this view to the right or above the other view. Specify a negative value to place this view to the left or below the other view.
Public propertySpacingBetweenICadDrawingView
Gets or sets the view location by specifying the distance to another view. The other view is typically adjacent on the sheet. The spacing is between view edges, in the X or Y direction. The system chooses the direction by looking at the current spacing between the view positions (not the edges). The axis used is the direction of greatest separation. Specify a positive spacing value to place this view to the right or above the other view. Specify a negative value to place this view to the left or below the other view.
Public propertyView
Gets the Inventor API DrawingView object for this view.
Public propertyWidth
Gets the width of the view. (The width of a model view is determined by the projected width of the model and the view scale.)
Top
Methods
  NameDescription
Public methodSetCenter
Sets the position of the center of the view on the sheet.
Public methodSetSpacingToCorner
Sets the view location by specifying the distance between a corner of the view and the corresponding corner of the sheet.
Top
See Also