Yes with GDL scripting.
There is a command that can determine the view type (plan, elevation, section, 3D, etc.).
But this is probably not something that you would want to do with the default GS library objects.
They are rather complicated with all of their macros and you will need to re-code them if ever ther is a library update or new version.
Barry.
One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11