I am trying to use dynamo to schedule out the coping distance value for all my structural beams for then to be able to control / change all coping distances in a revit schedule. In the attached example I have started a new revit project where there is only two structural beams where one has added a coping to see if the scrips works before adding it the other projects. The error seems to be at the Element.SetParameterByName. First I connected the elements directly to the node, though got an error that searching the web told me to add a convert object to string node in-between them for it to work. There might be a very simple solution to this, but as this is my first script in Dynamo I am stuck. Below is the attached warning message:
Warning: Internal error, please report: Dereferencing a non-pointer.
I have also tried to upload an image of the complete script that I hope is readable.
Thanks in advance!
Also, if anyone knows of a string to only filter out the elements that do have a coping applied to them I would be happy to know.