TheSwamp

Code Red => AutoLISP (Vanilla / Visual) => Topic started by: rbtolles on March 15, 2020, 02:41:44 PM

Title: Unload/Reload PDF Underlay Programmatically?
Post by: rbtolles on March 15, 2020, 02:41:44 PM
Want to unload/reload PDF Underlay without using External References palette.  So far no luck using LISP, Activex or for that matter just a simple command line sequence.
I can get unload/loaded status of PDF Underlay (definition's xdata), but manipulating the xdata and executing 'entmod' does not work.
Title: Re: Unload/Reload PDF Underlay Programmatically?
Post by: rbtolles on March 17, 2020, 07:49:28 PM
Was able to figure it out.  For anyone who might find it helpful, LISP file with solution attached.

File:
PDF_LOAD.LSP

Command Functions:
PDFUNLOAD
PDFRELOAD