switch on/off layer by code
Posted: 20 Jun 2007, 10:47
Hallo,
how can i switch layers on/off by code using Delphi 7 ?
how can i switch layers on/off by code using Delphi 7 ?
CADSoftTools - AutoCAD DWG DXF HPGL (PLT) SVG CGM STEP IGES STL SAT viewers, converters and developer tools. Delphi and C# source code.
https://cadsofttools.com/forum/
Code: Select all
<b>procedure</b> TfmMain.btnLayersClick(Sender: TObject);
<b>begin
if</b> FCADViewX.DXFImage <> <b>nil then
begin</b>
LayersDialogExecute(DXFImageSrv.DefaultInterface, FCADViewX);
FCADViewX.RefreshAfterRotate;
<b>end</b>;
<b>end</b>;