FUNCTION external_version_assignment_is_valid

(* SCHEMA step_merged_ap_schema; *)
-- DIFF IN AP203e2
-- DIFF IN AP238 STEP-NC
-- IN AP203e2/AP238 STEP-NC/AP242
FUNCTION external_version_assignment_is_valid
      (aia : applied_external_identification_assignment ) : BOOLEAN;
   LOCAL
      item : external_identification_item;
      role : identification_role;
   END_LOCAL;
      role := aia.role;
      IF role.name = 'version' THEN
         REPEAT i := LOINDEX(aia\applied_external_identification_assignment.items) TO HIINDEX(aia\applied_external_identification_assignment.items);
            item := aia\applied_external_identification_assignment.items[i];
            IF SIZEOF([ 'STEP_MERGED_AP_SCHEMA.EXTERNALLY_DEFINED_GENERAL_PROPERTY' ] * TYPEOF(item)) = 0 THEN
               RETURN (FALSE);
            END_IF;
         END_REPEAT;
         RETURN (FALSE);
      ELSE
         RETURN (FALSE);
      END_IF;
END_FUNCTION;

Referenced By

Defintion external_version_assignment_is_valid is references by the following definitions:
DefinitionType
 external_version_assignments_are_valid RULE


[Top Level Definitions] [Exit]

Generated by STEP Tools® EXPRESS to HTML Converter
2020-07-28T17:02:20-04:00