FUNCTION valid_identified_item_in_representation
(* SCHEMA step_merged_ap_schema; *)
-- IN AP238 STEP-NC/AP242
FUNCTION valid_identified_item_in_representation
(identified_item : item_identified_representation_usage_select;
used_representation : representation ) : BOOLEAN;
LOCAL
i : INTEGER := 1;
END_LOCAL;
IF 'STEP_MERGED_AP_SCHEMA.REPRESENTATION_ITEM' IN TYPEOF(identified_item) THEN
RETURN (used_representation IN using_representations(identified_item));
END_IF;
IF ('STEP_MERGED_AP_SCHEMA.LIST_REPRESENTATION_ITEM' IN TYPEOF(identified_item)) OR ('STEP_MERGED_AP_SCHEMA.SET_REPRESENTATION_ITEM' IN TYPEOF(identified_item)) THEN
REPEAT WHILE EXISTS(identified_item[i]);
IF NOT (used_representation IN using_representations(identified_item[i])) THEN
RETURN (FALSE);
END_IF;
i := i + 1;
END_REPEAT;
RETURN (TRUE);
END_IF;
RETURN (?);
END_FUNCTION;
Referenced By
Defintion valid_identified_item_in_representation is references by the following definitions:
[Top Level Definitions] [Exit]Generated by STEP Tools® EXPRESS to HTML Converter
2024-09-06T14:00:33-04:00