How do you run a postable command on a specific element (i.e. run a command with a model group selected)? I’m currently trying to update an old script which identifies model groups with excluded members, and make it restore excluded group members on specific model groups. There’s potentially a world of possibilities with the introduction of postable commands, but I’m stuck…
I initially used Jeremy Tammik’s list of postable commands (https://jeremytammik.github.io/tbc/a/zip/CommandIds.txt) but found that using the latest Revit journal file was most effective in finding the command info!
The restore excluded group members command is: ID_RESTORE_ALL_EXCLUDED