Viewer demo problem

Discuss and ask questions about CAD VCL (Delphi and C++ Builder).

Moderators: SDS, support, admin

Post Reply
AndyStephenson
Posts: 8
Joined: 10 Oct 2006, 12:08
Location: United Kingdom

Viewer demo problem

Post by AndyStephenson » 10 Oct 2006, 12:11

Hi,

I have installed the component into D2005, and when I run the viewer
demo, load a dxf, and hit the layer button, the program throws an exception.

Is this a known problem? If so, what's the fix.

Also, I have noted from the demos that there appears to be very little
in the way of adding entities at run time using the mouse. Are there any examples of this?

Are there any examples that show the use of the Layer for the entity -
how to select or create a new layer?

Is there a redlining demo to look at?

Please advise.

...Andy

support
Posts: 3272
Joined: 30 Mar 2005, 11:36
Contact:

Post by support » 10 Oct 2006, 18:01

Dear Andy,

We will answer you soon.

Sergey.

please post questions to the forum or write to support@cadsofttools.com

AndyStephenson
Posts: 8
Joined: 10 Oct 2006, 12:08
Location: United Kingdom

Post by AndyStephenson » 10 Oct 2006, 22:16

Sergey,

Please do.

Thanks...

...Andy

support
Posts: 3272
Joined: 30 Mar 2005, 11:36
Contact:

Post by support » 13 Oct 2006, 18:38

Dear Andy,
<blockquote id="quote"><font size="2" face="Verdana, Arial, Helvetica" id="quote">quote:<hr height="1" noshade id="quote">I have installed the component into D2005, and when I run the viewer demo, load a dxf, and hit the layer button, the program throws an exception.

Is this a known problem? If so, what's the fix.<hr height="1" noshade id="quote"></font id="quote"></blockquote id="quote">
It is necessary to find procedure <b>lvLayersDeletion</b> in the unit <b>fLayers</b> and to replace it like the following:

Code: Select all

<b>unit</b> fLayers;
...
<b>procedure</b> TfmLayers.lvLayersDeletion(Sender: TObject; Item: TListItem);
<b>begin
  if not</b> (fsModal <b>in</b> FormState) <b>then</b>
    Dispose(Item.Data);
<b>end</b>;
<blockquote id="quote"><font size="2" face="Verdana, Arial, Helvetica" id="quote">quote:<hr height="1" noshade id="quote">Also, I have noted from the demos that there appears to be very little in the way of adding entities at run time using the mouse. Are there any examples of this?<hr height="1" noshade id="quote"></font id="quote"></blockquote id="quote">
The following demos have additing examples:
<ul><li><b>Add new entities</b></li>
<li><b>Editor</b> (includes selecting entities by mouse and displayes the layer)</li>
<li><b>TextChange+Color2LineWeight</b> (include example of creating <b>TsgDXFImage</b>)</li></ul>
These demos will be improved in the next version of CADImportVCL. The release is awaited at the beginning of December, 2006.
<blockquote id="quote"><font size="2" face="Verdana, Arial, Helvetica" id="quote">quote:<hr height="1" noshade id="quote">Are there any examples that show the use of the Layer for the entity - how to select or create a new layer?<hr height="1" noshade id="quote"></font id="quote"></blockquote id="quote">
Unfortunately we have no visual tool for creating layers. We plan to add it in future versions of the library.
<blockquote id="quote"><font size="2" face="Verdana, Arial, Helvetica" id="quote">quote:<hr height="1" noshade id="quote">Is there a redlining demo to look at?<hr height="1" noshade id="quote"></font id="quote"></blockquote id="quote">
Next version of CADImportVCL will not include Redline. Please contact us on info@cadsofttools.com to get more info on this question.

Sergey.

please post questions to the forum or write to support@cadsofttools.com

Post Reply