I am attempting to pull all object styles, filter them by those containing a prefix, alter the prefix, and then rename the object style. I seem to be hitting a wall where my element.setname node returns null values for both success and fails. Any thoughts?
Here is what I have so far:
You need to connect Revit.Elements to Set the names. Currently you’re feeding as string. Add another FilterByBoolMask node and feed Graphicstyles output to List.FilterBoolMask IN and MASK will be List.Map. You should be good to go then.
I appreciate the direction, But I am getting the same result of “null” for success and fail, have I misunderstood your guidance?
Please see updated dynamo:
After some tweaks, I am getting closer, I at least get a list for “Fail” output now, But fiddling with it from here doesnt end in anything being a “Success”. Anyone have any ideas to point me in the right direction?
Here is the updated script:
I’m still hitting a wall here. I’m not sure why the script isn’t working. Does anyone have any ideas?
It is still as shown above, as everything I have tried has either resulted in double null outputs, or no changes.