DeleteDimStyle

Removes an existing dimension style from the document.  The dimension style to be removed cannot be the reference by any dimension objects.

Syntax

Rhino.DeleteDimStyle (strDimStyle)

Parameters

strDimStyle

Required.  String.  The name of an un-referenced dimension style.

Returns

String

The name of the deleted dimension style if successful.

Null

If not successful, or on error.

Example

Dim strDimStyle

strDimStyle = Rhino.GetString("Dimension style to remove")

If Not IsNull(strDimStyle) Then

Rhino.DeleteDimStyle(strDimStyle)

End If

Also See

AddDimStyle

CurrentDimStyle

IsDimStyle

RenameDimStyle