Gestione joint sash con aggiunta split nel frame
This commit is contained in:
@@ -184,6 +184,18 @@ namespace WebWindowComplex.Models
|
||||
Frame frame = ParentWindow.AreaList.First();
|
||||
if(frame != null)
|
||||
{
|
||||
// Aggiorno joint di tutte le ante
|
||||
if(AreaList.FirstOrDefault()!.AreaList.FirstOrDefault().AreaList.FirstOrDefault() is Sash)
|
||||
{
|
||||
Sash sash = (Sash)AreaList.FirstOrDefault()!.AreaList.FirstOrDefault().AreaList.FirstOrDefault();
|
||||
foreach(var anta in sash.SashList)
|
||||
{
|
||||
foreach (var j in anta.JointList)
|
||||
j.SelJointType = anta.JointList.FirstOrDefault().SelJointType;
|
||||
}
|
||||
|
||||
}
|
||||
// Aggiorno altezza sotto aree
|
||||
frame.SearchAreaList(frame, frame.AvailHeightArea(), "Height");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user