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

Which assembly does Autodesk.AutoCAD.DatabaseServices.ImpObject belong to?

1 REPLY 1
Reply
Message 1 of 2
csharpbird
251 Views, 1 Reply

Which assembly does Autodesk.AutoCAD.DatabaseServices.ImpObject belong to?

I find that the type of a custom object is IAutodesk.AutoCAD.DatabaseServices.ImpObject.But which assembly does this class belong to?
Thanks in advance!
1 REPLY 1
Message 2 of 2
Anonymous
in reply to: csharpbird

acdbmgd.dll is the assembly.

Regarding this type, I tripped over it too.

The ObjectModified and related events of the
Database routinely throw instances of this type
at the handler, but you must not try to access
them at all because they're not exported types.

So:

// a handler for the Database.ObjectModified event:

database_ObjectModified(DBObject obj)
{
if( obj.GetType().IsNotPublic )
return;

// else do your stuff
}




--
http://www.caddzone.com

AcadXTabs: MDI Document Tabs for AutoCAD 2008
Supporting AutoCAD 2000 through 2008
http://www.acadxtabs.com

wrote in message news:5544709@discussion.autodesk.com...
I find that the type of a custom object is IAutodesk.AutoCAD.DatabaseServices.ImpObject.But which assembly does this class belong to?
Thanks in advance!

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