Here I am trying to run Selection.SetElementIds() after using the PostCommand() method but it seems as though the selection occurs before the PostCommand when I run the script.
I believe the cause for this can be found in the PostCommand method description:
Posts the command to the Revit message queue to be invoked when control returns from the current API context.
If you guys have any feedback or solutions I would greatly appreciate it!
Thank you in advance!