Distinguished Contributor
Posts: 347
Registered: ‎12-05-2003
Message 1 of 1 (171 Views)

how to work with DrawOrderTable?

171 Views, 0 Replies
01-09-2006 08:41 AM
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.


You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community