Tested new function vla-postcommand on A2023 but seem dot not works…
(defun c:ZoomAllAll (/ item)
(vlax-for item (vla-get-documents (vlax-get-acad-object))
(vla-postcommand item "_ZOOM _A\n")
)
(princ)
)
BricsCAD is different... (vla-PostCommand cmdString [echo])
to execute native commands and Lisp expressions in asynchronous mode.
The "cmdString" must end with a newline '\n', as with (vla-sendCommand cmdString).