EgtCAM5 :
- Introdotta modalità solo disegno.
This commit is contained in:
@@ -397,10 +397,12 @@ Namespace EgtCAM5
|
||||
ModifyIsExpanded = If(GetPrivateProfileInt(S_GENERAL, K_MODIFY, 0) = 0, False, True)
|
||||
TransformIsExpanded = If(GetPrivateProfileInt(S_GENERAL, K_TRANSFORM, 0) = 0, False, True)
|
||||
Application.Msn.Register(Application.CLOSEAPPLICATION, Sub()
|
||||
WritePrivateProfileString(S_GENERAL, K_DRAW2D, If(m_Draw2DIsExpanded, "1", "0"))
|
||||
WritePrivateProfileString(S_GENERAL, K_DRAW3D, If(m_Draw3DIsExpanded, "1", "0"))
|
||||
WritePrivateProfileString(S_GENERAL, K_MODIFY, If(m_ModifyIsExpanded, "1", "0"))
|
||||
WritePrivateProfileString(S_GENERAL, K_TRANSFORM, If(m_TransformIsExpanded, "1", "0"))
|
||||
If Not IniFile.m_bFailedRun Then
|
||||
WritePrivateProfileString(S_GENERAL, K_DRAW2D, If(m_Draw2DIsExpanded, "1", "0"))
|
||||
WritePrivateProfileString(S_GENERAL, K_DRAW3D, If(m_Draw3DIsExpanded, "1", "0"))
|
||||
WritePrivateProfileString(S_GENERAL, K_MODIFY, If(m_ModifyIsExpanded, "1", "0"))
|
||||
WritePrivateProfileString(S_GENERAL, K_TRANSFORM, If(m_TransformIsExpanded, "1", "0"))
|
||||
End If
|
||||
End Sub)
|
||||
|
||||
Application.Msn.Register(Application.SETCURRLAYER, Sub(CurrLayer As Integer)
|
||||
@@ -1409,7 +1411,7 @@ Namespace EgtCAM5
|
||||
#End Region ' Commands
|
||||
|
||||
Private Sub OnIdle()
|
||||
If IniFile.m_ProjectMode = ProjectModeOpt.DRAW Then
|
||||
If IniFile.m_ProjectMode = ProjectModeOpt.DRAW OrElse IniFile.m_ProjectMode = ProjectModeOpt.ONLYDRAW Then
|
||||
Application.Msn.NotifyColleagues(Application.GETCURRLAYER)
|
||||
bLayerOk = m_CurrentLayer <> GDB_ID.NULL
|
||||
If Not IniFile.m_ProjectSceneContext = 0 Then
|
||||
|
||||
Reference in New Issue
Block a user