RgtBEAMWALL 3.1.3.4:
-piccola modifica su aggiorna pezzo su assemblato
This commit is contained in:
@@ -38,5 +38,5 @@ Imports System.Windows
|
||||
' by using the '*' as shown below:
|
||||
' <Assembly: AssemblyVersion("1.0.*")>
|
||||
|
||||
<Assembly: AssemblyVersion("3.1.3.3")>
|
||||
<Assembly: AssemblyFileVersion("3.1.3.3")>
|
||||
<Assembly: AssemblyVersion("3.1.3.4")>
|
||||
<Assembly: AssemblyFileVersion("3.1.3.4")>
|
||||
|
||||
@@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
|
||||
// You can specify all the values or you can default the Build and Revision Numbers
|
||||
// by using the '*' as shown below:
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("3.1.3.3")]
|
||||
[assembly: AssemblyFileVersion("3.1.3.3")]
|
||||
[assembly: AssemblyVersion("3.1.3.4")]
|
||||
[assembly: AssemblyFileVersion("3.1.3.4")]
|
||||
|
||||
@@ -306,6 +306,7 @@ Public Class BTLPartManagerVM
|
||||
' creo copia
|
||||
Dim NewPart As BTLPartM = SelPart.Copy()
|
||||
If Not IsNothing(NewPart) Then
|
||||
Map.refProjectVM.UpdatePart(NewPart.nPartId)
|
||||
' selezione ultimo che e' quello appena creato
|
||||
Map.refProjectVM.BTLStructureVM.SetSelBTLPart(Map.refProjectVM.BTLStructureVM.BTLPartVMList(Map.refProjectVM.BTLStructureVM.BTLPartVMList.Count - 1), False, True)
|
||||
End If
|
||||
|
||||
@@ -1274,7 +1274,7 @@ Public Class BTLStructureVM
|
||||
Map.refProjectVM.BTLStructureVM.SectionList.Add(NewPartVM.Section)
|
||||
End If
|
||||
End If
|
||||
If Map.refProdManagerVM.ListProjAsseBase.Count > 0 Then Map.refProjectVM.UpdatePart()
|
||||
If Map.refProdManagerVM.ListProjAsseBase.Count > 0 Then Map.refProjectVM.UpdatePart(nNewPartId)
|
||||
End If
|
||||
End Sub
|
||||
|
||||
|
||||
@@ -67,5 +67,5 @@ Imports System.Windows
|
||||
' Revision
|
||||
'
|
||||
|
||||
<Assembly: AssemblyVersion("3.1.3.3")>
|
||||
<Assembly: AssemblyFileVersion("3.1.3.3")>
|
||||
<Assembly: AssemblyVersion("3.1.3.4")>
|
||||
<Assembly: AssemblyFileVersion("3.1.3.4")>
|
||||
|
||||
@@ -545,28 +545,28 @@ Public Class ProjectVM
|
||||
''' <summary>
|
||||
''' Funzione che permette di eliminare un pezzo modificato e reinserirlo nell'assemblato
|
||||
''' </summary>
|
||||
Friend Sub UpdatePart()
|
||||
Friend Sub UpdatePart(nPartId As Integer)
|
||||
Dim IdAsseBase As Integer = Map.refProdManagerVM.ListProjAsseBase(Map.refProjectVM.BTLStructureVM.SelBTLPart.nPROJ)
|
||||
Dim IdPart As Integer = 0
|
||||
Dim NewId As Integer = 0
|
||||
' Setto il nuovo contesto
|
||||
EgtSetCurrentContext(Map.refSceneShowBuldingVM.SceneShowBulding.GetCtx())
|
||||
|
||||
If Map.refSceneShowBuldingVM.MapInfo.TryGetValue(Map.refProjectVM.BTLStructureVM.SelBTLPart.BTLPartM.nPartId, IdPart) Then
|
||||
If Map.refSceneShowBuldingVM.MapInfo.TryGetValue(nPartId, IdPart) Then
|
||||
|
||||
If EgtBeamGetBuildingIsOn(IdAsseBase) Then EgtBeamShowBuilding(IdAsseBase, False)
|
||||
|
||||
EgtErase(IdPart)
|
||||
|
||||
NewId = EgtCopyEx(Map.refSceneHostVM.MainScene.GetCtx(), Map.refProjectVM.BTLStructureVM.SelBTLPart.BTLPartM.nPartId, Map.refSceneShowBuldingVM.SceneShowBulding.GetCtx(), 0)
|
||||
NewId = EgtCopyEx(Map.refSceneHostVM.MainScene.GetCtx(), nPartId, Map.refSceneShowBuldingVM.SceneShowBulding.GetCtx(), 0)
|
||||
|
||||
EgtChangeId(NewId, IdPart)
|
||||
EgtBeamCalcSolid(IdPart)
|
||||
EgtBeamShowSolid(IdPart, True)
|
||||
EgtBeamShowBuilding(IdAsseBase, True)
|
||||
Else
|
||||
NewId = EgtCopyEx(Map.refSceneHostVM.MainScene.GetCtx(), Map.refProjectVM.BTLStructureVM.SelBTLPart.BTLPartM.nPartId, Map.refSceneShowBuldingVM.SceneShowBulding.GetCtx(), 0)
|
||||
Map.refSceneShowBuldingVM.MapInfo.Add(Map.refProjectVM.BTLStructureVM.SelBTLPart.BTLPartM.nPartId, NewId)
|
||||
NewId = EgtCopyEx(Map.refSceneHostVM.MainScene.GetCtx(), nPartId, Map.refSceneShowBuldingVM.SceneShowBulding.GetCtx(), 0)
|
||||
Map.refSceneShowBuldingVM.MapInfo.Add(nPartId, NewId)
|
||||
|
||||
EgtBeamCalcSolid(NewId)
|
||||
EgtBeamShowSolid(NewId, True)
|
||||
@@ -739,7 +739,7 @@ Public Class ProjectVM
|
||||
End If
|
||||
If Not IsNothing(Map.refProjectVM.BTLStructureVM.SelBTLPart.SelBTLFeatureVM) Then Map.refProjectVM.BTLStructureVM.SelBTLPart.SelBTLFeatureVM.ResetCalcFeature()
|
||||
Map.refProjectVM.BTLStructureVM.SelBTLPart.ResetCalcPart()
|
||||
If Map.refProdManagerVM.ListProjAsseBase.Count > 0 Then UpdatePart()
|
||||
If Map.refProdManagerVM.ListProjAsseBase.Count > 0 Then UpdatePart(Map.refProjectVM.BTLStructureVM.SelBTLPart.nPartId)
|
||||
Map.refProjectVM.SetRawPartManagerVisibility(Visibility.Visible)
|
||||
Map.refProjectVM.SetStrategyManagerVisibility(Visibility.Collapsed)
|
||||
Map.refProjectVM.SetSelManagerTab(ProjectVM.StrategyManagerTab.RAWPARTMANAGER)
|
||||
|
||||
@@ -70,5 +70,5 @@ Imports System.Windows
|
||||
' by using the '*' as shown below:
|
||||
' <Assembly: AssemblyVersion("1.0.*")>
|
||||
|
||||
<Assembly: AssemblyVersion("3.1.3.3")>
|
||||
<Assembly: AssemblyFileVersion("3.1.3.3")>
|
||||
<Assembly: AssemblyVersion("3.1.3.4")>
|
||||
<Assembly: AssemblyFileVersion("3.1.3.4")>
|
||||
|
||||
Reference in New Issue
Block a user