Search found 81 matches

by aby
01 Dec 2012, 01:58
Forum: CAD VCL
Topic: OpenPcitureDialog
Replies: 19
Views: 95780

Re: OpenPcitureDialog

Hi, I couldn't find any remedy. It is a very weird situation. My workaround to this issue was to create a Virtual Xp machine on the client's computer. Then there is no problem. Please Alex find a solution. I'm thinking that you had encountered the same problem like us. I think every body who is usin...
by aby
28 Jun 2012, 16:07
Forum: CAD VCL
Topic: How to delete a Layer
Replies: 5
Views: 25929

Re: How to delete a Layer

Dear Alexander, I am using LayerByName function to add a new Layer. The issue is coming from LayerByName function. LayerByName is calling FindEntByName which is returning a deleted object index. I'm calling LayerByName intensivly in my program. If I use your suggesting adding a Layer method, Does ca...
by aby
26 Jun 2012, 12:55
Forum: CAD VCL
Topic: How to delete a Layer
Replies: 5
Views: 25929

Re: How to delete a Layer

Hi, Thanks for your fast reply. I've one more issue. After deleting a layer, I could no more add a new Layer. Before deleting I had 41 Layers, after deleting there is only 7 layers left in my test. When I examine the code with debugger, FindEntByName in DXFCONV.file vindex's value is 39. The issue i...
by aby
24 Jun 2012, 13:06
Forum: CAD VCL
Topic: How to delete a Layer
Replies: 5
Views: 25929

How to delete a Layer

Hi,

Is it possible to delete a layer?

I'm trying to remove a layer like the following with no success.

DXFConverter->DeleteEntity(Layer,true);
by aby
04 Apr 2012, 17:35
Forum: CAD VCL
Topic: OpenPcitureDialog
Replies: 19
Views: 95780

OpenPcitureDialog

Hi,

My program randomly works with Windows7 operating system on several machines.

The issue is comming from TOpenPictureDialog.

If TOpenPictureDialog's diplays the image at the right it works, but if does not show doesn't work.

Do you know any remedies.

Thanks
by aby
06 May 2011, 11:45
Forum: CAD VCL
Topic: How to .SHX fonts
Replies: 6
Views: 33286

Re: How to .SHX fonts

Alexander, Thanks for your clarifying post. First I'm not using MText. Simply I'm using Text. FImg->Converter->Loads(((TsgDXFBlock*)group->Entities[3])->Entities[6]); So we don't need this line. It is giving an error if it is included. The bad news is the issue is party been solved. It is continuing...
by aby
05 May 2011, 17:52
Forum: CAD VCL
Topic: How to .SHX fonts
Replies: 6
Views: 33286

Re: How to .SHX fonts

Alexander. I've downloaded your dwg and try to do your posting . I need some clarifications. TsgDXFDimension* dim = (TsgDXFDimension*)FImg->Converter->Entities[0]; FImg->Converter->Loads(dim); 1) From above I understand Entites[0] is aTsgDXFDimension object. ( True or false) TsgDXFGroup* group = (Ts...
by aby
04 May 2011, 17:48
Forum: CAD VCL
Topic: How to .SHX fonts
Replies: 6
Views: 33286

How to .SHX fonts

Hi, Entity->Style = CadMngr->CurrDimStyle; Entity->Style->TextStyle->FontName = "SIMPLEX"; Entity->Style->TextStyle->PrimaryFont = "C:\\BILSAR\\SIMPLEX.SHX"; The code snippet above is trying to use SIMPLEX text style with no success. BILSAR directory contains the simplex. shx file. When I examine wi...
by aby
25 Feb 2011, 15:32
Forum: CAD VCL
Topic: Dimension Text DIMZIN Variable
Replies: 1
Views: 13222

Dimension Text DIMZIN Variable

Hi,

How can I suppresses trailing zeros in decimal dimensions (for example, 12.5000 becomes 12.5) in this library. I want to set up the DIMZIN = 8;

Is it posible?

Thanks

Aby
by aby
08 Jan 2011, 22:14
Forum: CAD VCL
Topic: how to use TsgGDIPlusMatrix
Replies: 1
Views: 12421

how to use TsgGDIPlusMatrix

Hi, Maybe I cannot exprress myself, I've asked a question in this forum long time ago on how to translate an entity, without getting any answer. I encounter by chance the class TsgGDIPlusMatrix. It seems my questions is replied in that class. There are functions like Multiply, Translate, Scale, Rota...
by aby
25 Dec 2010, 19:06
Forum: CAD VCL
Topic: How to print ?
Replies: 2
Views: 15807

Re: How to print ?

hi,

Could you translate the following line to cpp.

Result := TGraphicClass(sgImage1.Picture.Graphic.ClassType).Create;

Thanks

Aby
by aby
25 Dec 2010, 18:51
Forum: CAD VCL
Topic: How to print ?
Replies: 2
Views: 15807

How to print ?

Hi, I need an example on how to print a drawing. I'm C++ oriented. I've found some examples on your help files. It seems Print View Area 2 example would suit to my needs. I've examined this pascal source code and I understand that to print a zoomed rectangle to a printer you have to create a new Ima...
by aby
19 Dec 2010, 13:55
Forum: CAD VCL
Topic: DIMALIGNED
Replies: 1
Views: 12676

DIMALIGNED

Hi,

All dimensions that I'm creating with your library is interpreting lineer by AutoCad.

How can I set the dimension attribute to dimaligned.

Thanks

Aby
by aby
26 Oct 2010, 18:18
Forum: CAD VCL
Topic: How to create a BLOCK
Replies: 1
Views: 13239

How to create a BLOCK

Hi,

I need an example on how to create and use a block.

Is there any ?

Thanks

Aby
by aby
08 Mar 2010, 10:06
Forum: CAD VCL
Topic: deleting TsgDxfLeader
Replies: 1
Views: 18620

deleting TsgDxfLeader

Hi, The code below is taken from your example on TsgDXFLeader. Without changing anything I'am using it in CodeGearBuilder 2010. It runs without any problem. But when I try to exit from the program I am encountering an error. There is an issue in destroying the leader object. When I examine the sourc...