* DataDoors 2.7l1 :

- per decorazioni da disegno aggiunta gestione trim differenziati sui 4 lati tramite nota da info TrimLTHB nel layer.
This commit is contained in:
Dario Sassi
2025-12-17 13:09:25 +01:00
parent 6313edfaea
commit 0c7849263c
3 changed files with 21 additions and 9 deletions
+5 -1
View File
@@ -112,6 +112,11 @@ function ImportNgeFile.Draw( CustGeomPath, CustGeomFile )
if sRot then
EgtSetInfo( Lg, 'Rotate', sRot)
end
-- recupero eventuali parametri di trim sui lati (lock, top, hinge, bottom)
local sTrim = EgtGetInfo( nNewLayer, 'TrimLTHB')
if sTrim then
EgtSetInfo( Lg, 'TrimLTHB', sTrim)
end
-- riloco tutti i nuovi layer dal nuovo pezzo al pezzo corrente
while nNewLayer do
@@ -191,7 +196,6 @@ function ImportNgeFile.Draw( CustGeomPath, CustGeomFile )
-- se non ho caricato il file geom esco
if not MakeFaceGeom then
-- (NOTA : se ci sono errori il componente non viene eseguito dal programma di gestione dei componenti)
-- scrivo note nel layer
EgtSetInfo( Lg, 'Type' , 'ImportNgeFile')