IfcDraughtingPreDefinedColour

BACnet MVD

#### IfcDraughtingPreDefinedColour

Natural language names

| Vordefinierte Zeichnungsfarbe
| Draughting Pre Defined Colour

Change log

Item | SPF | XML | Change | Description
--- | --- | --- | --- | ---
IFC2x3 to IFC4
IfcDraughtingPreDefinedColour |  |  | MOVED | Schema changed from IFCPRESENTATIONRESOURCE to IFCPRESENTATIONAPPEARANCERESOURCE.

##### Semantic definitions at the entity

Entity definition

The draughting pre defined colour is a pre defined colour for the purpose to identify a colour by name. Allowable names are:

- 'black',
- 'red',
- 'green',
- 'blue',
- 'yellow',
- 'magenta',
- 'cyan',
- 'white',
- 'by layer'

> NOTE The IfcDraughtingPreDefinedColour is an entity that had been adopted from ISO 10303-202, Industrial automation systems and integration—Product data representation and exchange, Part 202: Application protocol: Associative draughting.

The following table states the RGB values associated with the names given by the IfcDraughtingPreDefinedColour.

> Colour name | Red | Green | Blue
> black | 0 | 0 | 0
> red | 1.0 | 0 | 0
> green | 0 | 1.0 | 0
> blue | 0 | 0 | 1.0
> yellow | 1.0 | 1.0 | 0
> magenta | 1.0 | 0 | 1.0
> cyan | 0 | 1.0 | 1.0
> white | 1.0 | 1.0 | 1.0
> by layer | colour values obtained from IfcPresentationLayerWithStyle. |  |

> NOTE Corresponding ISO 10303 name: draughting_pre_defined_colour. Please refer to ISO/IS 10303-202:1994 page 194 for the final definition of the formal standard.

> HISTORY New entity in IFC2x2.

Informal Propositions:

1. The value 'by layer' shall only be inserted, if the geometric representation item using the colour definition has an association to IfcPresentationLayerWithStyle, and if that instance of IfcPresentationLayerWithStyle has a valid colour definition for IfcCurveStyle, IfcSymbolStyle, or IfcSurfaceStyle (depending on what is applicable).

Formal Propositions

Rule | Description
--- | ---
PreDefinedColourNames | The inherited name for pre defined items shall only have the value of one of the following words.

##### Inherited definitions from supertypes

Entity inheritance
Attribute inheritance

# | Attribute | Type | Cardinality | Description | B
--- | --- | --- | --- | --- | ---
IfcPresentationItem
IfcPreDefinedItem
1 | Name | IfcLabel |  | The string by which the pre defined item is identified. Allowable values for the string are declared at the level of subtypes. |  | X
IfcPreDefinedColour
IfcDraughtingPreDefinedColour

##### Formal representations

XML Specification
`<xs:element name="IfcDraughtingPreDefinedColour" type="ifc:IfcDraughtingPreDefinedColour" substitutionGroup="ifc:IfcPreDefinedColour" nillable="true"/>
<xs:complexType name="IfcDraughtingPreDefinedColour">
<xs:complexContent>
<xs:extension base="ifc:IfcPreDefinedColour"/>
</xs:complexContent>
</xs:complexType>
`
EXPRESS Specification
`ENTITY IfcDraughtingPreDefinedColour
SUBTYPE OF (IfcPreDefinedColour);
WHERE
PreDefinedColourNames : SELF\IfcPreDefinedItem.Name IN ['black','red','green','blue','yellow',
'magenta','cyan','white','by layer'];
END_ENTITY;

EXPRESS-G diagram

`

Link to this page