How can I create custom entity with c#?

How can I create custom entity with c#?

integtech
Enthusiast Enthusiast
1,325 Views
2 Replies
Message 1 of 3

How can I create custom entity with c#?

integtech
Enthusiast
Enthusiast

Hi, Dears.

 

I want to make a custom entity including line, circle and text.

Then, I want it to be saved and loaded in dwg file.

 

Is it possible in c# plugin project?

Could you give me a sample code or link for reference?

 

 

0 Likes
Accepted solutions (1)
1,326 Views
2 Replies
Replies (2)
Message 2 of 3

essam-salah
Collaborator
Collaborator

Hi @integtech 

without Plugins i think Dynamic Blocks enough,

0 Likes
Message 3 of 3

norman.yuan
Mentor
Mentor
Accepted solution

Depending on in what context "custom entity" means: if you mean custom entities similar to the ones in AutoCAD verticals (C3D, Architecture...), such as Alignment, CogoPoint, Wall..., then no, you need to use ObjectARX C++ API to create that kind of custom entity. 

 

With .NET API, the alternative to custom entity, sort of, is Overrule.

Norman Yuan

Drive CAD With Code

EESignature

0 Likes