IsLayerReference



Your Ad Here

Verifies that an existing layer is from a reference file.

Syntax

Rhino.IsLayerReference (strLayer)

Parameters

strLayer

Required.  String.  The name of an existing layer.

Returns

True

If successful.

False

If not successful.

Null

On error.

Example

Dim strLayer

strLayer = Rhino.GetString("Layer name")

If Rhino.IsLayer(strLayer) Then

If Rhino.IsLayerReference(strLayer) Then

Rhino.Print "The layer is a reference layer."

Else

Rhino.Print "The layer is not a reference layer."

End If

Else

Rhino.Print "The layer does not exist."

End If

Also See

IsLayer

IsLayerChangeable

IsLayerEmpty

IsLayerLocked

IsLayerOn

IsLayerSelectable

IsLayerVisible

Return to Rhino Index


Your Ad Here