FUNCTION get_id_value

(* SCHEMA step_ship_schema; *)
-- ONLY IN AP215/AP216/AP218
FUNCTION get_id_value(
             obj: id_attribute_select
    ): identifier;

  LOCAL
    id_bag : BAG OF id_attribute := USEDIN(obj,(
              'STEP_SHIP_SCHEMA.' + 'ID_ATTRIBUTE.') +
              'IDENTIFIED_ITEM');
  END_LOCAL;
  IF SIZEOF(id_bag) = 1 THEN
    RETURN(id_bag[1].attribute_value);
  ELSE
    RETURN(?);
  END_IF;

END_FUNCTION;

Referenced By

Defintion get_id_value is references by the following definitions:
DefinitionType
 action ENTITY
 address ENTITY
 application_context ENTITY
 group ENTITY
 organizational_project ENTITY
 product_category ENTITY
 property_definition ENTITY
 representation ENTITY
 shape_aspect ENTITY
 shape_aspect_relationship ENTITY


[Top Level Definitions] [Exit]

Generated by STEP ToolsTM EXPRESS to HTML Converter
on 2007-09-24T12:42:22-04:00