ReadDwgFile from URL in Autocad I/O

╄→尐↘猪︶ㄣ 提交于 2019-12-25 08:48:30

问题


I try to do a program upload in AUtocad I/O It works good in local but in the cloud i get the message :

Error: Autodesk.AutoCAD.Runtime.Exception: eInetFileOpenFailed
[10/03/2017 09:05:07]    at Autodesk.AutoCAD.DatabaseServices.Database.ReadDwgFile(String fileName, FileShare fileSharing, Boolean allowCPConversion, String password)

I use this code to get the DWG that i need to implement.

blockQualifiedFileName = "http://urltoDWG.dwg";
sourceDb.ReadDwgFile(blockQualifiedFileName,
                                     System.IO.FileShare.Read,
                                      true,
"");

Can someone help me to understand why this error and how to fix it. Perap's I can upload my file in this cloud to have an access like the job here - >T:\Aces\Jobs\

Best regards

来源:https://stackoverflow.com/questions/46541285/readdwgfile-from-url-in-autocad-i-o

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!