PDF Thumbnail Image in DCL?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I would like some insight on creating images for a pop-up box with PDF thumbnail images. I would like to create a dialog pop-up box through DCL that works similarly to the "PDFATTACH" command in AutoCAD.
I've been tasked to see if the existing command can be "tweaked" to allow for full automation of PDF sheet insertions so that the user does not need to specify the location, scale and rotation on each insertion. This would also help for instances where the insertions need to continue onto another sheet since the command doesn't seem to allow for this (at least to my knowledge).
The user would select the PDF file that they want to insert and then a dialog box would display showing the PDF thumbnails of each sheet as buttons that the user can select, just like the "PDFATTACH" command (image below).
I'm struggling with the PDF thumbnail portion of the code. How does this work in the PDFATTACH command? And is it possible to replicate something similar through LISP and DCL?
I'm able to extract information from the PDF through LISP but not sure if that is helpful at all...
I've searched online for a bit to see if this has been done before but haven't come across anything just yet unfortunately. My apologies if this has been asked previously.
Any feedback would be helpful! Thanks in advance!