Sets the current (or active) layer in this drawing document.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function SetCurrentLayer( _
ByVal NameIn As System.String _
) As System.Integer |
Visual Basic (Usage) | |
---|
Dim instance As ILayerMgr
Dim NameIn As System.String
Dim value As System.Integer
value = instance.SetCurrentLayer(NameIn) |
C# | |
---|
System.int SetCurrentLayer(
System.string NameIn
) |
C++/CLI | |
---|
System.int SetCurrentLayer(
& System.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