Verifies that a layer is a child of another layer.
Rhino.IsLayerChildOf (strLayer, strTest)
strLayer |
Required. String. The name or identifier of the layer to test against. |
strTest |
Required. String. The name or identifier of the layer to test. |
Boolean |
True if strTest is a child of strLayer. False otherwise. |
Null |
On error. |
Rhino.AddLayer "MyLayer1"
Rhino.AddLayer "MyLayer2",,,,"MyLayer1"
Rhino.AddLayer "MyLayer3",,,,"MyLayer2"
MsgBox Rhino.IsLayerChildOf("MyLayer1", "MyLayer3")