Author Topic: Unload/Reload PDF Underlay Programmatically?  (Read 1195 times)

0 Members and 1 Guest are viewing this topic.

rbtolles

  • Mosquito
  • Posts: 2
Unload/Reload PDF Underlay Programmatically?
« 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.

rbtolles

  • Mosquito
  • Posts: 2
Re: Unload/Reload PDF Underlay Programmatically?
« Reply #1 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