Line with Circle in between using overrule

alexisgacia
Advocate
Advocate

Line with Circle in between using overrule

alexisgacia
Advocate
Advocate

Hi,

 

I'm trying to create a line with circle in the middle. When the user call the function, it will able to select the start point and end point that will draw a line and circle/rectangle as 1 object. Middle of the line is an object like circle/rectangle that user will able to adjust the size of that object using grip.

 

Please share the sample code to guide me with similar effect.

 

Thanks in advance

0 Likes
Reply
289 Views
1 Reply
Reply (1)

parikhnidi
Advocate
Advocate

I think it is an ObjectARX / ObjectDBX issue. You can create your own custom entities with specified grip behavior. The learning curve is fairly steep, since, you are write a code in C++ and accessing core classes of AutoCAD.

 

Nimish

0 Likes