Table of Contents

Theory

Model Type AttrRep

It is is possible to create and define additional modelattributes. All additional model attributes are stored in a class in the Dynamic Library called "__ModelTypeMetaData__". This class must exist only in the dynamic library. Ensure that the ClassAbstract class attribute is set to 1.

You can add attributes of any type, except INTERREF and ATTRPROFREF. When using RECORD attributes the referenced RECORD must not contain any INTERREF attribute. Otherwise an error message will occur.

To adopt the AttrRep you have to add an AttrRep attribute to a model type definition in the Modi attribute value of the concerned library. The attrrep value must be the name of a STRING or LONGSTRING attribute in the __ModelTypeMetaData__ class.

Modi-Attribute:
MODELTYPE "X" .... attrrep:"X Model AttrRep"

Average (0 Votes)
The average rating is 0.0 stars out of 5.

Hands On

Development Tools