FUNCTION get_shape_aspects
(* SCHEMA step_merged_ap_schema; *)
-- 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);
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:
[Top Level Definitions] [Exit]Generated by STEP Tools® EXPRESS to HTML Converter
2020-07-28T17:02:20-04:00