It creates a new TechDraw page with a blank template and adds a view to it which contains the selected objects. The view is projected along the 3D camera orientation. Then, the macro opens up a file ...