Renames an existing dimension style.
Rhino.RenameDimStyle (strOldStyle, strNewStyle)
strOldStyle |
Required. String. The name of an existing dimension style. |
strNewStyle |
Required. String. The new dimension style name. |
String |
The new dimension style name if successful. |
Null |
If not successful, or on error. |
Dim strOldStyle, strNewStyle
strOldStyle = Rhino.GetString("Old dimension style name")
If Not IsNull(strOldStyle) Then
strNewStyle = Rhino.GetString("New dimension style name")
If Not IsNull(strNewStyle) Then
Rhino.RenameDimStyle strOldStyle, strNewStyle
End If
End If