If those are Autotexts, could you not just save them as Door / Window Markers?
Then for the floor and elevation variations, open the object and use the following to merge the scripts of your two saves;
IF GLOB_VIEW_TYPE = 5 THEN
...
ELSE
...
endIF
Ling.
AC22-23 AUS 7000
Self-taught, bend it till it breaks.
Win10 | E5620 x 2 | 24GB | K2200 RIP PSU
Win10 | R5 2600 | 16GB | GTX1660