Same part but different id and name

From WikiSTEP

Jump to: navigation, search

By default a Part like any other kind of product has exactly one id and one name:

ARM:

ENTITY Product;
  id : STRING;
  name : OPTIONAL STRING;
  description : OPTIONAL STRING;
END_ENTITY;

ENTITY Part
  SUBTYPE OF (Product);
WHERE
  WR1: SIZEOF(['part', 'raw material', 'tool']*types_of_product(SELF))=1;
END_ENTITY;

IR/MIM:

TYPE identifier = STRING; END_TYPE;
TYPE label = STRING; END_TYPE;
TYPE text = STRING; END_TYPE

ENTITY product;
  id : identifier;
  name : label;
  description : OPTIONAL text;
  frame_of_reference : SET [1:?] OF product_context;
END_ENTITY;

STEP provides a few ways to support additional ids and names:

  • AM Product_version_relationship, entity Supplied_part_relationship
  • AM Alias_identification
  • AM Multi_linguism
  • AM Name_assignment
Personal tools