Changes the specified standard view to the current model view.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function UpdateStandardViews( _
ByVal ViewName As System.String, _
ByVal ViewId As System.Integer _
) As System.Boolean |
Visual Basic (Usage) | |
---|
Dim instance As IModelDocExtension
Dim ViewName As System.String
Dim ViewId As System.Integer
Dim value As System.Boolean
value = instance.UpdateStandardViews(ViewName, ViewId) |
C# | |
---|
System.bool UpdateStandardViews(
System.string ViewName,
System.int ViewId
) |
C++/CLI | |
---|
System.bool UpdateStandardViews(
& System.String^ ViewName,
& System.int ViewId
) |
Parameters
- ViewName
- Name of the standard model view to change; empty string to use ViewId (see Remarks)
- ViewId
- View ID as defined in swStandardViews_e; -1 to use ViewName (see Remarks)
Return Value
True if the standard model view update is successful, false if not
Remarks
See Also
Availability
SolidWorks 2014 FCS, Revision Number 22.0