<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Add Object Parameter to Label in GDL</title>
    <link>https://community.graphisoft.com/t5/GDL/Add-Object-Parameter-to-Label/m-p/692649#M8279</link>
    <description>&lt;P&gt;In the GER forum there was a question for a label that can automatically read all Object Parameters.&lt;BR /&gt;Frank Beister had such a label created in his BIM-All-Doors.&lt;BR /&gt;I extracted the label and streamlined it a bit with a prefix-filter for faster Parameter-Search.&lt;BR /&gt;See attachement.&lt;/P&gt;</description>
    <pubDate>Wed, 11 Feb 2026 10:27:24 GMT</pubDate>
    <dc:creator>Jochen Suehlo</dc:creator>
    <dc:date>2026-02-11T10:27:24Z</dc:date>
    <item>
      <title>Add Object Parameter to Label</title>
      <link>https://community.graphisoft.com/t5/GDL/Add-Object-Parameter-to-Label/m-p/692614#M8275</link>
      <description>&lt;P&gt;Hi there,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have two questions -&lt;/P&gt;
&lt;P&gt;Q1 is about technical skills in AC. E.g "how do I do 'Thing X' in AC?"&lt;/P&gt;
&lt;P&gt;Q2 is about documentation philosophy. E.g. "is doing 'Thing X' an appropriate way to approach the problem in light of how AC is intended to be used?"&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Q1: Technical Skill&amp;nbsp;&lt;/P&gt;
&lt;P&gt;is it possible to edit the parameters of a label to be able to read any chosen parameter within an object?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For example - in the screenshot below, the mixer tap has a 'product code' parameter which I would like to be able to label on drawings.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LewisatFlourish_0-1770789008367.png" style="width: 999px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/97210iF9E54EC0641B0E78/image-size/large?v=v2&amp;amp;px=999" role="button" title="LewisatFlourish_0-1770789008367.png" alt="LewisatFlourish_0-1770789008367.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have inspected the parameters of the 'Classifications &amp;amp; Properties Label' but need direction on how to amend the script to display the parameters of the object in screenshot 1.&amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LewisatFlourish_1-1770789190409.png" style="width: 999px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/97211iE984764D45B2489E/image-size/large?v=v2&amp;amp;px=999" role="button" title="LewisatFlourish_1-1770789190409.png" alt="LewisatFlourish_1-1770789190409.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Q1 - Philosophy&lt;/P&gt;
&lt;P&gt;To my mind, labelling an object based on a parameter that is 'baked' into the object leaves much less room for contradictions between your model and your schedule. For example, I love the Skin List label because it can report on BMAT IDs, and if I change the BMAT ID of a certain material, the text in all the labels will update automatically.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I come from Revit-land, and I struggle with the idea that there isn't a way (for example) to change 'Mixer Type 1' to 'Mixer Type 2' and for the label to automatically change from the predefined code associated with Mixer 1, to the predefined code associated with Mixer 2.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This might not be a big deal on small jobs, but labelling contradictions creep-in on big jobs when (for example) a handful of mixers are being changed to a different product selection, but the code does not update with it.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier" color="grey"&gt;Operating system used: &lt;EM&gt;Windows 3001.3000&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Feb 2026 07:22:21 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Add-Object-Parameter-to-Label/m-p/692614#M8275</guid>
      <dc:creator>Lewis at Flourish</dc:creator>
      <dc:date>2026-02-11T07:22:21Z</dc:date>
    </item>
    <item>
      <title>Re: Add Object Parameter to Label</title>
      <link>https://community.graphisoft.com/t5/GDL/Add-Object-Parameter-to-Label/m-p/692620#M8276</link>
      <description>&lt;P&gt;It can be done but you really need to know a bit of GDL scripting to control how you want the label to look.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the 2D script of the label, you will need the following command....&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;rrr=REQUEST ("ASSOCLP_PARVALUE", "actual_parameter_name", name_or_index, type, flags, dim1, dim2, p_values)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;"actual_parameter_name" is the actual name (in quotes) of the parameter for what you want to get the value of.&lt;/P&gt;
