Validate Model Data

Data Transformation Operations (DTOs) provide flexible and repeatable processes to validate model data. In the following examples you will see how you can find model objects that do not have certain values or validate specific model data format. This information can be used to communicate any model data that does not meet project requirements.

Validate model data is compliant

You can validate that specific model data meets your project requirements.

Validate specific model data exists

You can find model objects that do not have certain values, such as length.

  1. Add a new DTO, and then name it W Shapes have no LENGTH

  2. In the Selector tab use the following criteria:

    Rule Type Tag
    Tag / OP Name Revit_Family_Type
    Operator contains
    Value W Shape
  3. Use the and/or row toggle on the top left and change it to and.

  4. Click the Add row icon under the row, and then use the following criteria:

    Rule Type Tag
    Tag / OP Name Length
    Operator is null

  5. Click the Actions tab, and then use the following criteria:

    Action Tag
    Tag Name 99 - Validation Issue
    Tag Value No Length

  6. Click the Run selected button to execute the DTO and create the new tag according to your selection criteria.

Validate model data for specific format

You can validate that your Pipeline data has the system prefix followed by a dash, such as AQ-0001065.

First add a DTO to tag to all relevant data as invalid, and then create another DTO to find validated data. The purpose is to place the invalid and valid tag values in the same tag name. When you use the same tag name, the invalid data will switch to validated because an object can only have one value in a tag name.

You must run both DTOs at the same time, and in the correct order in the list. First run invalid data, and then validated data.

  1. Add a new DTO group, and then name it Validation. Add a new DTO in the group for all Pipeline data that will be tagged as invalid data, and then name it Pipeline – Invalid.

  2. In the Selector tab create the following criteria:

    Rule Type Tag
    Tag / OP Name Pipeline
    Operator not null

  3. In the Actions tab use the following criteria:

    Action Tag
    Tag Name IN8_Validation - PowerPlant
    Tag Value Pipeline - Invalid

  4. Click the Run selected button to execute the DTO and create the new tag according to your selection criteria.

  5. Add another DTO in the group for all Pipeline data that will be tagged as valid data, and then name the new DTO Pipeline – standard layout.

  6. In the Selector tab create rule criteria to find all piping systems followed by a dash.

    Rule Type Tag
    Tag / OP Name Pipeline
    Operator contains
    Value List AQ- through WW-
    Exclude none
  7. Use the and/or row toggle on the top left to select or.

  8. Click the Add row icon on the bottom left to add new rows, and then include all your values.

  9. In the Actions tab use the following criteria:

    Action Tag
    Tag Name Tag = IN8_Validation
    Tag Value Pipeline - Validated

  10. Click on the Run selected button to execute the DTO and create the new tag according to your selection criteria.