Configuring Specification Properties

You can configure specification properties.

See Also
Configuring Properties
  1. Create or open the text file to contain customized properties. For more information, see Editing Properties Using MQL.
  2. To specify the types that do not require a checked-in file, follow these steps:
    1. Add or edit this line in the file used to import properties into a page object:

      emxEngineeringCentral.PartSpecification.NoFileRequiredTypes
      When a CAD object is promoted to the Frozen state, no check is performed to ensure a file is present. However, when the associated part object is promoted to Review, a check is run to make sure that there is an attached CAD object and that the object has at least one file checked into it. This property lets you skip the check for certain specification types that can be promoted. This setting is empty by default.

    2. Set the value for this property depending on your business requirements.
  3. To define the base type of an object, follow these steps:
    1. For each specification type, the emxEngineeringCentral.properties file contains a property that defines the base type of the object. Add or edit one or more of these line:

      type_CADDrawing.BaseTypeObjectGenerator = type_CADDrawing
      
      type_CADModel.BaseTypeObjectGenerator = type_CADModel
      
      type_PartSpecification.BaseTypeObjectGenerator = type_PartSpecification
      
      type_DrawingPrint.BaseTypeObjectGenerator = type_DrawingPrint
      
      type_ECADModel.BaseTypeObjectGenerator = type_CADModel
      
      type_MCADModel.BaseTypeObjectGenerator = type_CADModel
      
      type_MCADAssembly.BaseTypeObjectGenerator = type_CADModel
      
      type_MCADAssemblyInstance.BaseTypeObjectGenerator = type_CADModel
      
      type_MCADComponent.BaseTypeObjectGenerator = type_CADModel
      
      type_MCADComponentInstance.BaseTypeObjectGenerator = type_CADModel
      
      type_MCADParameterizedAssemblyModel.BaseTypeObjectGenerator = type_CADModel
      
      type_MCADParameterizedComponentModel.BaseTypeObjectGenerator = type_CADModel
      
      type_MCADParameterizedModel.BaseTypeObjectGenerator = type_CADModel
      
      type_Sketch.BaseTypeObjectGenerator = type_Sketch
      
      type_Markup.BaseTypeObjectGenerator = type_Markup
      

      The app uses these definitions in autonaming to get the base type of a subtype to determine which object generator to use. If the base types setting for SubTypeObjectGenerator = true, then the app uses it to generate the new object. Otherwise, it uses the base type object generator to generate an object of that type.

    2. If you create a specification subtype, you must define a base type generator property for it in the properties file. Set the value for this property depending on your business requirements.

      For example, if you create a specification subtype, XCADModel, derived from CADModel, you would add this property to the properties file:

      type_XCADModel.BaseTypeObjectGenerator = type_CADModel
      

      When users create a specification of the XCADModel type, the app uses the CADModel object type generator to create the object.

  4. If needed, continue editing the page object. If finished, save the page.
  5. When finished updating the text file with all properties you want to modify, including the ones shown here, use the text file to modify the emxEngineeringCentral.properties page object. For more information, see Editing Properties Using MQL.