Drawing a new entity

Discuss and ask questions about CAD VCL (Delphi and C++ Builder).

Moderators: SDS, support, admin

Post Reply
prodriguezdlt
Posts: 49
Joined: 06 Feb 2008, 03:26
Location: Mexico

Drawing a new entity

Post by prodriguezdlt » 04 Dec 2008, 22:54

Hi, can u please help me with a simple code to create a new circle by draging his size with the mouse? i just want to know the simpliest way to draw a circle with the mouse,

cheers

Pavel

support
Posts: 3272
Joined: 30 Mar 2005, 11:36
Contact:

Re: Drawing a new entity

Post by support » 05 Dec 2008, 18:37

Hello Pavel,

First of all we recommend to pay attention on AddEntityDemo available in the CAD Import .NET package.
Secondly, CAD Import VCL does not contain examples of visual editing files. But this can be done by yourself. CAD Import VCL contains some functions which covert screen coordinates to CAD point, such as TsgDrawingNavigator.GetDrawingCoords and TsgDXFImage.GetCADCoords.

Sergey.
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support

Post Reply