Hi Alan,
For those who are ADN members, there is a solution which provides a clue:
http://adn.autodesk.com/techsupp/solutions/73639.htm
It is basically for Plotstamp On/Off setting, which BTW could also be set
using VBA SendCommand "-plotstamp On ". In the same registry key, there is
also a value for "PSPFilename" which is what you need. However, BE CAREFUL
with registry hacking in general - you must be 100% sure about what you do.
For non-members, I copy the solution
73639 How to turn PlotStamp on/off using Visual LISP or VBA
Question
Is there a way to control the PlotStamp On/Off setting programmatically?
Answer
This information is stored in the registry and can be retrieved using
VL-REGISTRY_READ.
Here is a Lisp example:
(defun c:getPltStamp ()
(setq isPltStamp (vl-registry-read
"HKEY_CURRENT_USER\\Software\\Autodesk\\AutoCAD\\R15.0\\ACAD-1:409\\Profiles
\\<>\\Dialogs\\Plot Stamp" "PlotStamp"))
)
You can also call this Lisp routine, using SendCommand from VBA, or you can
access the registry directly. There is not an AutoCAD ActiveX API for this,
however you can use the Windows API. Please see the MSDN Library article
"Q145679 - HOWTO: Use the Registry API to Save and Retrieve Setting".
Hope this helps.
Cheers,
Miro
========================
Miroslav Schonauer
Developer Technical Services
Autodesk
========================
"Alan Bachman" wrote in message
news:99A01C09537E510D718D43CE71BC620B@in.WebX.maYIadrTaRb...
> Does anybody know where the AutoCAD Plot Stamp file path is stored in
> AutoCAD, I know that you can change the path from the plot dialog box, but
I
> need to do it through a vb program or lsp.
>
> Any help would be appreciated.
>
> Thank,
>
> Alan
> Marshall Erdman & Associates
>
>