&lt;P&gt;You will need to open the tap object to find that parameter name.&lt;/P&gt;
&lt;P&gt;The command will place the value in the 'p_values' argument.&lt;/P&gt;
&lt;P&gt;So you will then need to manipulate the 2D script to output text for the 'p_values' (without quotes)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BarryKelly_0-1770793585840.png" style="width: 999px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/97218iFC70286C3532F70B/image-size/large?v=v2&amp;amp;px=999" role="button" title="BarryKelly_0-1770793585840.png" alt="BarryKelly_0-1770793585840.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;You will need to do the same for your second parameter but the argument will be 'p_values_2' (without the quotes) so it doesn't get mixed up with the first p_values argument.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But you will need to be able to script the label to show the output as you want it.&lt;/P&gt;
&lt;P&gt;Something I don't have time to explain just at the moment.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Barry.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Feb 2026 07:20:48 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Add-Object-Parameter-to-Label/m-p/692620#M8276</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2026-02-11T07:20:48Z</dc:date>
    </item>
    <item>
      <title>Re: Add Object Parameter to Label</title>
      <link>https://community.graphisoft.com/t5/GDL/Add-Object-Parameter-to-Label/m-p/692625#M8277</link>
      <description>&lt;P&gt;And I should say that this will not work with any other library object, unless they have exactly the same parameters you are looking for.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It is a shame that the auto-text label can not access object parameters.&lt;/P&gt;
