Add prefix D to Door mark

Hi All,
I try to add a prefix D to Door mark using Dynamo, I read some topic in the forum then write the script below and it doesn’t work. Can anyone tell be where I wrong. Thank you so much.

Thank you so much for your help. It’s work now. Really appreciated because this is the first time I success in writing a script.
But can you tell why I run the script, the door mark doesn’t change? Thanks

You have not written anything back to Revit in your graph.

You could use “Element.SetParameterValueByName” for that. :slight_smile:

image

2 Likes

Thank you for your patient, I still need your help, so sorry… look like I wire st wrong here

Your parameter name is not “01,02,03…” this is still “Mark” :slight_smile:

:slight_smile:

Thank you so much for all. It’s work now. Have a nice day

Another question, can I add prefix for the select doors not for all?

You’re welcome @Sunday4me, please help keeping the forum tidy by marking one of the solutions above as the actual solution for your problem, this will help others in the future facing similar issues.

Additionally I can recommend you read the Dynamo Primer as it explains the possibilities quite well…
http://primer.dynamobim.org/en/

For the last problem instead of using “Categories” and “All Elements of Categories” you could just use:

image

Thank you. I will read this and will keep the forum tidy as you suggest . Enjoy your day.