Adding entities
Moderators: SDS, support, admin
Adding entities
Hi
we are (again) testing your product ! (and i think that we will soon buy a licence : very speed product and easy to use
).
But another question before please :
Can we add entities to a DxfImage ? like layers or drawing ? and how ?
We want be able save own dwg and dwf documents then we need write in with differents layers!
Thanx
E.Jourde
we are (again) testing your product ! (and i think that we will soon buy a licence : very speed product and easy to use

But another question before please :
Can we add entities to a DxfImage ? like layers or drawing ? and how ?
We want be able save own dwg and dwf documents then we need write in with differents layers!
Thanx
E.Jourde
<blockquote id="quote"><font size="1" face="Verdana, Arial, Helvetica" id="quote">quote:<hr height="1" noshade id="quote"><i>Originally posted by Jourde</i>
<br />Hi
Can we add entities to a DxfImage ? like layers or drawing ? and how ?
E.Jourde
<hr height="1" noshade id="quote"></font id="quote"></blockquote id="quote">
Hi,
Thank you for kind words.
1. You can add entities to TsgDXFImage.Converter. "Add new entities" demo.
2. To add new layer use
var
Img: TsgDXFImage;
Layer: TsgDXFLayer;
begin
Layer := Img.Converter.LayerByName('NewLayer');
... // here you can work with new layer
end;
3. If you need to add another drawing, i.e. combine two or more drawings together please see "TextChange+Color2LineWeight" demo. "Add scaled files" button (the second) on the toolbar makes this functionality.
Evgeny
<br />Hi
Can we add entities to a DxfImage ? like layers or drawing ? and how ?
E.Jourde
<hr height="1" noshade id="quote"></font id="quote"></blockquote id="quote">
Hi,
Thank you for kind words.
1. You can add entities to TsgDXFImage.Converter. "Add new entities" demo.
2. To add new layer use
var
Img: TsgDXFImage;
Layer: TsgDXFLayer;
begin
Layer := Img.Converter.LayerByName('NewLayer');
... // here you can work with new layer
end;
3. If you need to add another drawing, i.e. combine two or more drawings together please see "TextChange+Color2LineWeight" demo. "Add scaled files" button (the second) on the toolbar makes this functionality.
Evgeny