public RXClass GetRXClass() { createInstance(); RXClass GetRX = BaseRXObject.GetRXClass(); tr.Dispose(); return(GetRX); }
ObjToRxClassStr(RXObject obj) { Debug.Assert(obj != null); RXClass rxClass = obj.GetRXClass(); if (rxClass == null) { Debug.Assert(false); MessageBox.Show("AcRxObject class has not called rxInit()!"); return("*Unknown*"); } else { return(rxClass.Name); } }
objToRxClassStr(RXObject obj) { Debug.Assert(obj != null); RXClass rxClass = obj.GetRXClass(); if (rxClass == null) { Debug.Assert(false); Autodesk.AutoCAD.ApplicationServices.Application.ShowAlertDialog("AcRxObject class has not called rxInit()!"); return("*Unknown*"); } else { return(rxClass.Name); } }