Search found 13 matches

by avimms
07 Dec 2007, 08:03
Forum: CAD VCL
Topic: Point inside a closed Polyline
Replies: 1
Views: 12350

Point inside a closed Polyline

Is there a simplest way to determine whether a given TFPoint lies inside a polyline? I am trying to use PtInRect API by windows to check the same. For this I first construct a rect around the vertices of the polyline and then convert this rect and the TFPoint to 2D point and then call PtInRect. But ...
by avimms
25 Jun 2007, 15:52
Forum: CAD VCL
Topic: InvalidateRgn on TsgDrawingNavigator
Replies: 1
Views: 10300

InvalidateRgn on TsgDrawingNavigator

Is it possible to refresh only a part of DXF image shown on the TsgDrawingNavigator component. I am drawing externally onto the TsgDrawingNavigator canvas. So if I need to clear my drawings I am required to call TsgDrawingNavigator.Refresh, which causing a considerablt flicker. I would like to avoid...
by avimms
12 Apr 2007, 10:17
Forum: CAD VCL
Topic: panning and scaling by function (ShowRect)
Replies: 1
Views: 10743

panning and scaling by function (ShowRect)

Hi Sergey, I was checking newly introduced method - TsgDrawingNavigator.ShowRect to pan/scale the loaded DXF image. What I observed is the result of calling the method, for different direction of view (and rotation angle also), is not consistent. I feel it is dependent on the order of L-T-R-B of TFR...
by avimms
16 Mar 2007, 08:53
Forum: CAD VCL
Topic: How to get point on sgImage from point in drawing
Replies: 3
Views: 15039

Hi Sergey,

Thanks for the information. I have seen the same documentation in your help file. But it is not clear, it does not specify what 2D coordinate system, whether dxf drawing or sgImage window.

Regards,
Avinash
by avimms
14 Mar 2007, 12:32
Forum: CAD VCL
Topic: How to get point on sgImage from point in drawing
Replies: 3
Views: 15039

How to get point on sgImage from point in drawing

Hi There, How can I get the point on TsgImage for a given point in DXF drawing. I want to get the coordinates (X, Y) similar to that returned by TsgImage's mouse move event, programmatically. I tried to use method GetRealImagePoint of TsgDXFImage, but it seems to return the same TFPoint structure, t...
by avimms
14 Mar 2007, 09:15
Forum: CAD VCL
Topic: How to shift a layer's co-ordinate
Replies: 1
Views: 11947

How to shift a layer's co-ordinate

Hi there, In a DXF file I have no. of layers. I want to change the Z-coordinate of a particular layer, so when the DXF map is viewed in an isometric view, one should be able to see the vertical distance between two layers changed. What I have to do to achieve this? I tried enumerating the entities i...
by avimms
12 Mar 2007, 16:41
Forum: CAD VCL
Topic: How to add Images(BMP/JPEG) in DXF
Replies: 5
Views: 22314

Sergey, Thanks for clarification. So I need to "FindPicture" of interest, using TsgDXFImageDef.Handle property and get it in TsgDXFImageEnt object and add it in DXF image. It means, duplication of "image data" is avoided, right? Or does it just avoids creation of TBitmap and assigning it to TsgDXFIm...
by avimms
12 Mar 2007, 09:35
Forum: CAD VCL
Topic: How to add Images(BMP/JPEG) in DXF
Replies: 5
Views: 22314

Hi Sergey, Thanks for the answer. I was trying to add an image based on code snippet you have sent for some other query in the forum, which makes use of TsgDXFImageDef class to load the picture. However I could not see the image after adding it. I found out that my DXF map is having large dimension ...
by avimms
09 Mar 2007, 13:38
Forum: CAD VCL
Topic: How to add Images(BMP/JPEG) in DXF
Replies: 5
Views: 22314

How to add Images(BMP/JPEG) in DXF

Hi,

How can I add an image into DXFImage, using DXF Import VCL.

Thanks & Regards,
Avinash
by avimms
16 Oct 2006, 14:42
Forum: CAD VCL
Topic: DXF Import VCL demos not compiling
Replies: 1
Views: 9993

DXF Import VCL demos not compiling

Hi, We have a registered copy of DXF Import VCL (no source). We got a mail about release of version 5.2.5 on June 08, 2006. In history file you have mentioned about changes happened in the release. What I have observed is few of the demos are not compiling with the lib files provided. However, the l...
by avimms
28 Apr 2006, 15:14
Forum: CAD VCL
Topic: Package for DXF Import VCL on BDS 2006
Replies: 2
Views: 12040

Package for DXF Import VCL on BDS 2006

Hello there,

Kindly let me know when you will release DXF Import VCL for BDS 2006. Can you kindly give us some solution for the time being.

Regards,
Avi

avi
by avimms
09 Dec 2005, 10:19
Forum: CAD VCL
Topic: setting up current view rectangle
Replies: 8
Views: 35428

Hi Sergey,

Thanks a lot for the reply to my question. The demo you suggested solved my problem.

Regards,
Avinash
by avimms
08 Dec 2005, 08:21
Forum: CAD VCL
Topic: setting up current view rectangle
Replies: 8
Views: 35428

setting up current view rectangle

Hi there, Thanks for replying to my previous question. Our company has purchased a license copy of DXF Import VCL. I have posted two more questions to support directly. If you have not got them, I am posting again here. How to set some rectangular area of the DXF file as the current visible area in ...