Matches the properties, such as color, material, linetype, print color, and print width, of a source layer to a target layer. Note, this method does not rename the target layer. Nor does it change the target layer's parent layer.
Rhino.MatchLayer (strSourceLayer, strTargetLayer)
strSourceLayer |
Required. String. The name or identifier of the source layer. |
strTargetLayer |
Required. String. The name or identifier of the target layer. |
Boolean |
True or False indicating success or failure. |
Null |
If not successful, or on error. |
Rhino.MatchLayer "Default", "Layer 01"