Search found 8 matches

by Yura
13 Jun 2006, 16:03
Forum: CAD VCL
Topic: TsgDXFImage.GetExtents - Error
Replies: 4
Views: 17512

Many thanks for the detailed answer!
by Yura
13 Jun 2006, 15:58
Forum: CAD VCL
Topic: Copy layers
Replies: 1
Views: 11675

Copy layers

How to copy all layers from one TsgDXFImage in another TsgDXFImage?
by Yura
08 Jun 2006, 12:19
Forum: CAD VCL
Topic: TsgDXFImage.GetExtents - Error
Replies: 4
Views: 17512

<blockquote id="quote"><font size="2" face="Verdana, Arial, Helvetica" id="quote">quote:<hr height="1" noshade id="quote"> It is necessary to set these fields for <b>vInsert</b> before calling <b>Img.Converter.Loads(vInsert);</b> <hr height="1" noshade id="quote"></font id="quote"></blockquote id="q...
by Yura
07 Jun 2006, 18:14
Forum: CAD VCL
Topic: TsgDXFImage.GetExtents - Error
Replies: 4
Views: 17512

TsgDXFImage.GetExtents - Error

I load from base DXF: <b>var</b> Img: TsgDXFImage; <b>procedure</b> TMainForm.DrawCAD(ID: String; PRX, PRY:Real); <b>var</b> vInsert: TsgDXFInsert; vCAD: TsgDXFImage; Stream:TStream; vPoint:TFPoint; <b>begin</b> vCAD:=TsgDXFImage.Create; <b>try</b> vCAD.IsWithoutBorder:=True; with pFIBDataSet1 do St...
by Yura
07 Jun 2006, 16:36
Forum: CAD VCL
Topic: Installation of coordinates TsgDXFInsert
Replies: 4
Views: 16643

Thanks! All has turned out
by Yura
07 Jun 2006, 14:52
Forum: CAD VCL
Topic: Installation of coordinates TsgDXFInsert
Replies: 4
Views: 16643

I so have understood, what for moving TsgDXFInsert it is enough to make so?

Code: Select all

Img: TsgDXFImage;
vInsert:TsgDXFInsert;
...
vInsert.Point:=MakeFPoint(0, 0, 0);
vInsert.Block.Offset:=MakeFPoint(1, 2, 0);
Img.Converter.Loads(vInsert);
Or not?
by Yura
07 Jun 2006, 13:17
Forum: CAD VCL
Topic: Installation of coordinates TsgDXFInsert
Replies: 4
Views: 16643

Installation of coordinates TsgDXFInsert

I do so: vInsert:TsgDXFInsert; ... vInsert.Point:=MakeFPoint(0, 0, 0); // Passes vInsert.Block.Offset:=MakeFPoint(0, 0, 0); //Passes vInsert.Block.Entities[0].Box.TopLeft:=MakeFPoint(1, 2, 0); // Not pass, writes: [Error] MainUnit.pas(192): Left side cannot be assigned to How to install last coordin...
by Yura
06 May 2006, 11:14
Forum: CAD VCL
Topic: Move TsgDXFEntity
Replies: 1
Views: 10294

Move TsgDXFEntity

I have added by means of AddEntity a TsgDXFSpline on TsgDXFImage.
How I can move this spline on X and Y?