• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Discussion Groups

    .NET

    Reply
    Distinguished Contributor
    wesbird
    Posts: 273
    Registered: ‎12-05-2003

    ObjectId vs DBObject

    77 Views, 0 Replies
    10-13-2005 07:24 AM
    Hi,
    I have 3 questions:
    1) I am building a class with 2 properties as AutoCAD DBObject(Pline, Hatch). I can define them as Polyline and Hatch, or ObjectId. Which way should I go? what's the benefit?
    2) if I just want to get the layer name of a AutoCAD Object, should I have to use Open it forRead with TransactionManager, and close it afterward?
    3) what's the difference between DBObject.Close() and DBObject.Dispose()?



    Thank you
    Wes

    Message was edited by: weslleywang
    Please use plain text.