PDM-UG: Document size property

From WikiSTEP

Jump to: navigation, search

This page belongs to the PDM Usage Guide.

The document size related properties of documents are represented accordingly to the general scheme outlined above. To indicate that the property is content related the used representation must be instantiated with:

representation.name = 'document size'

This capability specifies the size of document object. At least one of the items shall be specified for each instance of this property representation. The size property capability differs from the general scheme in the fact that measure_representation_items are instantiated instead of descriptive_representation_items. Aspects of the size property can be modeled via the following instantiations of measure_representation_items collected in the representation.


Requirement measure_representation_item.name
the value that represents the size of a digitally stored document. 'file size'
the number of pages (of a physical document) 'page count'

Measure representation item

A measure_representation_item is, in the document property context, an element that participates in one or more representations to define the respective properties by defining measure values with associated units.

Attributes

  • The name attribute characterizes the information modeled with the measure_representation_item via a string.
  • The value_component attribute defines a value as an instantiation of the modeled property.
  • The unit_component attribute provides the unit for the size or page counts measure.


ENTITY measure_representation_item Attribute Population Remarks
name type: label = STRING must be 'file size' or 'page count' in the given context
value_component type: select measure_value = REAL | -NUMBER to indicate the select type it is recommended to instantiate COUNT_MEASURE(nr) for page numbers and CONTEXT_DEPENDENT_MEASURE(size) for 'file size'
unit_component type: select unit = NAMED_UNIT | DERIVED_UNIT It is recommended to use a context_dependent_unit as unit component

===Preprocessor Recommendations=== For 'page count' it is recommended to instantiate an INTEGER as value_component. For 'file size' it is recommended to instantiate a REAL. The related dimensional_exponents should all be set to 0.

===Postprocessor Recommendations=== None specified.

===Related Entities=== None specified.

The Instance Model: STEP exchange file format (ISO10303 Part 21 syntax)

#90 = DOCUMENT_TYPE();
#100 = DOCUMENT_FILE('hardcopy', , $, #90, , $);
#110 = DOCUMENT_REPRESENTATION_TYPE('physical', #100);
#120 = PROPERTY_DEFINITION('document property', , #100);
#130 = PROPERTY_DEFINITION_REPRESENTATION(#120, #140);
#140 = REPRESENTATION('document size', (#150), #200);
#150 = MEASURE_REPRESENTATION_ITEM('page count', COUNT_MEASURE(1), #170);
#160 = DIMENSIONAL_EXPONENTS(0.0E+000, 0.0E+000, 0.0E+000, 0.0E+000, 0.0E+000, 0.0E+000, 0.0E+000);
#170 = CONTEXT_DEPENDENT_UNIT('pages',#160);
Example 39: exchange file segment for size property representation
Personal tools