- Site Map
- ©2023 Ideate Software
The View Name Definition part of the Edit Rules dialog is where the name for the newly created views is defined. Use the “Add a Part” section to mix and match any or all of these parts to make your own custom Rule:
The constant is a rule part that provides a way to add text or number values that are intended to be the same for all new view names. A common example of a constant is to use “Working” or “Demo” as a prefix/suffix to the view name. Constants are also very useful in adding a space or dash between two properties.
For example, in the DUPLICATE — Working sample rule, the constant is used to add the prefix “Working -” to all selected views. Double-clicking on the part labeled “Prefix” will open the “Set Constant Value”, as shown, and let you adjust the settings. Related settings: Prompt for value and Name.
The Value field is the default value that will display in the main dialog box when this Rule is used. In the example shown above, the value is “Working -”, meaning that all selected views will be named using first the “Working -” text.
The value of the Constant can be altered within the main dialog if the “Prompt for value” checkbox is selected. For example, if “Working-” is specified in the Rule, and the “Prompt for value” checkbox is not selected, this text will always be used. If the checkbox is checked then the person using the rule will be able to change the text on the view preview dialog.
TIP: The value can also be deleted, making the Constant optional to the end user.
The Name of the Constant only applies if the “Prompt for value” checkbox is selected. The value of the Name field is displayed as the label on the main dialog.
The Field is a Rule part that is used to reference a property of the element. For example, the rule shown in the image below uses the View Name parameter from the original view (and a couple of constants) to create the new view name.
The Default part has the unique behavior of being able to programmatically reference the original view name while accounting for differences related to the level name or scope box. This part is useful for both the "Plans to Levels" and "Apply Dependents" methods.
When the Default part is used with the "Apply Dependents" method, the view name for the new dependent is automated by taking the name of the selected parent plus any other text from the selected dependent.
Selected Dependent = Level 02 Ceiling Plan - Building 1
Selected Parent = Level 03 Ceiling Plan
New view name = Level 03 Ceiling Plan - Building 1
The Default part is used within the sample rule called "DEPENDENTS"
When the Default part is used with the "Plans to Levels" method, the view name for the new plan view is automated by taking the name of the original view, but then substituting the newly selected Level name where applicable.
Selected Level = Level 02
The Default part is used within the sample rule called "LEVELS"
Thank you for taking time to inform us about a bug or feature request.