How to change parameters of an entity?

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

Moderators: SDS, support, admin

Post Reply
AmperNr1
Posts: 12
Joined: 13 Oct 2010, 15:16

How to change parameters of an entity?

Post by AmperNr1 » 18 Oct 2010, 15:56

Hello.

I have one question: How to change parameters of an entity, when the entity is new DXF file (not simple line, circle or things like that)? How to change its color and move it on a screen without moving others entities?

Thank you for any help.

Mariusz Hyżorek

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

Re: How to change parameters of an entity?

Post by support » 18 Oct 2010, 17:55

Hello Mariusz.
Unfortunately I am not sure I understand you in a right way. TsgDXFEntity - the base class for any other entities contain Color property. This means same color change (TsgDXFEntity.Color) for any entity class from library. AddNewEntities demo source contains example of adding entities with specified properties to new CADImage object that can be saved into DXF file afterwards. Please specify your request if my post isn't informative enough.

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

Post Reply