FUNCTION using_shape_aspect_of_shape_representation
(* SCHEMA Ap242_managed_model_based_3d_engineering_mim_LF; *)
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 + QUERY(pdr <* USEDIN (item,
'AP242_MANAGED_MODEL_BASED_3D_ENGINEERING_MIM_LF.PROPERTY_DEFINITION_REPRESENTATION.USED_REPRESENTATION') |
'AP242_MANAGED_MODEL_BASED_3D_ENGINEERING_MIM_LF.SHAPE_DEFINITION_REPRESENTATION' IN
TYPEOF(pdr));
local_s_d_r := bag_to_set (local_s_d_r2);
-- find shape_aspects
REPEAT i := 1 TO HIINDEX (local_s_d_r);
IF ('AP242_MANAGED_MODEL_BASED_3D_ENGINEERING_MIM_LF.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
2012-03-27T17:20:10-04:00