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: 

TextAlignFlags.TEF_ALIGN_LEFT

2 REPLIES 2
Reply
Message 1 of 3
bthatcher
348 Views, 2 Replies

TextAlignFlags.TEF_ALIGN_LEFT

Im tryint to call TextNote and asign the TextAlignFlags.TEF_ALIGN_LEFT parameters as variables. I cannot use strings as arguments, How can I do this? Thanks. 

2 REPLIES 2
Message 2 of 3
jeremytammik
in reply to: bthatcher

Use an enum, since that is what it is, cf. Revit API help file RevitAPI.chm:

TextAlignFlags Enumeration: An enumerated type listing all the Text align flags.

Best regards,

Jeremy
--
Jeremy Tammik
Autodesk Developer Network -- http://www.autodesk.com/joinadn
The Building Coder -- http://thebuildingcoder.typepad.com



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

Message 3 of 3
bthatcher
in reply to: jeremytammik

I can use Lookup to find the diferent interger values, but can you give me an example of how to use them? Also, i'm trying to find the enum values for VIEW_TYPE. But I'm not able to use Lookup when a view is selected. Thanks. 

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

Post to forums  

Autodesk DevCon in Munich May 28-29th


Rail Community