critique correctif

ElectroCAD v4.3.23

· ElectroCAD

CopyPageAt APPROCHE RADICALE : abandon TOTAL de DeepCloneObjects (qui plantait silencieusement sur les 19 jonctions+busbars cree par JunctionTools reactor). Boucle de reconstruction MANUELLE : pour CHAQUE entite de sourceIds, RecreateEntityFromScratch lit Line.StartPoint/EndPoint, BlockReference.Position/BTR/Rotation/Scale, Polyline vertices, etc. et cree une nouvelle entite vierge avec TransformBy(displacement). Pour BlockReferences : recopie aussi AttributeCollection via CopyBlockAttributes (essentiel cartouche). Log v4.3.23 dans %TEMP%/ec_copypage_debug.txt avec sourceIds.Count vs recreatedOK/recreatedFail + displacement + handle cartouche.

← Retour au journal complet