The only way to get the Library Part parameters is in Schedules. In Labels, it is not possible.
It is possible, but it is but it is not pretty (but I may be doing it the hard way).
You have to create your own label object and you need to know the parameter name for the building material.
You use ... n = REQUEST ("ASSOCLP_PARVALUE", expr, name_or_index, type, flags, dim1, dim2, p_values)
in the label script to access the
Where 'expr' is the parameter name of the building material from the object (in quotes).
Then that returns the index number of the Building Material to 'p_values'.
Because that is a number you must convert it to the Building material name.
So something like this in the label master script.
rrr=REQUEST ("ASSOCLP_PARVALUE", "buildingMatAttribute_1", name_or_index, type, flags, dim1, dim2, p_values)
nnn = REQUEST ("Name_of_building_material", p_values, name)
Then you use a TEXT2 or Paragraph to show the name in the label in the 2D script.
So you need to know the name of the Building Material parameter (or parameters if there is more than one) so you can request it in the label.
I guess you could create a parameter in the label that would allow you to manually type in the object parameter name or names.
I know it is possible to list ALL parameters of an object (I have seen this done in an object created by Frank-Beister + Jochen Sühlo).
But I am yet to see (or try to create) a label that allows you to choose from a list of available parameters.
Hence why as far as I know, you have to hard code the object parameter name into the label object.
One of the forum moderators.
Versions 6.5 to 25
Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
Dell Precision 3510 - i7 6820HQ @ 2.70GHz, 16GB RAM, AMD FirePro W5130M, Windows 10