RenameDimension method: AnalyticModelDefn class
Syntax
RenameDimension(DimName, NewDimName, ForceRename)
Description
Use the RenameDimension method to rename the dimension specified by DimName to the new name NewDimName.
Parameters
| Parameter | Description |
|---|---|
|
DimName |
Specify the name of the dimension you want to rename. |
|
NewDimName |
Specify the new name of the dimension. |
|
ForceRename |
Specify if the dimension should always be renamed. This parameter takes a Boolean value. If you specify ForceRename as false, and the dimension is used by another part (such as a cube) this method fails. If you specify ForceRename as true, and the dimension is used by another part, the dimension is still renamed. |
Returns
None.