Mandatory Attributes for Templates

Your organization may require that each design includes certain information.

To ensure that the design is not created without that information, you can define attributes as mandatory for the template.

Mandatory attributes must have valid values entered when the user executes the Start Design process. If you need to define attributes as mandatory, you need to use MQL. See the MQL Guide for details on using that tool.

For each mandatory attribute you want to define for a template, use MQL to enter this command:

add property mandatory on attribute ATTRIBUTE_NAME to type TYPE_NAME;

where ATTRIBUTE_NAME is the mandatory attribute and TYPE_NAME is the template object.

If you define an attribute as mandatory, you should provide valid values for that attribute in the Template object. You can use Matrix Navigator to define range values so the user can choose a valid value.