Hi @TheRealChrisHildebran,
What if you redefine/replace the fabrication settings command. Replace it with another command which disables the iUpdaters, then triggers the builtin command. Then use either an iUpdater or a DocumentChanged event to watch for changes to the fabrication configuration....then re-enable the iUpdaters. (I think DocumentChanged would be better as it would more easily manage the situation where the operator clicked 'cancel'.)
MEP Fabrication Settings from the ribbon:
Jrn.Command "Ribbon" , "Fabrication Settings , ID_MEP_FABRICATION_SETTINGS"
'C 09-Jun-2020 08:24:58.216; 1:< Executing AddInJournaling : WpfWindow(SettingsDialog,Fabrication Settings).WpfButton(0,OK).Click()
'E 09-Jun-2020 08:24:58.216; 1:<
Jrn.AddInEvent "AddInJournaling" , "WpfWindow(SettingsDialog,Fabrication Settings).WpfButton(0,OK).Click()"
From the MEP Fab browser:
'C 09-Jun-2020 08:28:28.998; 0:< Executing AddInJournaling : ApiDockablePane(MEP Fabrication Parts,FabricationPartBrowser\.FabPartBrowserPage).WpfButton(0,Settings).Click()
'E 09-Jun-2020 08:28:28.998; 0:<
Jrn.AddInEvent "AddInJournaling" , "ApiDockablePane(MEP Fabrication Parts,FabricationPartBrowser\.FabPartBrowserPage).WpfButton(0,Settings).Click()"
'H 09-Jun-2020 08:28:29.008; 0:<
Jrn.Directive "IdleTimeTaskInvocation" _
, "0.ExternalEvent", 1, "{0,4694}"
' 0:< ::437:: Delta VM: Avail +25 -> 134210002 MB, Used +1 -> 1198 MB; RAM: Avail -14 -> 14972 MB, Used +1 -> 889 MB
' 0:< GUI Resource Usage GDI: Avail 8990, Used 1010, User: Used 534
'C 09-Jun-2020 08:29:17.714; 0:< Executing AddInJournaling : WpfWindow(SettingsDialog,Fabrication Settings).WpfButton(0,OK).Click()
'E 09-Jun-2020 08:29:17.714; 0:<
Jrn.AddInEvent "AddInJournaling" , "WpfWindow(SettingsDialog,Fabrication Settings).WpfButton(0,OK).Click()"
'E 09-Jun-2020 08:29:17.948; 0:<
' [Jrn.ExternalEventExecution] Rvt.Attr.AddInId: ee72acb7-2d70-484e-9cdf-0f7006b1183e Rvt.Attr.AddInName: FabPartBrowserApplication Rvt.Attr.AddInVersion: 21.0.0.383 Rvt.Attr.ExternalEventName: FabPartBrowserExternalEventHandler Rvt.Attr.VendorDescription: Autodesk, www.autodesk.com Rvt.Attr.VendorId: ADSK
Cheers,
-Matt
_______________________________________________________________________________
Marking a post as a 'solution' helps the community. Giving a post 'Kudos' is as good as saying thanks. Why not do both?