&lt;P&gt;It can access object properties, but object properties can not access object parameters either.&lt;/P&gt;
&lt;P&gt;So you could label a property, but you would have to manually change the value of the property in the object.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Barry.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Feb 2026 07:33:54 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Add-Object-Parameter-to-Label/m-p/692625#M8277</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2026-02-11T07:33:54Z</dc:date>
    </item>
    <item>
      <title>Re: Add Object Parameter to Label</title>
      <link>https://community.graphisoft.com/t5/GDL/Add-Object-Parameter-to-Label/m-p/692647#M8278</link>
      <description>&lt;P&gt;In the IFC translator settings , go to the properties mapping dialog ,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Create new property and assign the correct object parameter ,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;then you can label that ifc property using the classification and properties label&lt;/P&gt;</description>
      <pubDate>Wed, 11 Feb 2026 10:08:28 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Add-Object-Parameter-to-Label/m-p/692647#M8278</guid>
      <dc:creator>Ahmed_K</dc:creator>
      <dc:date>2026-02-11T10:08:28Z</dc:date>
    </item>
    <item>
      <title>Re: Add Object Parameter to Label</title>
      <link>https://community.graphisoft.com/t5/GDL/Add-Object-Parameter-to-Label/m-p/692649#M8279</link>
      <description>&lt;P&gt;In the GER forum there was a question for a label that can automatically read all Object Parameters.&lt;BR /&gt;Frank Beister had such a label created in his BIM-All-Doors.&lt;BR /&gt;I extracted the label and streamlined it a bit with a prefix-filter for faster Parameter-Search.&lt;BR /&gt;See attachement.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Feb 2026 10:27:24 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Add-Object-Parameter-to-Label/m-p/692649#M8279</guid>
      <dc:creator>Jochen Suehlo</dc:creator>
      <dc:date>2026-02-11T10:27:24Z</dc:date>
    </item>
    <item>
      <title>Re: Add Object Parameter to Label</title>
      <link>https://community.graphisoft.com/t5/GDL/Add-Object-Parameter-to-Label/m-p/692758#M8282</link>
      <description>&lt;P&gt;these are excellent responses&amp;nbsp;&lt;a href="https://community.graphisoft.com/t5/user/viewprofilepage/user-id/7331"&gt;@Barry Kelly&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;a href="https://community.graphisoft.com/t5/user/viewprofilepage/user-id/13883"&gt;@Jochen Suehlo&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.graphisoft.com/t5/user/viewprofilepage/user-id/2041"&gt;@Ahmed_K&lt;/a&gt;&amp;nbsp;thank you for the direction. I will look into each of them.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm interested to know from long-term users such as yourselves -&amp;nbsp; do you have any thoughts on Part 2 of my post? Am I approaching documentation in Archicad the 'wrong' way, or is this a legitimate problem faced by other users also?&amp;nbsp; &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Feb 2026 23:19:09 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Add-Object-Parameter-to-Label/m-p/692758#M8282</guid>
      <dc:creator>Lewis at Flourish</dc:creator>
      <dc:date>2026-02-11T23:19:09Z</dc:date>
    </item>
    <item>
      <title>Re: Add Object Parameter to Label</title>
      <link>https://community.graphisoft.com/t5/GDL/Add-Object-Parameter-to-Label/m-p/696134#M8348</link>
      <description>&lt;P&gt;Hi Lewis,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;At Archibites we have a label that will label parameters of any object. You can get more details&amp;nbsp;&lt;A href="https://archibites.tech/product/multi-label/" target="_self"&gt;here&lt;/A&gt;&amp;nbsp;and download a trial version to see if it meets what you want.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Mar 2026 00:48:38 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Add-Object-Parameter-to-Label/m-p/696134#M8348</guid>
      <dc:creator>easyDoesIt</dc:creator>
      <dc:date>2026-03-17T00:48:38Z</dc:date>
    </item>
    <item>
      <title>Re: Add Object Parameter to Label</title>
      <link>https://community.graphisoft.com/t5/GDL/Add-Object-Parameter-to-Label/m-p/696136#M8350</link>
      <description>&lt;P&gt;As a consolation, all of the Caroma objects use common parameters, so a label that works for one should work for all of them.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Mar 2026 01:29:37 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Add-Object-Parameter-to-Label/m-p/696136#M8350</guid>
      <dc:creator>Lingwisyer</dc:creator>
      <dc:date>2026-03-17T01:29:37Z</dc:date>
    </item>
    <item>
      <title>Re: Add Object Parameter to Label</title>
      <link>https://community.graphisoft.com/t5/GDL/Add-Object-Parameter-to-Label/m-p/696204#M8354</link>
      <description>&lt;P&gt;Tim, have you got a link for the GDL versions? Can't seem to find them.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Mar 2026 13:59:29 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Add-Object-Parameter-to-Label/m-p/696204#M8354</guid>
      <dc:creator>Aaron Bourgoin</dc:creator>
      <dc:date>2026-03-17T13:59:29Z</dc:date>
    </item>
    <item>
      <title>Re: Add Object Parameter to Label</title>
      <link>https://community.graphisoft.com/t5/GDL/Add-Object-Parameter-to-Label/m-p/696213#M8355</link>
      <description>&lt;P&gt;Here is how i achieved this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. For each property i needed to label, i set up a string based parameter that holds the UUID of that property&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="props.jpg" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/98594i242A3345131F054B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="props.jpg" alt="props.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. Set up a property holding dict in the master script&lt;/P&gt;&lt;LI-CODE lang="c"&gt;dict propertyData
_actProperty = ""
dim _sLocalization[]
	_sLocalization[1] = "&amp;lt;" + `ID` + "&amp;gt;"
	_sLocalization[2] = "&amp;lt;" + `Custom Name` + "&amp;gt;"
	_sLocalization[3] = "&amp;lt;" + `Name` + "&amp;gt;"
	_sLocalization[4] = "&amp;lt;" + `None` + "&amp;gt;"
	_sLocalization[5] = "&amp;lt;" + `Hotlink ID` + "&amp;gt;"
	_sLocalization[6] = `Custom`
	_sLocalization[7] = "&amp;lt;" + `Custom Text` + "&amp;gt;"
	_sLocalization[8] = "&amp;lt;" + `no content defined` + "&amp;gt;"
	_sLocalization[9] = "---"&lt;/LI-CODE&gt;&lt;DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;3. Prepare the UI for the new settings&lt;/DIV&gt;&lt;/DIV&gt;&lt;LI-CODE lang="c"&gt;TABID_ROOT				= -1
_idxTab = 1

dim stTabTitles[1]
	stTabTitles[1] = `Content`

ui_current_page 0

itemID = 10
xEnd	= 444
yEnd	= 266
UIGroup = 1
! ------------------------------------------------------------------------------

