Message 1 of 3
PUBLISH command causes fatal error
Not applicable
09-25-2003
04:57 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi
I've made an VBA macro that makes a *.DSD file. Then I use the -PUBLISH
command with the dsd-file as an argument to create a multipage DWF.
However...
If a VBA macro is run directly before the publish command is issued, a Fatal
Error occurs.
i.e. if i place THIS on a button:
^C^C-vbarun;Jadda;(setq oldDia (getvar "FILEDIA"))(setvar "FILEDIA"
0)(command "_-PUBLISH" "C:/Documents and Settings/6TROLIE/Local
Settings/Temp/MPDWF.DSD")(setvar "FILEDIA" oldDia);
AutoCAD crashes when I press it.
iI i put
^C^C-vbarun;Jadda;
and
(setq oldDia (getvar "FILEDIA"))(setvar "FILEDIA" 0)(command "_-PUBLISH"
"C:/Documents and Settings/6TROLIE/Local Settings/Temp/MPDWF.DSD")(setvar
"FILEDIA" oldDia);
on two separate buttons, and press them in order, everything works fine.
The DVB file only consist of 1 module with this:
Public Sub Jadda()
End Sub
I've tried this on both AutoCAD 2004, Architectural Desktop 2004 and
Mechanical 2004.
Does anyone know anything about this?
Regards
Trond Hasse Lie
I've made an VBA macro that makes a *.DSD file. Then I use the -PUBLISH
command with the dsd-file as an argument to create a multipage DWF.
However...
If a VBA macro is run directly before the publish command is issued, a Fatal
Error occurs.
i.e. if i place THIS on a button:
^C^C-vbarun;Jadda;(setq oldDia (getvar "FILEDIA"))(setvar "FILEDIA"
0)(command "_-PUBLISH" "C:/Documents and Settings/6TROLIE/Local
Settings/Temp/MPDWF.DSD")(setvar "FILEDIA" oldDia);
AutoCAD crashes when I press it.
iI i put
^C^C-vbarun;Jadda;
and
(setq oldDia (getvar "FILEDIA"))(setvar "FILEDIA" 0)(command "_-PUBLISH"
"C:/Documents and Settings/6TROLIE/Local Settings/Temp/MPDWF.DSD")(setvar
"FILEDIA" oldDia);
on two separate buttons, and press them in order, everything works fine.
The DVB file only consist of 1 module with this:
Public Sub Jadda()
End Sub
I've tried this on both AutoCAD 2004, Architectural Desktop 2004 and
Mechanical 2004.
Does anyone know anything about this?
Regards
Trond Hasse Lie