Sets the current (or active) layer in this drawing document.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function SetCurrentLayer( _
ByVal NameIn As String _
) As Integer |
Visual Basic (Usage) | |
---|
Dim instance As ILayerMgr
Dim NameIn As String
Dim value As Integer
value = instance.SetCurrentLayer(NameIn)
|
C# | |
---|
int SetCurrentLayer(
string NameIn
) |
C++/CLI | |
---|
int SetCurrentLayer(
& String^ NameIn
) |
Parameters
- NameIn
Name of the layer to become the active layer
Return Value
1 if the active layer was changed to the specified layer, 0 if not
See Also
Availability
SolidWorks 99, datecode 1999207