Learn to manage BIM workflows and create professional Archicad templates with the BIM Manager Program.

Libraries & objects
About Archicad and BIMcloud libraries, their management and migration, objects and other library parts, etc.

Creating a custom ID from multiple parameters

Anonymous
Not applicable
Good evening ArchiCAD people.

I've been struggling with scheduling a custom object lately. It's a fire sprinkler, and I use a schedule as the legend of my drawings.
It has seven parameters which define the sprinkler type, and right now I have nine columns in my schedule (2D preview, the 7 parameters and quantity).
Is there any way to generate an ID from the seven parameters, so that my schedule only contains three columns?

My solution right now has an awful lot of gaps in the text
4 REPLIES 4
alemanda
Advocate
I think you can get shaft you want using Ifc dats mapping
AC27 latest hotfix

Win 10 Pro 64bit

Double XEON 14 CORES (tot 28 physical cores)

32GB RAM - SSD 256GB - Nvidia Quadro K620

Display DELL 25'' 2560x1440

www.almadw.it
Anonymous
Not applicable
There is no way to get such an ID, with a code in the master script for example?
Barry Kelly
Moderator
You already have the 7 parameters in the object.

Create a new one (in the master or parameter script) that is an amalgamation of those 7 - i.e. new_parameter = parameter 1 + parameter 2 + parameter 3, etc.
PARAMETER new_parameter = new_parameter

If any of them are numerical parameters rather than strings you will need to convert them to a string value.

You can control the spacing between the names by adding new_parameter = parameter 1 + " "+ parameter 2 + " " + parameter 3, etc.

Or new_parameter = parameter 1 + "-"+ parameter 2 + "-" + parameter 3, etc.

Then just schedule the new parameter rather than all 7.

Barry.
One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
Anonymous
Not applicable
Thank you very much! It works perfectly