FUNCTION using_shape_aspect_of_shape_representation
(* SCHEMA assembly_feature_relationship_schema; *)
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;
-- find shape_definition_representations
local_s_d_r2 := local_s_d_r2 + (USEDIN (item,
'PRODUCT_PROPERTY_REPRESENTATION_SCHEMA.' +
'SHAPE_DEFINITION_REPRESENTATION.USED_REPRESENTATION'));
local_s_d_r := bag_to_set (local_s_d_r2);
-- find shape_aspects
REPEAT i := 1 TO HIINDEX (local_s_d_r);
IF ('PRODUCT_PROPERTY_DEFINITION_SCHEMA.SHAPE_ASPECT' IN TYPEOF
(local_s_d_r[i].definition))
THEN local_s_a := local_s_a + local_s_d_r[i].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
2012-03-27T17:14:00-04:00