dict propertyRequestIn, propertyRequestOut
n = request ("Property_Tree_Of_Parent", propertyRequestIn, propertyRequestOut)

if n &amp;lt;= 0 then
	! Make sure these fields exist in the DICT
	dim emptyArray[]
	propertyRequestOut.propertyTree = emptyArray
	propertyRequestOut.treeDepth = 3
endif

dim _propertyTreeItemForNone[]
for iCol = 1 to propertyRequestOut.treeDepth
	_propertyTreeItemForNone[iCol] = ""
next iCol
_propertyTreeItemForNone[propertyRequestOut.treeDepth + 1] = `None`

ui_listfield UIGroup, 0, 0, xEnd, yEnd, 0
				
ui_listitem itemID, UIGroup, "grpProps", 0, "", ""&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;4. For each property, set up a custom listitem&lt;/P&gt;&lt;LI-CODE lang="c"&gt;itemID = itemID + 1
r = REQUEST ("Property_Name", propFloor, _typeName, _groupName, _propertyName)
ui_custom_popup_listitem itemID, UIGroup, "propFloor", 	1, "" , "", 1, propertyRequestOut.treeDepth, 1, _propertyName,
				_propertyTreeItemForNone,
				propertyRequestOut.propertyTree&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;5. Now that property holds the UUID of the property you want to read. You can then easily use this to read it:&lt;/P&gt;&lt;LI-CODE lang="c"&gt;n = request ("Property_Value_Of_Parent", propFloor, type, dim1, dim2, fTxt)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My label here is a zone label and reads the finishes of floor, walls and ceiling, but you can generalize it. Saving it as a favorite or opt-picking it will retain the stored UUID so you can use same label to display different properties in the same text2 if you want.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Mar 2026 16:06:04 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Add-Object-Parameter-to-Label/m-p/696213#M8355</guid>
      <dc:creator>Claudiu Serban</dc:creator>
      <dc:date>2026-03-17T16:06:04Z</dc:date>
    </item>
    <item>
      <title>Re: Add Object Parameter to Label</title>
      <link>https://community.graphisoft.com/t5/GDL/Add-Object-Parameter-to-Label/m-p/696272#M8358</link>
      <description>&lt;P&gt;Hm... At a quick glance, the Caroma Specify website seems to have had an update and the library now shows individual products in other formats rather than the consolidated libraries... The libraries contained multi-objects, some of which are no longer part of the catelogue, so I assume they removed them due to being outdated. Hopefully they release updated AC libraries at somepoint, maybe containing individual objects for easier updating.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Mar 2026 01:35:43 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Add-Object-Parameter-to-Label/m-p/696272#M8358</guid>
      <dc:creator>Lingwisyer</dc:creator>
      <dc:date>2026-03-18T01:35:43Z</dc:date>
    </item>
    <item>
      <title>Re: Add Object Parameter to Label</title>
      <link>https://community.graphisoft.com/t5/GDL/Add-Object-Parameter-to-Label/m-p/696354#M8360</link>
      <description>&lt;P&gt;Thanks for your comment. As always.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Mar 2026 13:09:12 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Add-Object-Parameter-to-Label/m-p/696354#M8360</guid>
      <dc:creator>Aaron Bourgoin</dc:creator>
      <dc:date>2026-03-18T13:09:12Z</dc:date>
    </item>
    <item>
      <title>Re: Add Object Parameter to Label</title>
      <link>https://community.graphisoft.com/t5/GDL/Add-Object-Parameter-to-Label/m-p/696358#M8361</link>
      <description>&lt;P&gt;sorry, did not read the full thread, but this should all be done through properties now. Any info attached to an objects parameter list is a dead end in so many ways.&amp;nbsp;&lt;BR /&gt;Properties are an open door for annotation, scheduling, and sharing info&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Mar 2026 14:03:47 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Add-Object-Parameter-to-Label/m-p/696358#M8361</guid>
      <dc:creator>Patrick M</dc:creator>
      <dc:date>2026-03-18T14:03:47Z</dc:date>
    </item>
  </channel>
</rss>

