FUNCTION using_product_definition_of_shape_representation

(* SCHEMA step_merged_ap_schema; *)
-- IN AP242
FUNCTION using_product_definition_of_shape_representation
      (item : shape_representation ) : SET OF product_definition;
   LOCAL
      local_s_d_r : SET OF shape_definition_representation := [];
      local_p_d : SET OF product_definition := [];
      i : INTEGER;
   END_LOCAL;
      local_s_d_r := QUERY (i1 <* bag_to_set(USEDIN(item, 'STEP_MERGED_AP_SCHEMA.' + 'PROPERTY_DEFINITION_REPRESENTATION.USED_REPRESENTATION'))| 'STEP_MERGED_AP_SCHEMA.' + 'SHAPE_DEFINITION_REPRESENTATION' IN TYPEOF(i1));
      REPEAT i := 1 TO HIINDEX(local_s_d_r) BY 1;
         IF 'STEP_MERGED_AP_SCHEMA.PROPERTY_DEFINITION' IN TYPEOF(local_s_d_r[i]\property_definition_representation.definition) THEN
            IF 'STEP_MERGED_AP_SCHEMA.PRODUCT_DEFINITION' IN TYPEOF(local_s_d_r[i]\property_definition_representation.definition\property_definition.definition) THEN
               local_p_d := local_p_d + local_s_d_r[i]\property_definition_representation.definition\property_definition.definition;
            END_IF;
         END_IF;
      END_REPEAT;
      RETURN (local_p_d);
END_FUNCTION;

Referenced By

Defintion using_product_definition_of_shape_representation is references by the following definitions:
DefinitionType
 fixed_constituent_assembly_constraint ENTITY
 shape_data_quality_inspected_shape_and_result_relationship ENTITY
 unique_in_product_definition FUNCTION


[Top Level Definitions] [Exit]

Generated by STEP Tools® EXPRESS to HTML Converter
2017-01-19T11:17:24-05:00