EgtDOORCreator 2.2e1:
-> correzione annullamento nuovo assemblato, -> gestione automatico del ricalcolo della ferramenta in caso di inversione delle ante (cambio Swing) -> evidenziazione dei parametri modificati (sui telai) e segnalazione in caso di ricalcolo (si: ricalcolo, no: ognora il ricalcolo, annulla: ripristina l'ultimo valore inserito) -> aggiunta dei bottoni per il ricalcolo su ogni componente della porta (solo se la componente ha un riferimento valido)
This commit is contained in:
@@ -1491,6 +1491,16 @@ Public Class ProjectManagerVM
|
||||
Not IsNothing(Map.refPartPageVM.CurrPart.refPartDoor) AndAlso
|
||||
Not IsNothing(Map.refPartPageVM.CurrPart.refPartDoor.Door) AndAlso
|
||||
Map.refPartPageVM.CurrPart.refPartDoor.Door.TypePart.Contains("DO_") Then
|
||||
' se sono sono nella schermata principale oppure su un'anta
|
||||
'If (Not IsNothing(Map.refPartPageVM) AndAlso Not IsNothing(Map.refPartPageVM.CurrPart) AndAlso
|
||||
' Not IsNothing(Map.refPartPageVM.CurrPart.refPartDoor) AndAlso
|
||||
' Not IsNothing(Map.refPartPageVM.CurrPart.refPartDoor.Door) AndAlso
|
||||
' Map.refPartPageVM.CurrPart.refPartDoor.Door.TypePart.Contains("DO_")) OrElse
|
||||
' Map.refMainWindowVM.SelectedPage = MainWindowVM.ListPageEnum.nAssemblyPage Then
|
||||
' m_VisibilityCreateAssembly = Visibility.Visible
|
||||
'Else
|
||||
' m_VisibilityCreateAssembly = Visibility.Collapsed
|
||||
'End If
|
||||
m_VisibilityCreateAssembly = Visibility.Visible
|
||||
Else
|
||||
m_VisibilityCreateAssembly = Visibility.Collapsed
|
||||
@@ -1509,7 +1519,9 @@ Public Class ProjectManagerVM
|
||||
End Property
|
||||
|
||||
Public Sub CreateAssembly()
|
||||
Map.refAssemblyPageVM.CurrAssembly.CreateAssembly()
|
||||
If Not IsNothing(Map.refAssemblyPageVM) AndAlso Not IsNothing(Map.refAssemblyPageVM.CurrAssembly) Then
|
||||
Map.refAssemblyPageVM.CurrAssembly.CreateAssembly()
|
||||
End If
|
||||
End Sub
|
||||
|
||||
#End Region ' CreateAssemblyCommand
|
||||
|
||||
Reference in New Issue
Block a user