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);
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:
[Top Level Definitions] [Exit]Generated by STEP Tools® EXPRESS to HTML Converter
2020-07-28T17:02:20-04:00