Message 1 of 6
How to find out using AutoCAD command line, if a DWG file is having Portrait or Landscape orientation
Not applicable
06-01-2021
01:08 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
We are trying to generate a pdf with AutoCAD Command line , it works well. but we are having issues with orientation in the generated PDF.
We can either set it to Portrait or Landscape in the script file. There is no option as such to keep this setting dynamic.
If we set it to portrait …all drawing are adjusted to portrait mode and vice versa.
So if there can be any way to find out the orientation of the DWG file already, we can update the script accordingly and run the batch file to generate the pdf.
Any help, best practice is appreciated. Thanks a lot. if there any questions please ask me.