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