I have been requested by a client to provide basic asset information for plant and equipment, of which room name (Space) is one. Unfortunately externally mounted equipment is not within a space, so is possible to populate an empty space name cell with text e.g. “externally mounted”.
Hello,
Are you asking to check equipment’s space parameter and if it is empty to input “externally mounted”? If so, it should be pretty easy. You just need to get all elements of that category, GetParameterValueByName using “Space”, check if it’s equal to “” (this is an empty string), FilterByBoolMask the original list of elements, then SetParameterByName using “Space” and the value set to “Externally Mounted”.
If you are having any troubles, try searching this forum or post where you are stuck at here and we can help.
Hi @MGMBIM
The best way to learn dynamo is to jump into the water with both feet. The post by @kennyb6 describes the general workflow which could be used in a graph but we expect you to experiment and try to perform something in Dynamo, and once you show us where you are we’ll help you if you get stuck or have points of wonder. Then you’ll learn a lot more about Dynamo than simply copying a graph.
Sometimes landing on your head is the best way to get your head around things
In addition to the post by @m.rijsmus you should use quotation marks for your parameterName. If you hover your mouse over the input you can read that it expects a “string” input.
Is the parameter called “Space: Name”? If you need help checking what the parameter is called, you can use the Parameters node. Insert it after Categories or All Elements of Category and look for the Space parameter, it should have the name in it.
Use what the string is before the “:”. So if it says Space : blah, use “Space” as the input for parameter name.