IDMW 2.0 XML-Schema Dokumentation
SET_FEATURE_DEFAULT Element
IDMW 2.0 XML-Schema Dokumentation > T_NEW_CATALOG Element > FEATURE_DEFINITION Element > DECISIONS Element > DECISION Element > OPTION_COMBINATION Element > ACTIONS Element : SET_FEATURE_DEFAULT Element
Description

This action is used to set standard options.

These can be filled if no value has been entered yet.

  • The following options are available for the setting of options:

- Direct, e.g. main fabric = "blue" (OPTION)

- the setting of option values from another feature (FEATURE), e.g. ledge fabric = main fabric

- the calculation of options.(e.g. seat height + 5 cm).
This function is only available for dimension versions and takes place via a formula string that may contain parameters and values.
This requires the feature (e.g. sitting height) to be assigned with a parameter (e.g. "sh").
The measure parameter (MEASURE_PARAMETER) can be supplemented with a unit (MEASURE_UNIT). The formula (FORMULA_STRING) therefore only contains the parameters (e.g. planning width = 2 * st + sb, which means that the planning width results from the sitting width + 2 times the side element width.

 

Namespace (none)
Diagram
FORMULA_REF Element OPTION_REF Element FEATURE_REF Element Choice SET_FEATURE_DEFAULT Element
Overview
SET_FEATURE_DEFAULT

This action is used to set standard options.

These can be filled if no value has been entered yet.

  • The following options are available for the setting of options:

- Direct, e.g. main fabric = "blue" (OPTION)

- the setting of option values from another feature (FEATURE), e.g. ledge fabric = main fabric

- the calculation of options.(e.g. seat height + 5 cm).
This function is only available for dimension versions and takes place via a formula string that may contain parameters and values.
This requires the feature (e.g. sitting height) to be assigned with a parameter (e.g. "sh").
The measure parameter (MEASURE_PARAMETER) can be supplemented with a unit (MEASURE_UNIT). The formula (FORMULA_STRING) therefore only contains the parameters (e.g. planning width = 2 * st + sb, which means that the planning width results from the sitting width + 2 times the side element width.

 

FEATURE_NO required Restriction of xs:nonNegativeInteger
This attribute is used to reference a feature.    D   nonNegativeInteger
   P   
   M   [0:999]
Choice
FEATURE_REF
This element references another feature for the setting of option values.
FEATURE_NO required Restriction of xs:nonNegativeInteger
This attribute is used to reference a feature.    D   nonNegativeInteger
   P   
   M   [0:999]
OPTION_REF
This element is used to reference an option (OPTION) that is directly set as standard.
OPTION_KEY required Restriction of xs:string
This attribute is used to reference an option.    D   string
   P   
   M   [1:30]
FORMULA_REF
This element is used to reference a formula for the calculation of standard values.
FORMULA_KEY required Restriction of xs:string
This attribute is used to reference a formula.    D   string
   P   
   M   [1:30]
Attributes
NameTypeUseDefaultFixedDescription
FEATURE_NORestriction of xs:nonNegativeIntegerrequired  
This attribute is used to reference a feature.    D   nonNegativeInteger
   P   
   M   [0:999]
Source
<xs:element name="SET_FEATURE_DEFAULT" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:complexType>
    <xs:choice>
      <xs:element name="FEATURE_REF">
        <xs:complexType>
          <xs:attribute name="FEATURE_NO" use="required">
            <xs:annotation>
              <xs:documentation>use required aufgenommen, K. Rchter, 12.06.2015</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:restriction base="xs:nonNegativeInteger">
                <xs:minInclusive value="0" />
                <xs:maxInclusive value="9999" />
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
        </xs:complexType>
      </xs:element>
      <xs:element name="OPTION_REF">
        <xs:complexType>
          <xs:attribute name="OPTION_KEY" use="required">
            <xs:annotation>
              <xs:documentation>use required aufgenommen, K. Rchter, 12.06.2015</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:restriction base="xs:string">
                <xs:minLength value="1" />
                <xs:maxLength value="30" />
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
        </xs:complexType>
      </xs:element>
      <xs:element name="FORMULA_REF">
        <xs:complexType>
          <xs:attribute name="FORMULA_KEY" use="required">
            <xs:annotation>
              <xs:documentation>use required aufgenommen, K. Rchter, 12.06.2015</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:restriction base="xs:string">
                <xs:minLength value="1" />
                <xs:maxLength value="30" />
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
        </xs:complexType>
      </xs:element>
    </xs:choice>
    <xs:attribute name="FEATURE_NO" use="required">
      <xs:simpleType>
        <xs:restriction base="xs:nonNegativeInteger">
          <xs:minInclusive value="0" />
          <xs:maxInclusive value="9999" />
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:complexType>
</xs:element>
See Also
ACTIONS ElementOPTION_COMBINATION ElementDECISION ElementDECISIONS ElementFEATURE_DEFINITION ElementT_NEW_CATALOG ElementIDMW 2.0 XML-Schema Dokumentation