Search found 26 matches
- 27 Apr 2009, 10:06
- Forum: CAD VCL
- Topic: Moving Objects
- Replies: 21
- Views: 99979
Re: Moving Objects
Can you send me example of AddScaledDXFEx using with TsgDXFInsert?
- 22 Apr 2009, 17:38
- Forum: CAD VCL
- Topic: Moving Objects
- Replies: 21
- Views: 99979
Re: Moving Objects
I am trying to change XRef file added by AddScaledDXFEx
If I can do that, I can move it by mouse. (using OnMouseDown,OnMouseMove v.s)
If I can do that, I can move it by mouse. (using OnMouseDown,OnMouseMove v.s)
- 22 Apr 2009, 16:25
- Forum: CAD VCL
- Topic: Moving Objects
- Replies: 21
- Views: 99979
Re: Moving Objects
I try to change Point to Move Layer... procedure TForm1.Button13Click(Sender: TObject); var k,i : integer; vImg: TsgDXFImage; vGlobalCADFile : TsgDXFImage; vEnt: TsgDXFEntity; vCADFiles: array [0..20] of TObject; FsgPaintBox: TsgDrawingNavigator; PointBreak : TPoint; P1,p2 : TPoint; vLine : TsgDXFPo...
- 22 Apr 2009, 14:36
- Forum: CAD VCL
- Topic: Moving Objects
- Replies: 21
- Views: 99979
Re: Moving Objects
But I use
var
sgPaintBox: TsgDrawingNavigator;
So I try
TsgDXFImage(sgPaintBox.Picture.Graphic).GetExtents;
But again nothing changed?
var
sgPaintBox: TsgDrawingNavigator;
So I try
TsgDXFImage(sgPaintBox.Picture.Graphic).GetExtents;
But again nothing changed?
- 22 Apr 2009, 12:58
- Forum: CAD VCL
- Topic: Moving Objects
- Replies: 21
- Views: 99979
Re: Moving Objects
Now I can find my file with that code : TsgDXFInsert(TsgDXFImage(sgPaintBox.Picture.Graphic).Converter.Sections[csEntities].Entities[1]).Point := MakeFPoint(100,100,0); But nothing changes on sgPaintBox; I try sgPaintBox.Refresh Repaint Update .But nothing changed. If I can change point with this co...
- 22 Apr 2009, 12:06
- Forum: CAD VCL
- Topic: Moving Objects
- Replies: 21
- Views: 99979
Re: Moving Objects
When I use Like that
I Get MEssage "ERROR ACCESS VIOLATION"
I am asking why am I get message???
I Get MEssage "ERROR ACCESS VIOLATION"
I am asking why am I get message???
- 21 Apr 2009, 16:11
- Forum: CAD VCL
- Topic: Moving Objects
- Replies: 21
- Views: 99979
Re: Moving Objects
Yes?
- 21 Apr 2009, 12:32
- Forum: CAD VCL
- Topic: Moving Objects
- Replies: 21
- Views: 99979
Re: Moving Objects
TsgDXFImage(vCADFiles[k]) is not nil. I did not send full code. I put ... ... vGlobalCADFile.AddScaledDXFex( TsgDXFImage(vCADFiles[k]), // TsgDXFImage object for inserting 'xx', // Name vPt, // Position in ACAD coords MakeFPoint(1, 1, 1), // Scale factor 0.0); // Rotation angle (degrees) work well w...
- 20 Apr 2009, 17:24
- Forum: CAD VCL
- Topic: Moving Objects
- Replies: 21
- Views: 99979
Re: Moving Objects
I want to use TsgDXFInsert which you suggest. But I ask you to erro "Access Violation". Is It wrong? DXFInsert := vGlobalCADFile.AddScaledDXFex( TsgDXFImage(vCADFiles[k]), // TsgDXFImage object for inserting 'xx', // Name vPt, // Position in ACAD coords MakeFPoint(1, 1, 1), // Scale factor 0.0); // ...
- 20 Apr 2009, 16:25
- Forum: CAD VCL
- Topic: Moving Objects
- Replies: 21
- Views: 99979
Re: Moving Objects
var .... .... .... DXFInsert : TsgDXFInsert; begin ..... ..... DXFInsert := vGlobalCADFile.AddScaledDXFex( TsgDXFImage(vCADFiles[k]), // TsgDXFImage object for inserting 'xx', // Name vPt, // Position in ACAD coords MakeFPoint(1, 1, 1), // Scale factor 0.0); // Rotation angle (degrees) -------------...
- 20 Apr 2009, 10:01
- Forum: CAD VCL
- Topic: Moving Objects
- Replies: 21
- Views: 99979
Moving Objects
Can we move objects with mouse which added by procedure AddScaledDXF?
- 16 Apr 2009, 17:11
- Forum: CAD VCL
- Topic: How to join two files?
- Replies: 21
- Views: 97559
Re: How to join two files?
They send me new colored file.
I try your code but can not find point.
When I zoom cgm file by Cad Import Vcl, it looks like something wrong.
They use Catia.
I send you cgm file and zooming pic. with email.
I try your code but can not find point.
When I zoom cgm file by Cad Import Vcl, it looks like something wrong.
They use Catia.
I send you cgm file and zooming pic. with email.
- 16 Apr 2009, 11:42
- Forum: CAD VCL
- Topic: Finding Point
- Replies: 9
- Views: 43651
Re: Finding Point
I think that It would be AutoCad file but not.
I will use cgm file for this operations which they send me.
You can look these files.
And Cad Import supports cgm files, am I right?
I will use cgm file for this operations which they send me.
You can look these files.
And Cad Import supports cgm files, am I right?
- 16 Apr 2009, 11:38
- Forum: CAD VCL
- Topic: How to join two files?
- Replies: 21
- Views: 97559
Re: How to join two files?
Yes, I know.
I will say them to put these points.
Can you send me example to find that colored points?
I will say them to put these points.
Can you send me example to find that colored points?
- 16 Apr 2009, 11:07
- Forum: CAD VCL
- Topic: How to join two files?
- Replies: 21
- Views: 97559
Re: How to join two files?
But I dont know which cad editor they use but I make program for this file format.
Just I need to find points from these files.
Now I think that they can put colored points for finding.
For Example Can Ifind blue, green ext. points from file?
Just I need to find points from these files.
Now I think that they can put colored points for finding.
For Example Can Ifind blue, green ext. points from file?