ExportLayerStates

Exports all layer states to an external file.

Syntax

Rhino.ExportLayerStates (strFilename)

Parameters

strFilename

Required.  String.  The name of an file to create.

Returns

Boolean

True or False indicating success or failure.

Null

On error.

Example

Sub TestExportLayerStates

  Dim objPlugIn

  On Error Resume Next

  Set objPlugIn = Rhino.GetPluginObject("Rhino Bonus Tools")

  If Err Then

    MsgBox Err.Description

    Exit Sub

  End If

  Call objPlugIn.ExportLayerStates("C:\LayerStates.lay")

End Sub

Also See

ImportLayerStates