RULE restrict_product_definition_context_for_external_properties

(* SCHEMA step_merged_ap_schema; *)
-- IN AP214
RULE restrict_product_definition_context_for_external_properties FOR (general_property_association, product_definition );
   WHERE
      wr1:
         SIZEOF(QUERY (pd <* product_definition| (SIZEOF(QUERY (propd <* USEDIN(pd, 'STEP_MERGED_AP_SCHEMA.PROPERTY_DEFINITION.DEFINITION')| (SIZEOF(QUERY (gpa <* USEDIN(propd, 'STEP_MERGED_AP_SCHEMA.GENERAL_PROPERTY_ASSOCIATION.DERIVED_DEFINITION')| ('STEP_MERGED_AP_SCHEMA.' + 'EXTERNALLY_DEFINED_GENERAL_PROPERTY' IN TYPEOF(gpa.base_definition)))) > 0))) > 0) AND (SIZEOF(QUERY (pdca <* USEDIN(pd, 'STEP_MERGED_AP_SCHEMA.PRODUCT_DEFINITION_CONTEXT_ASSOCIATION.DEFINITION')| (pdca.frame_of_reference.name = 'external') AND (pdca.role.name = 'external'))) = 0))) = 0;
END_RULE;

[Top Level Definitions] [Exit]

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