24 XML-settings for an Archicad element
The settings are usually given the same way as in corresponding Archicad setting dialog. All dimensions are given in meters using a full stop as the decimal separator (1.234) and angles as degrees. Sometimes these settings are used to filter elements but usually the settings are for new elements.
Archicad attributes (line type, fill etc) are referenced with number, name or partial name which may contain wild cards?*. When using names it is possible to have many names separated with vertical bar |. This may be useful to support many languages in single setting file. For example, concrete in English and in Finnish: *concrete*|*betoni*.
24.1 <floor>storey</floor >
Storey is numeric or textual as attributes.
24.2 <layer>layer</layer>
Numeric or textual.
24.3 <elemtype>number</elemtype>
Used when searching elements. The numbers for different element types are found with Google search API_ElemTypeID.
24.4 <elemparam name="xxx">value</elemparam>
Name/xxx | Description |
fontname | Font name. |
fontsize | Font size in current scale |
fontsizemodel | Font size in model world. If you specify 100 mm, it will be 100 mm in model world no matter what the scale is. |
fontstyle | Font style, list using comma as separator that may contain: bold, italic, underline. |
just | Justification: left, center, right, full. |
pen | Default pen. |
linetype | Line type. |
dimensiontype | Dimension line type, possible values:
|
dimlinepen | Pen for dimension lines. |
markersize | Marker size for dimension line. |
markerpen | Marker pen for dimension line. |
markertype | Marker type for dimension line: |
witness | Dimension witness line type, numbers 0-3: APIWtn_None = 0. APIWtn_Small = 1. APIWtn_Large = 2. APIWtn_Fix = 3. |
dimwitnessgap | From dimension tool settings, if witness = 2: If witness=3: |
dimtextpos | These settings: 0=Above 1=In 2=Below |
radius | Angle dimension arc radius. |
level | Level for wall or object. |
height | Height for wall. |
thickness | Thickness for wall. |
fill | Fill, for walls building material starting from AC17. |
cutfill | From Cut surfaces settings. For hatch this is the fill. |
cutlinepen | From Cut surfaces settings. |
cutfillpen | From Cut surfaces settings. For hatch this is the fill pen. |
cutfillbgpen | From Cut surfaces settings. For hatch this is the fill background pen. |
material | 3D material. |
materialrgb | Material in RGB-format. The color is between 0…1. For example 100% green is 0, 1, 0. |
libname | Libpart name for searching. |
angle | Angle for object or text in degrees. |
drawindex | Sets the draw index for the element. Possible values are:
|
24.5 <objparam name="xxx">value</objparam>
Sets library part's parameter. Attributes can be given as text. It is possible to set the attribute type when setting textual value for example to integer-type parameter. For example setting fill to integer-parameter: <objparam name = "int_par" type = "fill">*concrete*</elemparam>. Attribute type must have one of following values: "linetype", "material", "materialrgb", "fill" or "composite".
These special values can be used as objparam-tag’s name attribute:
- •
#id, object’s ID
- •
#useobjlinetype, set value of [ ] Use object’s line type setting
- •
# useobjsectattrs, negation of [ ] Override Object’s Attributes (1=use object’s attributes, 0=nope, use overrides)
- •
#useobjmat, inverse of value [ ] Override surfaces definition (0=use object’s materials, 1=nope, use set surface material)
For bit fields attribute bitmask="x" is given. For example, with value 8 only bit 3 (0-based) will be set to target. Value 0 means clear bit and any non-zero value will set the bit.
It is possible to set numeric tables with following syntax, array will be automatically expanded:
<objparam name="iMc">
<row><col>101.00000000</col><col>167.63750758</col><col>90.00000000</col><col>-0.05560000</col></row>
<row><col>305.00000000</col><col>1.00000000</col><col>0</col><col>0</col><col>-0.15370000</col><col>0.02150000</col></row>
<row><col>305.00000000</col><col>3.00000000</col><col>0</col><col>0</col><col>-0.15370000</col><col>0.02150000</col></row>
<row><col>201.00000000</col><col>167.63750758</col><col>90.00000000</col><col>-0.05560000</col></row>
</objparam>24.6 <class system="ARCHICAD Classification" system_fin="ARCHICAD-luokitus">
Related videos:
- •
BIM Classifications, Categories & Properties in the New features 2026 video
Allows setting element’s classification from xml. An example definition:
<class system="ARCHICAD Classification" system_fin="ARCHICAD-luokitus" remove="1">
<classpath name="Materials" name_fin="Materiaalit"/>
<classpath name="Wood" name_fin="Puu"/>
</class>
This sets the classification to ARCHICAD Classification/Materials/Wood or the similar one used in the Finnish version. The attribute names can be anything, just the values are searched from current classifications using case insensitive search. If the classifications do not exist, operation fails silently without an error message. Classification id is checked instead of its name.
Attribute remove defines if all existing classifications should be removed before adding the new one. The default value is 1.
Another option to give classification is just to give the classification system’s name and the id of the classification:
<class system="ARCHICAD Classification" system_fin="ARCHICAD-luokitus" name="Wood" name_fin="Puu" remove="0"/>24.7 <prop group="GENERAL RATINGS" name="Combustible" …>
Related videos:
- •
BIM Classifications, Categories & Properties in the New features 2026 video
Allows setting element’s properties from xml. An example definition:
<prop group="GENERAL RATINGS" name="Combustible"
group_fin="YLEISET LUOKITUKSET" name_fin="Palava" value="True"/>
Attribute value can also have language postfix, for example value_fin referring to selected ArchiFrame language. However, Boolean values are always in English true and false.
Currently works only with single value properties.
24.8 <category class="Structural" value="Load Bearing”/>
Related videos:
- •
BIM Classifications, Categories & Properties in the New features 2026 video
Sets either structural or position category for any element type. The names and values are localized. The language independent way is to use GUIDs listed below that do not change with the Archicad’s language version. To support list of values for different languages, it is possible to give many lines in different languages and the lines not found with the current Archicad localization are silently skipped.
An example of using English and Finnish names to set the same thing:
<category class="Position" value="Exterior"/>
<category class="Sijainti" value="Ulko-osa"/>An example of using guids to set Structural Function to Load-Bearing Element:
<category class="3A68345B-C62C-BD87-0007-DCA0498EB07D"
value="C852BD7D-1198-2802-7E37-E4925B997B8B"/>
Dump of English ones from Archicad 28:
0DF2ECA8-CC17-F453-247B-48E6D3DA70E4 Position
6F76AEB9-1C41-7E76-5254-57399CBF985B Exterior
512CBDAC-06A3-A73D-ED46-1701A8BCE536 Interior
677677E5-E514-E73F-39B9-E7AFC2031846 Undefined
3A68345B-C62C-BD87-0007-DCA0498EB07D Structural Function
C852BD7D-1198-2802-7E37-E4925B997B8B Load-Bearing Element
539EA1F2-E319-7D11-7CAC-CCAA638FAD6E Non-Load-Bearing Element
CCCC2E1F-54E6-8534-EEA0-F571386498E1 UndefinedFinnish ones (please note that guids are like English ones, just user visible names are different):
0DF2ECA8-CC17-F453-247B-48E6D3DA70E4 Sijainti
6F76AEB9-1C41-7E76-5254-57399CBF985B Ulko-osa
512CBDAC-06A3-A73D-ED46-1701A8BCE536 Sisäosa
677677E5-E514-E73F-39B9-E7AFC2031846 Määrittelemätön
3A68345B-C62C-BD87-0007-DCA0498EB07D Rakenteellinen tehtävä
C852BD7D-1198-2802-7E37-E4925B997B8B Kantava rakenne-elementti
539EA1F2-E319-7D11-7CAC-CCAA638FAD6E Ei-kantava rakenne-elementti
CCCC2E1F-54E6-8534-EEA0-F571386498E1 Määrittelemätön
An example of one full plank definition from ArchiFrameBlocksChanges.xml:
<material id="LP 115x225" name="LP 115x225" thickness="0.115" height="0.225" shape="block"
maxlen="99" m3factor="0.000" excel_quality="C22" excel_type="GL">
<settings>
<plankdefaults>
<objparam name="iColLines">0</objparam>
<objparam name="iPenMatID3D">Paint-06</objparam>
<class system="ARCHICAD Classification"
system_fin="ARCHICAD-luokitus"
system_pol="Klasyfikacja Archicada">
<classpath name="Materials"
name_fin="Materiaalit"
name_pol="Materialy"/>
<classpath name="Wood" name_fin="Puu" name_pol="Drewno"/>
</class>
<prop group="GENERAL RATINGS" name="Combustible"
group_fin="YLEISET LUOKITUKSET" name_fin="Palava" value="True"/>
<category class="3A68345B-C62C-BD87-0007-DCA0498EB07D"
value="C852BD7D-1198-2802-7E37-E4925B997B8B"/>
<category class="Position" value="Exterior"/>
<category class="Sijainti" value="Ulko-osa"/>
</plankdefaults>
</settings>
</material>