Changing the leadere linestyle of a Spot Elevation

Hi There, I’m new to dynamo and I wan’t to change the leader linestyle of a spot elevation. I can do that with graphic override by Element. but that’s not ideal. I can’t make a filter because you can’t change it by catagory.

Is there a way to make this work in Dynamo?

please help.