.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

ObjectId vs DBObject

0 REPLIES 0
Reply
Message 1 of 1
wesbird
224 Views, 0 Replies

ObjectId vs DBObject

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
Windows 10 64 bit, AutoCAD (ACA, Map) 2023
0 REPLIES 0

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost