Conditions

  • CONDITIONS section is used to specify the conditions to TRANSLATE or FILTER the data.

  • Each data line should contain the name of the condition and Translate/Filter condition.

  • The Condition section is supported for parcel data.

  • User can filter the parcel data based on results. Eg: Condition “VELOCITY>20” exports the parcel nodes which has Velocity result greater than 20.

  • AND and OR operations are also suported.

  • Usage Example:

    * PARTS
    - * , FILTER
    - PARCEL, CONDITION=Parcel_filter
    * CONDITIONS
    - Parcel_filter, TRANSLATE="VELOCITY>20"
    

Data Attributes

  • TRANSLATE: Translates the data based on condition to CAX output.

  • FILTER: Filters the data based on condition to CAX output.

Examples

Export parcel data where Velocity is greater than 20

   * PARTS
   - *, FILTER
   - PARCEL, CONDITION=Parcel_filter
   * CONDITIONS
   - Parcel_filter , TRANSLATE="VELOCITY>20"

- Exports the parcel data where velocity is greater than 20

Filter parcel data where Velocity is lesser than 20

   * PARTS
   - *, FILTER
   - PARCEL, CONDITION=Parcel_filter
   * CONDITIONS
   - Parcel_filter , FILTER="VELOCITY>20"

- Does not Exports the parcel data where velocity is lesser than 20

Using AND

   * PARTS
   - *, FILTER
   - PARCEL, CONDITION=Parcel_filter
   * CONDITIONS
   - Parcel_filter , FILTER="VELOCITY>20 AND RADIUS>3e-5"

- Exports the parcel data where velocity is greater than 20 and radius greater than 3e-5

Using OR

   * PARTS
   - *, FILTER
   - PARCEL, CONDITION=Parcel_filter
   * CONDITIONS
   - Parcel_filter , FILTER="VELOCITY>20 OR RADIUS>3e-5"

- Exports the parcel data where velocity is greater than 20 or radius greater than 3e-5

The results that are specified in conditions should be specified while exporting results in RESULTS section.