> For the complete documentation index, see [llms.txt](https://docs.dietrichs.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.dietrichs.com/dietrichs-intelligent-documentation/francais/ifc-industry-foundation-classes/import-ifc/fichiers-de-classement/conditions-utilisant-des-variables-systeme.md).

# Conditions utilisant des variables système

Diverses variables du système peuvent être utilisées pour formuler les conditions, qui utilisent des variables déterminées et fournies par le système. Les dimensions comme la largeur d'ouverture, les propriétés comme le sens d'ouverture, mais aussi les types de description de l'IFC sont typiques.

* La section est introduite par : <mark style="background-color:$primary;">**\[ASSIGN ITEM CONDITIONS SYSTEM\_ATTRIBUTES]**</mark>. Il ne peut y avoir qu'une seule section de ce type dans chaque <mark style="background-color:$primary;">**ASSIGN ITEM**</mark>.
* Une condition est formulée dans chaque ligne. Elle est introduite par l’identifiant Condition placé devant le signe d’égalité. Le signe égal est suivi de la condition réelle entre parenthèses.&#x20;

<details>

<summary>Exemple</summary>

..

<mark style="color:blue;">Condition=</mark>(<mark style="color:blue;">**OB**</mark><1.10)

..

</details>

* Si la variable système est un nombre, celui-ci est écrit directement derrière le signe égal&#x20;

<details>

<summary>Exemple</summary>

..

<mark style="color:blue;">Condition=</mark>(<mark style="color:blue;">**OH**</mark>=1.23)

..

</details>

* Toutefois, s'il s'agit d'un texte qui commence par un chiffre (seulement à ce moment-là), il doit être écrit entre guillemets. &#x20;

<details>

<summary>Exemple</summary>

..

<mark style="color:blue;">Condition=</mark>(<mark style="color:yellow;">IFCNAME</mark>="1.23")

..

</details>

* Vous trouverez de plus amples informations sur la formulation des conditions dans le document [Variables\_Ud\*.doc](/dietrichs-intelligent-documentation/francais/le-systeme-de-variables.md), au chapitre [*Formules conditionnelles, conditions*](/dietrichs-intelligent-documentation/francais/le-systeme-de-variables/formules-et-textes/formules.md#formules-conditionnelles-conditions). Dans les fichiers d'attribution, vous pouvez aussi utiliser les méthodes de référencement et de joker.

Les variables du système qui peuvent être utilisées ici sont énumérées ci-dessous :

## Détails de l'étage actuel

* Utilisable pour : Fenêtres, portes, Réservation DI-COB
* L'étage actuel correspond à l'étage qui a été attribué lors de l'importation. Il s'agit de l'étage où se trouve le mur dans le bâtiment après l'importation. La désignation de l'étage utilisée dans l'IFC n'a aucune signification ici.
* L'étage actuel est décrit par le nom et le numéro de l'étage.
* L'affectation au toit ou à la construction libre peuvent également être considérées ici.
* Mot clef pour le nom de l'étage : <mark style="color:blue;">**SWAKT**</mark>
  * Les identifiants internes sont utilisées. Valeurs possibles :\ <mark style="color:yellow;">BS</mark> (pour SS)\~<mark style="color:yellow;">GF</mark> (pour RC)\~<mark style="color:yellow;">UF</mark> (pour Et)\~<mark style="color:yellow;">AG</mark> (pour Co)\~<mark style="color:yellow;">ROOF</mark> (pour Toit)\~<mark style="color:yellow;">FREECONSTRUCTION</mark> (pour CL – Construction libre)
  * Une condition (<mark style="color:blue;">**SWAKT**</mark><mark style="color:blue;">=</mark><mark style="color:yellow;">UF</mark>) couvre tous les étages supérieurs, quel que soit le numéro :\
    Et, Et 1, Et 2, etc…
  * L'utilisation de listes est utile ici. Alors que (<mark style="color:blue;">**SWAKT**</mark><mark style="color:blue;">=</mark><mark style="color:yellow;">UF</mark>) est limité aux étages supérieurs, (<mark style="color:blue;">**SWAKT**</mark><mark style="color:blue;">=</mark>{<mark style="color:yellow;">GF</mark>\~<mark style="color:yellow;">UF</mark>}) considère le rez-de-chaussée et les étages supérieurs.

<details>

<summary>Exemple</summary>

..

<mark style="color:blue;">Condition=</mark>(<mark style="color:blue;">**SWAKT**</mark><mark style="color:blue;">=</mark><mark style="color:yellow;">UF</mark>)

..

</details>

* Mot clef pour le numéro d'étage : <mark style="color:blue;">**SWAKTNUM**</mark>
  * Il s'agit d'un simple numéro.  Valeurs possibles : 1, 2, 3, etc…
  * Une condition (<mark style="color:blue;">**SWAKTNUM**</mark><mark style="color:blue;">=</mark>1) combinée à une condition pour la variable <mark style="color:blue;">**SWAKT**</mark> limite l'étage à un certain niveau, par exemple Et 1 mais pas Et 2, Et 3, etc…

<details>

<summary>Exemples</summary>

..

<mark style="color:blue;">Condition=</mark>(<mark style="color:blue;">**SWAKTNUM**</mark><mark style="color:blue;">=</mark>1)

<mark style="color:blue;">Condition=</mark>(<mark style="color:blue;">**SWAKT**</mark><mark style="color:blue;">=</mark><mark style="color:yellow;">UF</mark>)&(<mark style="color:blue;">**SWAKTNUM**</mark><mark style="color:blue;">=</mark>1)

..

</details>

## Conception de l’élément de bâtiment

* Utilisable pour : Fenêtres, portes, Réservation DI-COB
* La conception actuelle correspond à celle assignée lors de l’importation. Cela correspond à la conception de mur obtenue une fois l’import IFC effectué. La conception définie dans l’IFC (**`IfcMaterialLayerSet`**) n’a ici aucune incidence.
* Mot clef pour la conception de mur : <mark style="color:blue;">**AUSF**</mark>
  * Le nom de la conception de mur est indiquée derrière le signe égal pour ce mot clef.
  * L'utilisation de joker est une bonne idée ici. Alors que la condition (<mark style="color:blue;">**AUSF**</mark><mark style="color:blue;">=</mark>Mur ossature bois\_V) se limite exactement à cette conception, la condition (<mark style="color:blue;">**AUSF**</mark><mark style="color:blue;">=</mark>\*ossature bois\*) considère toutes les conceptions ont le nom comporte le terme *ossature bois*.

<details>

<summary>Exemples</summary>

..

<mark style="color:blue;">Condition=</mark>(<mark style="color:blue;">**AUSF**</mark><mark style="color:blue;">=</mark>ossature bois)

<mark style="color:blue;">Condition=</mark>(<mark style="color:blue;">**AUSF**</mark><mark style="color:blue;">=</mark>\*ossature bois\*)

..

</details>

## Dimensions des ouvertures

Utilisable pour : Fenêtres, portes, Réservation DI-COB

* Mot clef pour la hauteur d’ouverture : <mark style="color:blue;">**OH**</mark>
  * Hauteur de l’ouverture indiquée dans le fichier IFC.

<details>

<summary>Exemple</summary>

..

<mark style="color:blue;">Condition=</mark>(<mark style="color:blue;">**OH**</mark>>1.20)

..

</details>

* Mot clef pour la largeur d’ouverture : <mark style="color:blue;">**OB**</mark>
  * Largeur de l’ouverture indiquée dans le fichier IFC.

<details>

<summary>Exemple</summary>

..

<mark style="color:blue;">Condition=</mark>(<mark style="color:blue;">**OB**</mark>>1.20)

..

</details>

* Mot clef pour la hauteur d’allège depuis dessous mur : <mark style="color:blue;">**OBhUkW**</mark>
  * Hauteur d'allège de l'ouverture brute détectée dans IFC par rapport au-dessous du mur dans l'IFC.

<details>

<summary>Exemple</summary>

..

<mark style="color:blue;">Condition=</mark>(<mark style="color:blue;">**OBhUkW**</mark><0.30)

..

</details>

## Informations sur les ouvertures

Utilisable pour : Fenêtres, portes, Réservation DI-COB

* Mot clef pour le sens d'ouverture des fenêtres / portes ou orientation pour les réservations DI-COB : <mark style="color:blue;">**OOeRi**</mark>
  * Détection du sens d'ouverture ou de l'orientation définis dans l'IFC.
  * Les identifiants internes sont utilisées.  Valeurs possibles :
    * <mark style="color:yellow;">InDirection</mark> (pour Intérieur)
    * <mark style="color:yellow;">AgainstDirection</mark> (pour Extérieur)

<details>

<summary>Exemple</summary>

..

<mark style="color:blue;">Condition=</mark>(<mark style="color:blue;">**OOeRi**</mark><mark style="color:blue;">=</mark><mark style="color:yellow;">InDirection</mark>)

..

</details>

* Mot clef pour type d’ouverture *Passage* de porte, détection de passage : <mark style="color:blue;">**V\_OAGaA1**</mark>
  * Cette entrée est uniquement destinée aux passages.  Elles font partie des portes rectangulaires dans la construction des bâtiments. Cette entrée est uniquement utilisée pour ne pas traiter les ouvertures comme d'autres portes.
  * Les passages sont détectés lors de l'importation IFC ; voir le chapitre correspondant : Propriétés des fenêtres et des portes reconnues lors de l'importation
  * Les identifiants internes sont utilisées.  Valeurs possibles :&#x20;
    * <mark style="color:yellow;">DuBru</mark> (pour Passage)
  * Condition qui exclut les passages : <mark style="color:blue;">Condition=</mark>(<mark style="color:blue;">**V\_OAGaA1**</mark><mark style="color:blue;">!=</mark><mark style="color:yellow;">DuBru</mark>).

<details>

<summary>Exemple</summary>

..

<mark style="color:blue;">Condition=</mark>(<mark style="color:blue;">**V\_OAGaA1**</mark><mark style="color:blue;">!=</mark><mark style="color:yellow;">DuBru</mark>)

..

</details>

* Mot clef pour le nom de l'ouverture dans l'IFC : <mark style="color:blue;">**IFCNAME**</mark>
  * Dans l'IFC, l'ouverture brute elle-même a son propre nom.

<details>

<summary>Exemple</summary>

..

<mark style="color:blue;">Condition=</mark>(<mark style="color:blue;">**IFCNAME**</mark><mark style="color:blue;">=</mark>Porte intérieure)

..

</details>

* Mot clef pour le nom des composants pour l'ouverture dans IFC : <mark style="color:blue;">**IFCRELFILLSNAME**</mark>
  * Dans l'IFC, c'est le nom du composant qui se trouve dans l'ouverture, c'est-à-dire la menuiserie porte ou la fenêtre proprement dite.

<details>

<summary>Exemple</summary>

..

<mark style="color:blue;">Condition=</mark>(<mark style="color:blue;">**IFCRELFILLSNAME**</mark><mark style="color:blue;">=</mark>MenuiserieChêne)

..

</details>

* Mot clef pour les types de portes dans l'IFC : <mark style="color:blue;">**IfcDoorStyle\_OperationType**</mark>
  * Dans l'IFC, il existe une liste des types de portes.  Le type définit simultanément le type de porte, le sens d'ouverture et le nombre de vantaux.
  * Il convient de noter que le sens d'ouverture dans l'IFC est conceptuellement inversé, comme le définit la norme DIN.
  * Les termes définis par le format IFC sont utilisés.  Les valeurs les plus importantes possibles
    * <mark style="color:yellow;">SINGLE\_SWING\_LEFT</mark> (1 vantail, porte battante, DIN droite)
    * <mark style="color:yellow;">SINGLE\_SWING\_RIGHT</mark> (1 vantail, porte battante, DIN gauche)
    * <mark style="color:yellow;">DOUBLE\_DOOR\_SINGLE\_SWING</mark> (2 vantaux, porte battante)
    * <mark style="color:yellow;">SLIDING\_TO\_LEFT</mark> (1 vantail, porte coulissante, de droite)
    * <mark style="color:yellow;">SLIDING\_TO\_RIGHT</mark> (1 vantail, porte coulissante, de gauche)
    * <mark style="color:yellow;">DOUBLE\_DOOR\_SLIDING</mark> (2 vantaux, porte coulissante)
    * <mark style="color:yellow;">FOLDING\_TO\_LEFT</mark> (1 vantail, porte extensible, de droite)
    * <mark style="color:yellow;">FOLDING\_TO\_RIGHT</mark> (1 vantail, porte extensible, de gauche)
    * <mark style="color:yellow;">DOUBLE\_DOOR\_FOLDING</mark> (2 vantaux, porte extensible)

<details>

<summary>Exemple</summary>

..

<mark style="color:blue;">Condition=</mark>(<mark style="color:blue;">**IfcDoorStyle\_OperationType**</mark><mark style="color:blue;">=</mark><mark style="color:yellow;">SINGLE\_SWING\_LEFT</mark>)

..

</details>

* Mot clef pour les types de fenêtres dans l'IFC : <mark style="color:blue;">**IfcWindowStyle.OperationType**</mark>
  * Dans l'IFC, il existe une liste des types de fenêtres. Le type définit uniquement le nombre et la répartition des ouvrants.
  * Les termes définis par le format IFC sont utilisés.  Les valeurs les plus importantes possibles
    * <mark style="color:yellow;">SINGLE\_PANEL</mark> (1 vantail)
    * <mark style="color:yellow;">DOUBLE\_PANEL\_VERTICAL</mark> (2 vantaux, divisés verticalement)
    * <mark style="color:yellow;">DOUBLE\_PANEL\_HORIZONTAL</mark> (2 vantaux, divisés horizontalement)
    * <mark style="color:yellow;">TRIPLE\_PANEL\_VERTICAL</mark> (3 vantaux, divisés verticalement)
    * <mark style="color:yellow;">TRIPLE\_PANEL\_BOTTOM</mark> (3 vantaux, dont 2 en haut, un en bas)
    * <mark style="color:yellow;">TRIPLE\_PANEL\_TOP</mark> (3 vantaux, dont 2 en bas, un en haut)
    * <mark style="color:yellow;">TRIPLE\_PANEL\_LEFT</mark> (3 vantaux, dont 2 à droite, un à gauche)
    * <mark style="color:yellow;">TRIPLE\_PANEL\_RIGHT</mark> (3 vantaux, dont 2 à gauche, un à droite)
    * <mark style="color:yellow;">TRIPLE\_PANEL\_HORIZONTAL</mark> (3 vantaux, divisés horizontalement)
    * <mark style="color:yellow;">USERDEFINED</mark> (défini par l'utilisateur)
    * <mark style="color:yellow;">NOTDEFINED</mark> (non défini)
  * ~~La définition du type et du sens d'ouverture serait donnée dans l'IFC pour les fenêtres de chaque vantail.  Cependant, ces informations ne sont généralement pas écrites dans les fichiers IFC créés à partir de logiciels d'architecture. Par conséquent, nous ne proposons pas actuellement d'évaluation de ces paramètres.~~

<details>

<summary>Exemple</summary>

..

<mark style="color:blue;">Condition=</mark>(<mark style="color:blue;">**IfcWindowStyle.OperationType**</mark><mark style="color:blue;">=</mark><mark style="color:yellow;">SINGLE\_PANEL</mark>)

..

</details>

{% hint style="info" %}
À partir de la version 17.02
{% endhint %}

* Mot clef pour les types et sens d'ouverture des vantaux dans l'IFC : <mark style="color:blue;">**IfcWindowPanelProperties**</mark>
  * Au sein de l'IFC, les informations relatives aux vantaux sont définies dans les **`IfcWindowPanelProperties`**. Il existe un **`PropertySet`** pour chaque vantail. Les informations pertinentes sont la position du vantail, type et le sens d'ouverture. Ces informations sont transférées à des variables spéciales.
  * Le format IFC comporte les positions suivantes pour les vantaux : <mark style="color:yellow;">LEFT</mark> (gauche) <mark style="color:yellow;">MIDDLE</mark> (milieu) <mark style="color:yellow;">RIGHT</mark> (droite) <mark style="color:yellow;">BOTTOM</mark> (bas) <mark style="color:yellow;">TOP</mark> (haut). Celles-ci sont définies en fonction de **`IfcWindowStyle.OperationType`**. Se référer à la définition de **`IfcWindowPanelPositionEnum`** dans la documentation IFC. (21.01) En accord avec plusieurs logiciels d'export (par exemple Vi de swp), les positions <mark style="color:yellow;">MIDDLELEFT</mark> et <mark style="background-color:yellow;">MIDDLERIGHT</mark> peuvent également être transmises pour les fenêtres à quatre (cinq) vantaux. Cela n'est possible qu'indirectement, puisque le dénombrement dans l'IFC n'autorise que la position <mark style="color:yellow;">MIDDLE</mark>. Si nous obtenons 2 (3) vantaux avec la position <mark style="color:yellow;">MIDDLE</mark>, nous transmettons l'identifiant de position selon leur séquence comme indiqué dans l'image :

    <figure><img src="/files/dWFCPGUutCQPfdmH1f9o" alt=""><figcaption><p>IFC_Fenêtre_position_étendue_vantaux.png</p></figcaption></figure>
  * Cette position du vantail est transférée au nom de la variable, c'est-à-dire qu'elle fait partie du nom de la variable :
    * Pour le type d’ouverture : <mark style="color:yellow;">IFC\_OAGaA\_\*\_IN</mark> avec \* = {<mark style="color:yellow;">LEFT</mark>, <mark style="color:yellow;">MIDDLE</mark>, <mark style="color:yellow;">RIGHT</mark>, <mark style="color:yellow;">BOTTOM</mark>, <mark style="color:yellow;">TOP</mark>}.
    * Pour le sens d’ouverture : <mark style="color:yellow;">IFC\_OAAnS\_\*\_IN</mark> avec \* = {<mark style="color:yellow;">LEFT</mark>, <mark style="color:yellow;">MIDDLE</mark>, <mark style="color:yellow;">RIGHT</mark>, <mark style="color:yellow;">BOTTOM</mark>, <mark style="color:yellow;">TOP</mark>}.
    * Ainsi, le type et le sens d'ouverture d'un vantail avec la position gauche seraient transmis avec les variables suivantes : <mark style="color:yellow;">IFC\_OAGaA\_LEFT\_IN</mark> et <mark style="color:yellow;">IFC\_OAAnS\_LEFT\_IN</mark>.
  * Dans l'IFC, l'engrenage et le côté arrêt sont enregistrés avec une valeur : **`IfcWindowPanelProperties.OperationType`** avec les valeurs possibles selon **`IfcWindowPanelOperationEnum`**. Les variables sont définies selon le tableau suivant ; les valeurs dépendent de la langue :

&#x20;

<table><thead><tr><th valign="top">IfcWindowPanelOperationEnum</th><th valign="top">IFC_OAGaA_*_IN</th><th valign="top">IFC_OAAnS_*_IN</th></tr></thead><tbody><tr><td valign="top">SIDEHUNGRIGHTHAND</td><td valign="top">Battante</td><td valign="top">DIN gauche</td></tr><tr><td valign="top">SIDEHUNGLEFTHAND</td><td valign="top">Battante</td><td valign="top">DIN droite</td></tr><tr><td valign="top">TILTANDTURNRIGHTHAND</td><td valign="top">Oscillo-battante</td><td valign="top">DIN gauche</td></tr><tr><td valign="top">TILTANDTURNLEFTHAND</td><td valign="top">Oscillo-battante</td><td valign="top">DIN droite</td></tr><tr><td valign="top">TOPHUNG</td><td valign="top">Relevable</td><td valign="top">En haut</td></tr><tr><td valign="top">BOTTOMHUNG</td><td valign="top">Soufflet</td><td valign="top">En bas</td></tr><tr><td valign="top">PIVOTHORIZONTAL</td><td valign="top">Pivotante</td><td valign="top">-</td></tr><tr><td valign="top">PIVOTVERTICAL</td><td valign="top">Basculante</td><td valign="top">-</td></tr><tr><td valign="top">SLIDINGHORIZONTAL</td><td valign="top">Coulissante</td><td valign="top">De gauche</td></tr><tr><td valign="top">SLIDINGVERTICAL</td><td valign="top">Coulissante</td><td valign="top">Du bas</td></tr><tr><td valign="top">REMOVABLECASEMENT</td><td valign="top">Fixe</td><td valign="top">-</td></tr><tr><td valign="top">FIXEDCASEMENT</td><td valign="top">Fixe</td><td valign="top">-</td></tr><tr><td valign="top">OTHEROPERATION</td><td valign="top">OTHEROPERATION</td><td valign="top">-</td></tr><tr><td valign="top">NOTDEFINED</td><td valign="top">NOTDEFINED</td><td valign="top">-</td></tr></tbody></table>

## &#x20;Exemple d’utilisation des variables système

<details>

<summary>Exemple</summary>

..

<mark style="background-color:$primary;">**\[ASSIGN ITEM CONDITIONS SYSTEM\_ATTRIBUTES]**</mark>

<mark style="color:blue;">Condition=</mark>(<mark style="color:blue;">**V\_OAGaA1**</mark>!=<mark style="color:yellow;">DuBru</mark>)

&#x20;

<mark style="color:blue;">Condition=</mark>(<mark style="color:blue;">**SWAKT**</mark>=<mark style="color:yellow;">GF</mark>)

<mark style="color:blue;">Condition=</mark>(<mark style="color:blue;">**AUSF**</mark>={\*ossature bois})

<mark style="color:blue;">Condition=</mark>(**`IFCNAME`**=NomOuverture)

<mark style="color:blue;">Condition=</mark>(**`IFCRELFILLSNAME`**=NomMenuiserie)

<mark style="color:blue;">Condition=</mark>(<mark style="color:blue;">**OOeRi**</mark>=<mark style="color:yellow;">InDirection</mark>)

<mark style="color:blue;">Condition=</mark>(**`IfcDoorStyle_OperationType`**=<mark style="color:yellow;">SINGLE\_SWING\_RIGHT</mark>)

<mark style="color:blue;">Condition=</mark>(**`IfcWindowStyle_OperationType`**=<mark style="color:yellow;">SINGLE\_PANEL</mark>)

<mark style="color:blue;">Condition=</mark>(<mark style="color:blue;">**OB**</mark>>1.0)&(<mark style="color:blue;">**OB**</mark><2.0)

<mark style="color:blue;">Condition=</mark>(<mark style="color:blue;">**OH**</mark><1.20)

<mark style="background-color:$primary;">**\[ASSIGN ITEM CONDITIONS SYSTEM\_ATTRIBUTES ENDSEC]**</mark>

</details>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.dietrichs.com/dietrichs-intelligent-documentation/francais/ifc-industry-foundation-classes/import-ifc/fichiers-de-classement/conditions-utilisant-des-variables-systeme.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
