- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi!
I need to read the JournalData written by the PostCommand without interrupting it right after it ends executing.
I am familiar with this topic: Solved: Re: How do I continue after postcommand? - Autodesk Community - Revit Products
However, it only allows me continuing after the command and access those of the EventArgs I've copied from the BeforeExceutedEventArgs handler (a question aside: how can I easily copy this object and not only create a reference to it, so that I could hold it in a variable accessible long after the event execution is gone?). What I need is an access to the ExecutedEventArgs object which I would have received by the handler assigned to AddInCommandBinding.Executed without this assignment because it causes executing my function instead of the actual command while I need something to be executed after it but using its execution data.
Long story short: I need an upgrade of ricaun's solution so that its line 62 contains an object of an ExecutedEventArgs class instead of EventArgs.Empty but all the crude attempts seem to fail.
Solved! Go to Solution.