Shows the specified view.
.NET Syntax
Visual Basic (Declaration) | |
---|
Sub ShowNamedView2( _
ByVal VName As System.String, _
ByVal ViewId As System.Integer _
) |
Visual Basic (Usage) | |
---|
Dim instance As IModelDoc2
Dim VName As System.String
Dim ViewId As System.Integer
instance.ShowNamedView2(VName, ViewId) |
C# | |
---|
void ShowNamedView2(
System.string VName,
System.int ViewId
) |
C++/CLI | |
---|
void ShowNamedView2(
& System.String^ VName,
& System.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 VName argument instead; if you specify both VName 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