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

Adding Custom Classes to the DWG file

4 REPLIES 4
SOLVED
Reply
Message 1 of 5
tcuneio
748 Views, 4 Replies

Adding Custom Classes to the DWG file

I'm new to .NET and am creating custom classes that I need to save to the DWG file.  I assume this is straightforward but have not found a way to do it.  I'm using VB.NET but can work with C++ examples as well.  Do I have to inherit from a DBObject class and override or is it possible to declare my own custom classes and somehow register them to DBObject?

4 REPLIES 4
Message 2 of 5
hgasty1001
in reply to: tcuneio

Hi,

 

No sure what do you mean by custom classes, but if you are trying custom entities, the answer is NO, you can't do custom entities with .NET API, only C++ API.

 

Gaston Nunez

Message 3 of 5
dgorsman
in reply to: hgasty1001

On the other hand, if this is simply about storing data there are all sorts of ways-and-means to getting that done.

----------------------------------
If you are going to fly by the seat of your pants, expect friction burns.
"I don't know" is the beginning of knowledge, not the end.


Message 4 of 5
tcuneio
in reply to: dgorsman

I'm now exploring ways to store the properties of objects in my classes in DBDictionaries and exect that will accomplish my purpose.  Thanks for the replies!

Message 5 of 5
abdulhaseeb114
in reply to: tcuneio

Hi,

 

Please provide your example how you managed to store data in your custom class.

 

Thanks.

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