eirannejad / Revit-Journal-Maker

python library for writing/reading journal files for Autodesk Revit

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

File save command in Revit 2022

dosymep opened this issue · comments

Journaling file was changed in Revit 2022, now Revit 2022 writes SaveToCentral instead of SaveToMaster.

  Jrn.Command "Ribbon"  , "Save the active project back to the Central Model , ID_FILE_SAVE_TO_CENTRAL" 
  ' 0:< Unnecessary nesting;ArrowUI_4;-1;ID_FILE_SAVE_TO_CENTRAL ;N++EB(NB); 
  ' 1:<   System (MB) [Available /  Total ]  [Revit Memory Usage (MB)   ] 
  ' 1:< RAM Statistics:    16741 /    32606       240=InUse     1605=Peak  
  ' 1:< VM  Statistics: 134176993 / 134217727      1447=InUse     1459=Peak  
  ' 1:<  0 ModelServerState "Created": Current server = "Not Queried", Model server = "", Model server state = "Not Applicable" 
  'C 24-Jun-2022 11:03:12.415;   2:< ADialog::doModal start 
    'E 24-Jun-2022 11:03:13.969;   2:< 
    Jrn.CheckBox "Modal , Synchronize with Central , Dialog_Revit_PartitionsSaveToCentral"  _
              , "User-created Worksets, Control_Revit_RelinqUserCreatedPartitions"  _
              , True 
    ' 2:< ::182:: Delta VM: Avail +1 -> 134176995 MB, Used 1447 MB; RAM: Avail +79 -> 16821 MB, Used +2 -> 242 MB 
    ' 2:< GUI Resource Usage GDI: Avail 9048, Used 952, User: Used 457 
    'E 24-Jun-2022 11:03:21.120;   2:< 
    Jrn.Edit "Modal , Synchronize with Central , Dialog_Revit_PartitionsSaveToCentral"  _
              , "Control_Revit_Comment"  _
              , "ReplaceContents"  , "text comment" 
    'E 24-Jun-2022 11:03:21.121;   2:< 
    Jrn.CheckBox "Modal , Synchronize with Central , Dialog_Revit_PartitionsSaveToCentral"  _
              , "Compact Central Model (slow), Control_Revit_ForceCompactCentralModel"  _
              , True 
    ' 2:< ::184:: Delta VM: Avail +28 -> 134177023 MB, Used 1447 MB; RAM: Avail -85 -> 16736 MB, Used +1 -> 243 MB 
    ' 2:< GUI Resource Usage GDI: Avail 9050, Used 950, User: Used 456 
    'E 24-Jun-2022 11:03:28.077;   2:< 
    Jrn.PushButton "Modal , Synchronize with Central , Dialog_Revit_PartitionsSaveToCentral"  _
              , "OK, IDOK"