PDM-UG: Document type classification
From WikiSTEP
This page belongs to the PDM Usage Guide.
The PDM Schema supports the assignment of document type information to documents and document files. Type classification of documents is discussed in Document Identification Type Classification and Specific Document Type Classification. The other approach is outlined in the following subsections. In the case of an assignment to a document file, the type characteristics apply on an individual basis. The PDM Schema does not support the assignment of a classification system relative to which the classification has been done.
Contents |
Document type classification for document files
A document_file provides in its attribute kind a pointer to the entity document_type. Document_type.product_data_type can be used for the classification of the type of the document_file.
Document type
Attributes
- The product_data_type attribute describes the type of product data represented by the document entity.
| ENTITY document_type | Attribute Population | Remarks |
| product_data_type | type: identifier = string |
===Preprocessor Recommendations=== Where applicable the following values shall be used:
- 'geometry': The document file represents a shape model;
- 'NC data': The document file represents numerical control data;
- 'FE data': The document file represents finite element data;
- 'sample data': The document file represents measured data;
- 'process plan': The document file represents process planning data;
- 'check plan': The document file represents quality control planning data;
- 'drawing': The document file represents a technical drawing.
===Postprocessor Recommendations=== None specified.
===Related Entities=== This entity is required for each instance of the entity document.
The Instance Model: STEP exchange file format (ISO10303 Part 21 syntax)
#80 = DOCUMENT_FILE('file1', '', $, #90, '', $);
#90 = DOCUMENT_TYPE('geometry');
#100 = DOCUMENT_REPRESENTATION_TYPE('digital', #80);
The Instance Model: STEP exchange file format (ISO10303 Part 21 syntax)
#50 = APPLICATION_CONTEXT('');
#70 = PRODUCT_DEFINITION_CONTEXT('digital document definition', #50, '');
#75 = DESCRIPTION_ATTRIBUTE('geometry',#75);
#110 = PRODUCT_DEFINITION_WITH_ASSOCIATED_DOCUMENTS('dig1', 'digital document 1', #10, #70, #80));
ISO-10303-21;
HEADER;
FILE_DESCRIPTION(('Xample file for document properties'), '2;1');
FILE_NAME('', '15.06.1999, 10:39:20', ('N.N.'), (''), '', '', '');
FILE_SCHEMA(('PDM_SCHEMA {1.2}'));
ENDSEC;
DATA;
/* entities #10 to #70 represent a managed document with its context **/
#10 = PRODUCT_DEFINITION_FORMATION('1', 'version 1', #20);
#20 = PRODUCT('doc1', 'cad-model', 'managed document representing a CAD model', (#30));
#30 = PRODUCT_CONTEXT('', #50, '');
#40 = PRODUCT_RELATED_PRODUCT_CATEGORY('document', '', (#20));
#50 = APPLICATION_CONTEXT('');
#60 = APPLICATION_PROTOCOL_DEFINITION('version 1.2', 'pdm_schema', 2000, #50);
#70 = PRODUCT_DEFINITION_CONTEXT('digital document definition', #50, '');
/* Entities #75 to #110 represent the digital document with id 'file1' */
/* that is associated to the document #20 via #110 */
#75 = DESCRIPTION_ATTRIBUTE('geometry',#230);
#80 = DOCUMENT_FILE('file1', '', $, #90, '', $);
#90 = DOCUMENT_TYPE('geometry');
#100 = DOCUMENT_REPRESENTATION_TYPE('digital', #80);
#110 = PRODUCT_DEFINITION_WITH_ASSOCIATED_DOCUMENTS('dig1', 'digital document 1', #10, #70, (#80));
/* Entities #120 to #130 represent an external hardcopy that is associated */
/* via the reference #125 to the part view defined by #550 */
#120 = DOCUMENT_FILE('hardcopy', '', $, #90, '', $);
#125 = APPLIED_DOCUMENT_REFERENCE(#120,'',(#550));
#130 = DOCUMENT_REPRESENTATION_TYPE('physical', #120);
/* Entities #140 to #200 assign document format parameters to 'file1' (#80) */
#140 = PROPERTY_DEFINITION('document property', '', #80);
#150 = PROPERTY_DEFINITION_REPRESENTATION(#140, #160);
#160 = REPRESENTATION('document format', (#170, #180, #190), #200);
#170 = DESCRIPTIVE_REPRESENTATION_ITEM('document format', 'VOXEL');
#180 = DESCRIPTIVE_REPRESENTATION_ITEM('size format', '5MB');
#190 = DESCRIPTIVE_REPRESENTATION_ITEM('character code', 'binary');
#200 = REPRESENTATION_CONTEXT('', 'document parameters');
/* Entities #210 to #250 assign document content parameters to 'file1' (#80) */
#210 = PROPERTY_DEFINITION('document property', '', #80);
#220 = PROPERTY_DEFINITION_REPRESENTATION(#210, #230);
#230 = REPRESENTATION('document content', (#240, #250), #200);
#240 = DESCRIPTIVE_REPRESENTATION_ITEM('detail level', 'rough 3D shape');
#250 = DESCRIPTIVE_REPRESENTATION_ITEM('geometry type', 'solid model');
/* Entities #210 to #250 assign document creation parameters to 'file1' (#80)*/
#260 = PROPERTY_DEFINITION('document property', '', #80);
#270 = PROPERTY_DEFINITION_REPRESENTATION(#260, #280);
#280 = REPRESENTATION('document creation', (#290, #300, #310), #200);
#290 = DESCRIPTIVE_REPRESENTATION_ITEM('creating system', 'My CAD');
#300 = DESCRIPTIVE_REPRESENTATION_ITEM('operating system', 'Linux 2.1');
#310 = DESCRIPTIVE_REPRESENTATION_ITEM('creating interface', 'export driver');
/* Entities #210 to #250 assign document format parameters to */
/* the hardcopy document defined by #120 */
#320 = PROPERTY_DEFINITION('document property', '', #120);
#330 = PROPERTY_DEFINITION_REPRESENTATION(#320, #340);
#340 = REPRESENTATION('document format', (#360), #200);
#360 = DESCRIPTIVE_REPRESENTATION_ITEM('size format', 'A0');
/* Entities #490 to #640 define the part master data and the association */
/* of the documents to the part */
#490 = PRODUCT_CATEGORY_RELATIONSHIP('', $, #500, #510);
#500 = PRODUCT_RELATED_PRODUCT_CATEGORY('Part', '', (#520));
#510 = PRODUCT_RELATED_PRODUCT_CATEGORY('Detail', $, (#520));
#520 = PRODUCT('mp1', 'my_part', '', (#30));
#530 = PRODUCT_RELATED_PRODUCT_CATEGORY('part', '', (#520));
#540 = PRODUCT_DEFINITION_FORMATION('1', '', #520);
#550 = PRODUCT_DEFINITION('ddid', 'design view on my_part', #540, #560);
#560 = PRODUCT_DEFINITION_CONTEXT('part definition', #50, '');
#590 = APPLIED_DOCUMENT_REFERENCE(#600, 'equivalence', (#550));
#600 = DOCUMENT('', '', '', #610);
#610 = DOCUMENT_TYPE('configuration controlled document version');
#620 = ROLE_ASSOCIATION(#630, #590);
#630 = OBJECT_ROLE('obligatory', '');
#640 = DOCUMENT_PRODUCT_EQUIVALENCE('equivalence', '', #600, #10);
ENDSEC;
END-ISO-10303-21;

