Renames an existing group.
Rhino.RenameGroup (strOldGroup, strNewGroup)
strOldGroup |
Required. String. The name of an existing group. |
strNewGroup |
Required. String. The new group name. |
String |
The new group name if successful. |
Null |
If not successful, or on error. |
Dim strOldGroup, strNewGroup
strOldGroup = Rhino.GetString("Old group name")
If Not IsNull(strOldGroup) Then
strNewGroup = Rhino.GetString("New group name")
If Not IsNull(strNewGroup) Then
Rhino.RenameGroup strOldGroup, strNewGroup
End If
End If