How to add custom columns in Hole reservation manager
Question:
The MEP designer sent me an IFC file that's got some properties that I want visible in my Hole reservation manager dialog. I also want them to be written in the native VOID objects. How can I do that?
Answer:
To have custom columns in Hole reservation manager, you need to save file HoleReservationUIAttributes.ini in your model, project, firm or system folder. The syntax in the file is as follows:
IFC void object property;Title for the Hole reservation manager dialog column;data type (string/double/integer)
So if you want to display the value highlighted with cyan on the picture, you can add this line in the HoleReservationUIAttributes.ini:
Pset_Sewatek.Note2;Sewatek-note;string
And this is how it will look in the Hole reservation manager dialog:
To have the information written also to the native VOID object, you need to map the IFC property to a Tekla Structures UDA in HoleReservationAttributeMapping.ini-file. For this example we'll map the Note2-value to PRODUCT_CODE-UDA, so add the following line in the HoleReservationAttributeMapping.ini-file:
EXTERNAL.Pset_Sewatek.Note2;PRODUCT_CODE
When the native VOID object is created, the information is added in its UDAs:
You can also add columns for data that you want to type in manually on Hole reservation manager, and which will be filled in the native VOID object's UDAs as well. To do this, you only need to add the UDA name in the HoleReservationUIAttributes.ini-file with syntax UDA:<UDA name>. Let's add a column for Product description UDA by adding the following line in HoleReservationUIAttributes.ini:
UDA:PRODUCT_DESCR
Currently you can't edit the title of the column in Hole reservation manager, so the attribute name is in the title row:
And the manually typed text is directly saved on the native VOID object's UDAs: