Ejemplo n.º 1
0
        public static unsafe void ReDraw(Autodesk.AutoCAD.EditorInput.Editor ed, ObjectId entityId, RedrawMode mode)
        {
            ads_name objName = new ads_name();

            acdbGetAdsName(&objName, entityId);
            acedRedraw(&objName, (int)mode);
        }
Ejemplo n.º 2
0
        /// <summary>
        /// acdbEntLast
        /// </summary>
        public static unsafe ObjectId EntLast()
        {
            ObjectId id;
            ads_name ename = new ads_name();

            acdbEntLast(&ename);
            acdbGetObjectId(out id, &ename);
            return(id);
        }
Ejemplo n.º 3
0
        /// <summary>
        /// acdbEntNext
        /// </summary>
        public static unsafe ObjectId EntNext(ObjectId entId)
        {
            ObjectId id;
            ads_name objName = new ads_name();
            ads_name result  = new ads_name();

            acdbGetAdsName(&objName, entId);
            acdbEntNext(&objName, &result);
            acdbGetObjectId(out id, &result);
            return(id);
        }
Ejemplo n.º 4
0
 public unsafe void copyFrom(ads_name src)
 {
     this.item[0] = src.item[0];
     this.item[1] = src.item[1];
 }