Solid Edge Draft Type Library
AddPartView Method
The ModelLink object from which the view is created.
Member of the ViewOrientationConstants constant set that specifies the orientation of the view.
Specifies the scale of the view. The scale determines the size of the detail view in that the detail view sizes automatically to display everything encompassed within the detail envelope.
Required Double that specify the coordinates of the view's origin.
Required Double that specify the coordinates of the view's origin.
Member of the PartDrawingViewTypeConstants constant set that defines the type of view to be created.
Description
Adds a part drawing view based on the ViewType.
Syntax
Visual Basic
Public Function AddPartView( _
   ByVal From As ModelLink, _
   ByVal Orientation As ViewOrientationConstants, _
   ByVal Scale As Double, _
   ByVal x As Double, _
   ByVal y As Double, _
   ByVal ViewType As PartDrawingViewTypeConstants _
) As DrawingView
Parameters
From
The ModelLink object from which the view is created.
Orientation
ValueDescription
igBackViewView Orientation - Back View
igBottomBackLeftViewView Orientation - Bottom Back Left View
igBottomBackRightViewView Orientation - Bottom Back Right View
igBottomFrontLeftViewView Orientation - Bottom Front Left View
igBottomFrontRightViewView Orientation - Bottom Front Right View
igBottomViewView Orientation - Bottom View
igDimetricBottomBackLeftView
igDimetricBottomBackRightView
igDimetricBottomFrontLeftView
igDimetricBottomFrontRightView
igDimetricTopBackLeftView
igDimetricTopBackRightView
igDimetricTopFrontLeftView
igDimetricTopFrontRightView
igFrontViewView Orientation - Front View
igLeftViewView Orientation - Left View
igRightViewView Orientation - Right View
igTopBackLeftViewView Orientation - Top Back Left View
igTopBackRightViewView Orientation - Top Back Right View
igTopFrontLeftViewView Orientation - Top Front Left View
igTopFrontRightViewView Orientation - Top Front Right View
igTopViewView Orientation - Top View
igTrimetricBottomBackLeftView
igTrimetricBottomBackRightView
igTrimetricBottomFrontLeftView
igTrimetricBottomFrontRightView
igTrimetricTopBackLeftView
igTrimetricTopBackRightView
igTrimetricTopFrontLeftView
igTrimetricTopFrontRightView
Member of the ViewOrientationConstants constant set that specifies the orientation of the view.
Scale
Specifies the scale of the view. The scale determines the size of the detail view in that the detail view sizes automatically to display everything encompassed within the detail envelope.
x
Required Double that specify the coordinates of the view's origin.
y
Required Double that specify the coordinates of the view's origin.
ViewType
ValueDescription
sePartDesignedViewPart Designed Drawing View Type - This is a view of a part with no simplification
sePartSimplifiedViewPart Simplified Drawing View Type - This is a view of a part with simplification
Member of the PartDrawingViewTypeConstants constant set that defines the type of view to be created.
See Also

DrawingViews Collection  | DrawingViews Members