Академический Документы
Профессиональный Документы
Культура Документы
Unpublished – rights reserved under the copyright laws of the United States.
Intergraph Corporation
Huntsville, Alabama 35894-0001
Trademarks
Intergraph, the Intergraph logo, SmartSketch, FrameWorks, SmartPlant, INtools, MARIAN, PDS, and IntelliShip
are registered trademarks of Intergraph Corporation. Microsoft and Windows are registered trademarks of Microsoft
Corporation. Other brands and product names are trademarks of their respective owners.
Table of Contents
Table of Contents
Table of Contents ...............................................................................................................3
Introduction........................................................................................................................4
What are Attribute-Based Commodity Codes? ............................................................5
Introduction
This document describes the creation of attribute-based commodity codes (CCs). This
type of CCs is new with MARIAN® 5.5.1.
Rule-driven CCs have an attribute set that works as a commodity rule. The
commodity code string, its description, and the commodity layout are structured
according to this rule.
Free-format CCs are based on a free set of attributes entered to build a CC. The
commodity code and description are entered manually by the user. MARIAN builds
the layout and ensures that the same CC does not already exist in the project and that
another CC with the same attribute value combination does not exist within the same
commodity part.
A special feature (the Default column) in the Valid Values section allows you to
select a row in the Comment/Valid Descriptions column to be the default value.
This value will be used unless you enter a value in the CC creation step at a later
time.
In the Comment/Valid Descriptions column, you can enter one or more alternative
strings enclosed in curly brackets. These strings can contain wildcard symbols such
as the percent sign (%) or the underscore sign (_). If you enter a description or the
data is obtained through the interface, the data is validated against the tokens in the
brackets. The comparison is not case-sensitive. When a match is found, the associated
Valid Value data is transferred to the CC and the first string contained in curly
brackets is accepted as the valid description.
For example, if you want to access the value CS when the user types in text
beginning with “Carb” for the attribute MATERIAL, you would record CS in the
Valid Value column with string values such as {Carbon Steel} and {carb%} in the
Comment/Valid Descriptions field. MARIAN now will find CS as the value and set
the description to Carbon Steel.
You can also assign a value in the Valid Value column and leave the
Comment/Valid Descriptions field blank. If you do not place curly brackets around
the text, you can use the Comment/Valid Descriptions field to enter comments by
typing a description in the field.
Free-Format CC
To create free-format CCs, an attribute set can be used as a master for copying to
create a new CC in S.30.01. You can enter a sequential number in the Seq/Digit
From field. This sequence is kept in S.30.01.
Rule-Driven CC
If you want to create rule-driven CCs, click the associated checkbox. This attribute
set can be used as a rule to structure your CC allowing the Seq/Digit From field to
become mandatory and unique. The Seq/Digit From field determines the purpose of
each CC digit. In the preceding figure, the 1st and 2nd digits are assigned the
th
MATERIAL_INSTR value, the 3rd and 4 digits are assigned the DIAMETER value,
and the 5th digit is assigned RATING information. To limit the digit usage of the last
attribute, assign a value range in the Digit To field.
The Default Value field can contain a fill pattern you can use if the attribute value
does not cover the full length of the reserved digits. If you do not enter a default
value, MARIAN inserts a blank space where needed. You can assign a fixed symbol
(in other words, a hyphen/minus) to appear in your CC by defining a value in the
Digit To field that does not fill the Digit From field of the following attribute. In this
case, the default value is inserted. In a rule-based commodity code, for example,
consider a case where the digits 1-3 are the discipline and digits 4-6 are the material.
A flange commodity code for piping could begin with PIPFLG, filling all 6 digits for
the discipline and material. However, if you abbreviate piping as PI instead of PIP,
you can let MARIAN automatically add a space as the 3rd digit (PIFLG) or put a
hyphen in the Default Value field (PI-FLG).
You can add commodity group and commodity part information to your CC by
defining an attribute called M_COMMODITY_GROUPS or. M_PARTS. Include this
information in the attribute set in the same manner as you define other attributes. On
creation of the CC, the attribute values forming the CC string are derived from the
commodity group/part and the text describing the description/layout of the CC.
You can attach an attribute set to a commodity part. If you attach an attribute set to a
commodity part, the attributes are automatically copied during the creation of the CC
into the S.30.01 Community Code. If you want to use your attribute set as a
commodity rule, you will need the following entry:
3. Enter a temporary placeholder in the Commodity Code field if you build a rule-
driven CC or the authentic CC if you build a free-format one.
4. Set the Type to Attribute Based. The attributes from the attached set will be
copied into the block below.
5. Enter a short description in the Short Desc field. This text is automatically copied
to the Description field.
6. Save all entries and go to the lower block.
7. Manually enter all values with their description or by using the List Of Values
(LOV), if available, and save the entries.
8. You can add more attributes manually or enter a set name in the Additional Set
field. When you have finished, click the Insert Set. If the CC is rule-based, you
cannot add attributes. (See the Kind of Detail field in this block.)
9. Click Build One CC. If the CC is rule-based, the CC changes according to the
attribute set, the description, and the layout. For free-format CCs, only the
commodity layout is created.
Notes
• You cannot use the same CC twice in a project. All attributes and the
values indicating the kind of detail and usage for building the CC
The layout is created by concatenating attribute name value pairs consisting of all
dependent attributes that are defined as building the CC or as the CC layout. The part
information is distributed as part short desc into CC Layout Short and part
description into CC Layout Long. The part information is always first in the layout
string and cannot be suppressed.