Revit API Forum
Welcome to Autodesk’s Revit API Forums. Share your knowledge, ask questions, and explore popular Revit API topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Create TextElement with C#

5 REPLIES 5
Reply
Message 1 of 6
rita.aguiar
1037 Views, 5 Replies

Create TextElement with C#

How can I create a TextElement through the Revit API in C#?

Any help would be appretiated.

5 REPLIES 5
Message 2 of 6
jeremytammik
in reply to: rita.aguiar

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.

 



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

Message 3 of 6
rita.aguiar
in reply to: jeremytammik

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.Convert.png

 

Label.png

 

Message 4 of 6
rita.aguiar
in reply to: rita.aguiar

@jeremytammik 

 

I meant System Family Label

Message 5 of 6
stever66
in reply to: rita.aguiar
Message 6 of 6
rita.aguiar
in reply to: stever66

@stever66 

Thanks. I already looked up that post.

However, I do not want to create a new System Family Label Type. I want to create a new instance of a Label Type on a Revit sheet.

Do you know how I can do this?

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Forma Design Contest


Rail Community