Here is a code that transfer entities ent, ent2, and ent3 to model space
When there is no viewports available or active i receive this response from autocad at the command line, "There are no active Model space viewportsCode:(vl-cmdf "_.chspace" ent ent2 ent3 "")
<Entity name: FFA0B3F0>", for every object it attempts to chspace for.
How can I make it show it only once. Then exit quietly from the program.