It would be great know why the node inst working in a particular project, we believe it could be that the area schemes between host and link are different
Find attached screenshots showing the both area schemes
If we use the GetParameterAsValueString we can retrieve the Id but not the element.name which is the input we know and is easier to work with.
As an alternative
Try to get the viewports in the link and work from there
Select Model element : click the linked file with this.
nicked the picture from @john_pierson
Area’s are placed on views, Area plans, from Views you make Viewports, turn it backwards and you might get a result.
Don’t know, havent tried (no Revit here)
The problem is with areas in a link, if i read area values inside the link the node getparametervaluebyname works well
Any ideas why it does not work the other way, and why in other project files this works
This inconsistency is driving me maaaad!!!
Have you tried using BimorphNodes LinkElement.GetParameterValueByName - using OOTB version wont work with linked elements since parameter queries require the respective document object as an input, and all OOTB nodes default to the active document object so the query understandably fails. To add confusion to the mix, Dynamo versions before 2.0 use dynamic dispatch with methods and properties, so if you are using an older version of BimorphNodes and upgrade to the latest version which includes the aforementioned node, you might find your graph works without any changes as this mechanism will find the matching method in the LinkElement class and call it accordingly.
Hello Thomas,
We are working still in dyn 1.3.3
I have downloaded your most up to date package and the getParametervaluebyname works fine in this graph
Do you think it will be other nodes that wont work unless we are in 2.0?