Shows the specified view.
.NET Syntax
Visual Basic (Declaration) | |
---|
Sub ShowNamedView2( _
ByVal VName As String, _
ByVal ViewId As Integer _
) |
Visual Basic (Usage) | |
---|
Dim instance As IModelDoc2
Dim VName As String
Dim ViewId As Integer
instance.ShowNamedView2(VName, ViewId)
|
C++/CLI | |
---|
void ShowNamedView2(
& String^ VName,
& int ViewId
) |
Parameters
- VName
Name of the view to display or an empty string to use viewId instead
- ViewId
ID of the view to display as defined by swStandardViews_e or -1 to use the viewName argument instead; if you specify both viewName and viewId, then viewId takes precedence if the two arguments do not resolve to the same view
Example
Remarks
See Also
Availability
SolidWorks 2001Plus FCS, Revision Number 10.0