Example #1
0
        public RXClass GetRXClass()
        {
            createInstance();
            RXClass GetRX = BaseRXObject.GetRXClass();

            tr.Dispose();
            return(GetRX);
        }
Example #2
0
        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);
            }
        }
Example #3
0
File: Db.cs Project: 15831944/EM
        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);
            }
        }