In Dynamo it is possible to set the value of a parameter that is not an integer. For example if I wish to set the ‘Base Constraint’ of a wall, the error ‘Cannot Cast String to Element ID’ occurs. Of course, when I use an integer to adjust the ‘Unconnected Height’ there are no issues.
Am I missing something? Is there a way to cast a string to an element ID to change a string parameter?
The problem with an automatic casting from string is that is not easy to determine this parameter is referencing a Level in a generic way, so this would force us to implement those kind of automatic castings, parameter by parameter, and there are a lot.
Query Levels gives you all Levels or the requested Level if you filter by Name.
Hi, I have a similar problem trying to set the top constraint level of a wall using set element parameter. I get this error text : “RhinoInside.Revit.GH: Failed to assign an element from a diferent document”