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