Click or drag to resize

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
)

Parameters

layerPath
Type: SystemString
The layer path.

Return Value

Type: Int32
The index of the last layer created if successful, UnsetIntIndex on failure.
See Also