LayerTableAddPath Method (String) |
Adds all of the layer in the specified layer path, beginning with the root.
Layer paths contain one or more valid layers names, with each name separated by
NamePathSeparator.
For example, "Grandfather::Father::Son".
Namespace:
Rhino.DocObjects.Tables
Assembly:
RhinoCommon (in RhinoCommon.dll)
Since: 8.0
Syntax public int AddPath(
string layerPath
)
Public Function AddPath (
layerPath As String
) As Integer
Parameters
- layerPath
- Type: SystemString
The layer path.
Return Value
Type:
Int32The index of the last layer created if successful,
UnsetIntIndex on failure.
See Also