Search found 9 matches

by hustwjz
01 Sep 2006, 05:34
Forum: CAD VCL
Topic: How to change ATTDEF
Replies: 3
Views: 15536

Then, how about the 'Visible' property?
From user manual I know this property is read-write, but after I change it to 'FALSE', the entity is still showing.

Thought that I found a powerfull CAD tool, keep on testing.....
by hustwjz
31 Aug 2006, 12:18
Forum: CAD VCL
Topic: How to change ATTDEF
Replies: 3
Views: 15536

How to change ATTDEF

Hi, I hope to change ATTDEF with following code. AEnt: TsgDXFEntity; ADef: TsgDXFAttdef; ..... if (AEnt is TsgDXFAttdef) begin ADef := AEnt as TsgDXFAttdef; ShowMessage(ADef.Tag + ':' + ADef.Text); ADef.Text := 'hello attdef'; //ADef.Tag := 'hello attdef'; //Adef.Visible := FALSE; EntList.Loads(ADef...
by hustwjz
31 Aug 2006, 12:07
Forum: CAD VCL
Topic: How to add spline?
Replies: 3
Views: 16291

Thank you for your quick response

Thought that I found a powerfull CAD tool, keep on testing.....
by hustwjz
28 Aug 2006, 13:13
Forum: CAD VCL
Topic: How to add spline?
Replies: 3
Views: 16291

How to add spline?

I hope to add spline and draw it on screen.
I have refered to help file of VCLExport, but I can not find a function such as AddSpline.
How can I achieve it?Please give me an example.
Thanks in advance


Thought that I found a powerfull CAD tool, keep on testing.....
by hustwjz
25 Apr 2006, 07:59
Forum: CAD VCL
Topic: How to hide text in dwg file(just like abviewer)?
Replies: 1
Views: 9869

How to hide text in dwg file(just like abviewer)?

Hi In Abviewer we can hide text(including the content of Dimension), how can I achieve it? Please give me some example code? I'm testing it with VCLImport. There's another question: how can I zoom and pan with left mouse key (just like autocad)? Thank you Thought that I found a powerfull CAD tool, k...
by hustwjz
04 Apr 2006, 08:50
Forum: CAD VCL
Topic: How to change the entity with CADImportVCL?
Replies: 5
Views: 22163

We need to handle three kind of entities currently
MTEXT, ATTDEF, DIMMENSION(including the block it refers to)

Thought that I found a powerfull CAD tool, keep on testing.....
by hustwjz
03 Apr 2006, 12:36
Forum: CAD VCL
Topic: How to change the entity with CADImportVCL?
Replies: 5
Views: 22163

Is there easy way to change the properties?
Since CopyMemory doesn't work, can you provide a function with which we can copy entities easily?
Such as
function CopyPropery(EntTarget, EntSource: TsgDXFEntity): Boolean;
by hustwjz
30 Mar 2006, 07:41
Forum: ABViewer
Topic: Bugs report (ATTDEF)
Replies: 1
Views: 14222

Bugs report (ATTDEF)

Hi, With your ABViewer5.2 or other demos you provided, the ATTDEF is not displayed correctly. First the color of ATTDEF lost; secondly, if there's a ATTDEF on the edge of a dwg file, the vcl can only display part of it. To show this bug, you can draw a dwg drawing with AUTOCAD. In this dwg file, you...
by hustwjz
30 Mar 2006, 06:02
Forum: CAD VCL
Topic: How to change the entity with CADImportVCL?
Replies: 5
Views: 22163

How to change the entity with CADImportVCL?

I hope to change the property of entities, but how? I found that I can change the content of TEXT easily, but it' very hard to change the content of MTEXT. And, I don't know how to change the content of dimmension and ATTDEF. My code is as followings: <b>function</b> TMainForm.CopyMText(AMText: TsgD...