Puts the selected components on the specified layer.
.NET Syntax
Visual Basic (Declaration) | |
---|
Sub ChangeComponentLayer( _
ByVal Layername As System.String, _
ByVal AllViews As System.Boolean _
) |
Visual Basic (Usage) | |
---|
Dim instance As IDrawingDoc
Dim Layername As System.String
Dim AllViews As System.Boolean
instance.ChangeComponentLayer(Layername, AllViews) |
C++/CLI | |
---|
void ChangeComponentLayer(
& System.String^ Layername,
& System.bool AllViews
) |
Parameters
- Layername
Name of layer for components
- AllViews
True changes the component layer for all views in the drawing, false changes only the selected view
Example
See Also
Availability
SolidWorks 2001Plus FCS, Revision Number 10.0