Skip to content

Instantly share code, notes, and snippets.

@AlexandrDragunkin
Created January 16, 2025 07:38
Show Gist options
  • Save AlexandrDragunkin/ea7754ba93952f9ea014d0d429a67a16 to your computer and use it in GitHub Desktop.
Save AlexandrDragunkin/ea7754ba93952f9ea014d0d429a67a16 to your computer and use it in GitHub Desktop.
//__author__ = 'Aleksandr Dragunkin'
//__created__= '16.01.2025'
//__version__ = '0.1.00'
// -------------------------------------------------------------------------------
// Name: vispanel
// Purpose: Восстанавливает видимость полотна и кромки панели
// Copyright: (c) GEOS 2012-2025 http://k3info.ru/
// Licence: FREE
// ------------------------------------------------------------------------------
if !ExistsLayer("SWPanels") {
goto labend;
}
if !ExistsLayer("0") {
layers new "0";
}
onerror labend;
layers on "SWPanels";
FltrLayer(1,"SWPanels");
selbyattr "Furntype==\"010000\"||Furntype==\"050000\"" partly all;
if sysvar(61) {
chprop layer partly previous done "0";
}
layers off "SWPanels";
labend:
FltrLayer(0);
exit;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment