So you actually don't need 2 methods but you can use 1 and the same method for both types.
@mfleming.stantec wrote:
For Label types (...) change "TextNote" to "TextElement" and "TextNoteType" to "Symbol".
I'm trying to add new text types and label types to a project or family.
I'm able to create new family types but I cannot access the text/label system paramters.
Revit 2013
Sorry for the noob question.
Solved! Go to Solution.
Solved by mfleming.stantec. Go to Solution.
Hi
Does this post help: http://adndevblog.typepad.com/aec/2012/08/creating-new-textnotetype-programmatically.html
thanks
Saikat
Yes this will work.
I can look for the same procedure for labels and I'll be set.
Thanks!
Glad the suggestion is helpful.
kinid regards
For Text Types this worked.
For Label types I had to change "TextNote" to "TextElement" and "TextNoteType" to "Symbol".
Project completed.
Thanks for this thread. It helped me to fix my own problem, for which i needed to understand how I could update the text font of text notes as well as labels.
Just for your information, a TextNote is a TextElement as well. The revit API docs says:
So you actually don't need 2 methods but you can use 1 and the same method for both types.
@mfleming.stantec wrote:
For Label types (...) change "TextNote" to "TextElement" and "TextNoteType" to "Symbol".