If you need access to selected drawings in list of Tekla Drawings – next piece of code will be useful
{ var CurrentDrawingHandler = new TSD.DrawingHandler(); //Get handler - seems easy. var drawingsEnum = CurrentDrawingHandler.GetDrawingSelector().GetSelected(); //Get a list of selected drawings while(drawingsEnum.MoveNext()) //goest through that list { var _drawing = drawingsEnum.Current as TSD.Drawing; //here is a particular drawing which we coudl work width string some_string = string.Empty; _drawing .GetUserProperty("Default", ref some_string );//let's do sometring, get some UDA for example. MessageBox.Show(some_string ); //And show it } }