DataBeamWall :
- corretta abilitazione/disabilitazione features per Outline e Aperture.
This commit is contained in:
+3
-2
@@ -1,4 +1,4 @@
|
||||
-- DisableFeatures.lua by Egaltech s.r.l. 2020/04/06
|
||||
-- DisableFeatures.lua by Egaltech s.r.l. 2020/07/27
|
||||
-- Gestione disabilitazione delle feature selezionate
|
||||
|
||||
-- Intestazioni
|
||||
@@ -18,7 +18,8 @@ local nId = EgtGetFirstSelectedObj()
|
||||
while nId do
|
||||
-- verifico sia una feature
|
||||
local nParentId = EgtGetParent( nId)
|
||||
if EgtIsLayer( nParentId or GDB_ID.NULL) and EgtGetName( nParentId) == 'Processings' and
|
||||
if EgtIsLayer( nParentId or GDB_ID.NULL) and
|
||||
( EgtGetName( nParentId) == 'Processings' or EgtGetName( nParentId) == 'Outline') and
|
||||
EgtGetInfo( nId, 'GRP', 'i') and EgtGetInfo( nId, 'PRC', 'i') then
|
||||
EgtSetInfo( nId, 'DO', 0)
|
||||
EgtSetColor( nId, Color3d( 160, 160, 160))
|
||||
|
||||
Reference in New Issue
Block a user