Represent Objects by colors based on "Floor use"

Represent Objects by colors based on "Floor use"

In CadnaA it is possible to represent different objects by colors depending on which soil area they belong to. One way to do this is as follows:

1) Define the "Lil-use areas" of the project:



In the example, 2 soil uses which have been defined: Mixed Area (Orange) i Living Area (Red).



2) Define a MEMO variable called "Use" and assign a value 1 to buildings within the Mixed Area and a value of 2 to buildings within the Living Area. To do this, select the Mixed Area perimeter first, click on the optionModify Object...and configure as follows:



PressOk okand configure as follows:



PressOk ok,Alland repeat the procedure but selecting the perimeter of Living Area and the fieldNew valueassign 2.

If you enter the MEMO section of any building (within the two floor uses defined) you should see the variable with its respective value:



(3) AddressOptions/Appearance, selectBuilding/Filling/Colorand selectUse formula for color.Inside the box write the following expression:

iif(MEMO_Use==1, rgb(255,0.0), iif(MEMO_Use==2, rgb(0,0,255), rgb(255,255)



The expression indicates that if Use = 1 (Mixed Area), the buildings will be red. If Usage = 2 (Living Area), buildings will be displayed in blue and if Usage has any other value the buildings will be displayed in white.

NOTE: Colors follow RGB encoding (Network, Green, Blue)






    • Related Articles

    • No floor coating materials appear

      INSUL it is possible to configure the software to display only materials from certain regions or all at once. If you are selectedSoilon the INSUL Construction tab and then the tab is selectedSoil coatingany available material may not be displayed ...
    • Requirements for the "ID" field of Objects

      It may be the case of importing objects in which the value of the ID variable has a format as follows: "123-ab-35-01". ID is a very special field. A correct ID requires: Start with a letter (not number) It does not contain spaces or special ...
    • Export 'Terraplene' such objects as ESRI Shape (*.shp)

      With CadnaA it is not possible to export the type of Embankment object directly as a shape: However, it can be exported as a shape by turning the Embankment object into a Screen-type item and by performing the following steps: 1) Write the 3 ...
    • Represent "Text box" in 3D view

      To represent one or more "Text box" in 3D view, the variable must be addedDisplay3Din theWindow-Memoof each Text box and assign it the value 1.
    • Can 3D models be imported from other software for use as a template in SONarchitect?

      SONarchitectallows you to import files in DXF format as a template for drawing planes from a CAD project. Imported drawings from other projects ofSONarchitectas templates for drawing the plans of the current project. Once these plans have been drawn, ...