Normally, GetParameterValueByName node works to get the name of the Base Level, Top Level and Structural Material, but when trying the same for linked files using GetDocuments and Element.GetFromLinkedFile these don’t give a proper output. Other parameters do work, though.
Any reason why this happens or any workaround to get the same?
As seen in the image below, the Volume Parameter is giving the output but not the Base Level. Similarly, the Top Level and Structural Material parameters cannot be read. The result is a null output.
Thanks for your reply, but I still don’t understand how I will use that. For e.g. in structural framing, I tried to get the reference level using the method you suggested, but I have 432 instances of that parameter and I don’t know which one to use! Can you help by elaborating further? Image below for reference. Thanks.
I tried using the second method you mentioned, can you let me know which is the first python script which is giving the family and type to you? I am currently using the below node:
Also, can you let me know how I can modify the script for different parameters? Like the example you gave is for getting base level of columns, but I also need to read some parameters for structural framing, walls etc. Is there any documentation for the same?
This works. Now I guess the challenge for me is to figure out how to change the python script for other parameters that I want to see. I will use the link given by @Mohammadz to do that.
However, I think there should be custom nodes for this as this is something quite generic and I see quite a few use cases for the same.