I’m trying to fill a Text parameter with the BMat ID of the selected building material, but for some reason it just fills it with a blank.
Parameters: object_mat (type Building Material), list_mat_id (type Text)
Script (in Master script):
n = REQUEST{2} ("Building_Material_info", object_mat, "gs_bmat_id", matId)
PARAMETERS list_mat_id = matId
The material id is properly retrieved (I’ve checked with a print statement), but the list_mat_id stays blank. If I replace the matId with any string (e.g. “Testing”) then it works fine…so I know the commands are correct. But for some reason, it just won’t fill with a BMat ID.
What am I missing?
www.brucepwalker.com
https://www.mindmeister.com/65450406
AC20 6005 AUS Full & AC 21 3009 NZE Full | Win 10 Pro 64 | Intel i7-7700HQ 2.80GHz | 16 Gb RAM
NVIDIA GeForce GTX 1060 8Mb