Message 1 of 11
Create a Temporary dcl and Page setup

Not applicable
02-24-2020
11:01 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
I am working on a Autolisp routine that can setup layout page settings and create viewport and place the drawing in given scale.
attached lisp is a Single sample from a long sequence of pagesizes. (viewport_setup.lsp)
What I want:
1. If Pdf-Xchange 4.0 is not available a dialog box will open. (design of dialog box attached)
2. Even if Pdf-Xchange 4.0 is available still user can open that dialog box by enter "S" (Settings) with in running command and set the parameters in the dialog box and then continue with the lisp flow (entering scale, then orientation).
3. Rename Layout if provided in the dialog box other wise rename as per page size(Default).
4. Delete other Layouts will be default, user can change it.