FUNCTION get_shape_aspects

(* SCHEMA step_merged_ap_schema; *)
-- DIFF IN AP214
-- DIFF IN AP238 STEP-NC
-- IN AP214/AP238 STEP-NC/AP242
FUNCTION get_shape_aspects
      (c_def_instance : characterized_definition ) : SET OF shape_aspect;
   LOCAL
      pd_set : SET OF product_definition_shape := [];
      pdr_set : SET OF shape_aspect := [];
   END_LOCAL;
      pd_set := bag_to_set(QUERY (pd <* USEDIN(c_def_instance, 'STEP_MERGED_AP_SCHEMA.' + 'PROPERTY_DEFINITION.DEFINITION')| 'STEP_MERGED_AP_SCHEMA.PRODUCT_DEFINITION_SHAPE' IN TYPEOF(pd)));
      IF SIZEOF(pd_set) < 1 THEN
         RETURN (pdr_set);
      END_IF;
      REPEAT i := 1 TO HIINDEX(pd_set) BY 1;
         pdr_set := pdr_set + bag_to_set(USEDIN(pd_set[i], 'STEP_MERGED_AP_SCHEMA.SHAPE_ASPECT.OF_SHAPE'));
      END_REPEAT;
      RETURN (pdr_set);
END_FUNCTION;

Referenced By

Defintion get_shape_aspects is references by the following definitions:
DefinitionType
 barring_hole ENTITY
 bead ENTITY
 feature_in_panel ENTITY
 general_feature ENTITY
 get_diameter_for_round_hole FUNCTION
 hole_in_panel ENTITY
 joggle ENTITY
 rib ENTITY


[Top Level Definitions] [Exit]

Generated by STEP Tools® EXPRESS to HTML Converter
2017-01-19T11:17:24-05:00