FUNCTION find_representative_shape_representation_of_shape_aspect

(* SCHEMA assembly_feature_relationship_schema; *)
FUNCTION find_representative_shape_representation_of_shape_aspect
    (item:shape_aspect) : shape_representation;
LOCAL
  local_s_r: SET OF shape_representation := [];
END_LOCAL;
-- find representative_shape_representation of the shape_aspect
  local_s_r := QUERY ( z <* find_shape_representation_of_shape_aspect (item)|
               'REPRESENTATIVE_SHAPE_REPRESENTATION' IN TYPEOF(z));
IF (SIZEOF (local_s_r) = 1) THEN RETURN (local_s_r[1]); 
   ELSE local_s_r := []; RETURN(local_s_r[1]);
END_IF;
END_FUNCTION;

Referenced By

Defintion find_representative_shape_representation_of_shape_aspect is references by the following definitions:
DefinitionType
 shape_aspect_relationship_representation_association ENTITY


[Top Level Definitions] [Exit]

Generated by STEP Tools® EXPRESS to HTML Converter
2012-03-27T17:14:00-04:00