Hi
I am playing with DrawOrderTable but got no luck.
I read this thread: HowTo: Get Reference to DrawOrderTable at http://discussion.autodesk.com/thread.jspa?messageID=5025267
Here is the my code:
//
ObjectId oidDOT = Autodesk.AutoCAD.DatabaseServices.BlockTableRecord.DrawOrderTableId;
DrawOrderTable DOT = (DrawOrderTable) trans.GetObject(oidDOT, OpenMode.ForWrite, false);
// DrawOrderTable DOT = new DrawOrderTable(); <<-- version 2
DOT.MoveAbove(oidCol, oid);
none of them work.
What's wrong in my code? Thank you very much for your help.
Wes
Windows 10 64 bit, AutoCAD (ACA, Map) 2023