Returns the identifiers of all layers in the document. Layer identifiers can be used with all layer-related methods.
Rhino.LayerIds ()
None.
Array |
An array of layer identifiers if successful. |
Null |
If not successful, or on error. |
Dim arrLayers, strLayer
arrLayers = Rhino.LayerIds
If IsArray(arrLayers) Then
For Each strLayer In arrLayers
Rhino.Print strLayer
Next
End If