publish by vb.net

publish by vb.net

jan_tappenbeck
Collaborator Collaborator
299 Views
0 Replies
Message 1 of 1

publish by vb.net

jan_tappenbeck
Collaborator
Collaborator

hi !

 

alternative to create a pdf-file i try the publish-function by send-command.

 

my source

 Private Sub PublishRaster()
        Dim acDocument As Autodesk.AutoCAD.ApplicationServices.Document = Autodesk.AutoCAD.ApplicationServices.Application.DocumentManager.MdiActiveDocument

        Dim cmd As String = String.Format("-publizieren {0} {1}{2}", "X:\PROTOTYP\ebl_map2019_GK4PdfRaster.dsd", Chr(34), Chr(34)) & vbCr
        acDocument.SendStringToExecute(cmd, True, False, True)
    End Sub

 

but there will not be create a pdf-file. manuell in command line it would be successful!

 

there will not create a log file.

 

regards Jan

0 Likes
300 Views
0 Replies
Replies (0)