How can I create a TextElement through the Revit API in C#?
Any help would be appretiated.
Please search the Internet before raising a new question.
You can use the various overloads of TextNote.Create:
https://www.revitapidocs.com/2020/465d02a9-8bc8-8e9f-cc57-642c2626e4d6.htm
Samples demonstrating its usage are available in The Building Coder blog and the Revit SDK samples.
I should have reformulated my question.
I want to create a Label of family Title Blocks which is of type Text Element.
I do not want to create an element of type Text Note.
Maybe this thread is helpful?
Can't find what you're looking for? Ask the community or share your knowledge.