I am trying to access text elements in Revit with C#. I can get the text elements as objects in my code but I cannot seem to find any tools that will pull the text value out of the text element (as an object)?? Everytime I use a c# function, tostring, getvalue etc., the debugger sais that you cannot apply these to Revit objects! There does not seem to be any functions via the "Autodesk.Revit.Elements" coding to do this. This is where I am right now...
IEnumerator e = collection.GetEnumerator();
Element thistext = e.Current as Element; //thistext is a revit element
I cannot get to the string value of 'thistext' here??