FUNCTION using_shape_aspect_of_shape_representation
(* SCHEMA step_merged_ap_schema; *)
-- IN AP242
FUNCTION using_shape_aspect_of_shape_representation
(item : shape_representation ) : SET OF shape_aspect;
LOCAL
local_s_d_r : SET OF shape_definition_representation := [];
local_s_d_r2 : BAG OF shape_definition_representation := [];
local_s_a : SET OF shape_aspect := [];
i : INTEGER;
END_LOCAL;
local_s_d_r2 := local_s_d_r2 + QUERY (pdr <* USEDIN(item, 'STEP_MERGED_AP_SCHEMA.PROPERTY_DEFINITION_REPRESENTATION.USED_REPRESENTATION')| ('STEP_MERGED_AP_SCHEMA.SHAPE_DEFINITION_REPRESENTATION' IN TYPEOF(pdr)));
local_s_d_r := bag_to_set(local_s_d_r2);
REPEAT i := 1 TO HIINDEX(local_s_d_r);
IF 'STEP_MERGED_AP_SCHEMA.SHAPE_ASPECT' IN TYPEOF(local_s_d_r[i]\property_definition_representation.definition\property_definition.definition) THEN
local_s_a := local_s_a + local_s_d_r[i]\property_definition_representation.definition\property_definition.definition;
END_IF;
END_REPEAT;
RETURN (local_s_a);
END_FUNCTION;
Referenced By
Defintion using_shape_aspect_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