Creates a relative drawing view.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function CreateRelativeView( _
ByVal ModelName As System.String, _
ByVal XPos As System.Double, _
ByVal YPos As System.Double, _
ByVal ViewDirFront As System.Integer, _
ByVal ViewDirRight As System.Integer _
) As View |
Visual Basic (Usage) | |
---|
Dim instance As IDrawingDoc
Dim ModelName As System.String
Dim XPos As System.Double
Dim YPos As System.Double
Dim ViewDirFront As System.Integer
Dim ViewDirRight As System.Integer
Dim value As View
value = instance.CreateRelativeView(ModelName, XPos, YPos, ViewDirFront, ViewDirRight) |
Parameters
- ModelName
- Path and filename of the model for which to create a relative drawing view
- XPos
- x coordinate where to create the relative drawing view
- YPos
- y coordinate where to create a relative drawing view
- ViewDirFront
- Orientation as defined by swRelativeViewCreationDirection_e
- ViewDirRight
- Orientation as defined by swRelativeViewCreationDirection_e
Return Value
View
Example
See Also
Availability
SOLIDWORKS 2007 FCS, Revision Number 15.0