FUNCTION get_id_value

(* SCHEMA integrated_cnc_schema; *)
FUNCTION get_id_value (
    obj : id_attribute_select 
    ) : identifier;
  LOCAL
    id_bag : BAG OF id_attribute := USEDIN(obj, 'INTEGRATED_CNC_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; -- 10303-41: basic_attribute_schema

Referenced By

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


[Top Level Definitions]

Generated by STEP ToolsTM EXPRESS to HTML Converter
on 2010-01-12T10:42:25-02:00