DWF Export

DWF Export

Anonymous
Not applicable
745 Views
3 Replies
Message 1 of 4

DWF Export

Anonymous
Not applicable
I'm looking for a way to publish DWF files from AutoCAD programatically using .Net C#. I would like to apply some metadata/data to the DWF on publish but the only way I have been able to do this so far is react to the Publish or Export command. I need to publish in a separate thread after the "Save" command is executed. There are some publishing .Net classes available but they appear to only react to publishing events. Any help would be appreciated.
0 Likes
746 Views
3 Replies
Replies (3)
Message 2 of 4

mlabell
Advocate
Advocate
What about if you enable the Autopublish within AutoCAD on the save event? That way you are still only monitoring the publish event.
Mark LaBell, Jr.
Technical Leader
. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
SSOE Group
www.linkedin.com/in/marklabelljr
0 Likes
Message 3 of 4

Anonymous
Not applicable
I have not used the publish command yet, but it appears to be creating DWF files that are not selectable...........it looks like they are plots. I have used the export command to create DWF's and that works fine. I also noticed a 3DDWFPUBLISH command which exports my DWF just fine. I would like to either create a separate thread using a .Net ARX app to publish behind the scenes, however if I could get the 3DDWFPUBLISH to auto publish that would be good for now.
0 Likes
Message 4 of 4

mlabell
Advocate
Advocate
I would try and publish from the current session of AutoCAD, any background process (thinking about the backgroundplot variable) opens another session of AutoCAD which creates a large system overhead. Background plotting is nice in one respect, but often is slow and takes more system resources. Maybe intercept the save command, throw the 3DDWFPUBLISH command, and then throw the save command.
Mark LaBell, Jr.
Technical Leader
. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
SSOE Group
www.linkedin.com/in/marklabelljr
0 Likes