Not able to generate drawing files in deployed version
Dhananjay Hulge
In debug mode its working. After deploying, DWG files was not generated.
We have assign full control to folder where we wants files.
projectpath = "C:/Bullows/" + model.ProjectID;
if (!Directory.Exists(projectpath + "/Bullows Panel Drawing"))
Directory.CreateDirectory(projectpath + "/Bullows Panel Drawing");
WriteAutodeskParams auto = new WriteAutodeskParams(drawing);
WriteAutodesk dwgg1 = new WriteAutodesk(auto, projectpath + "/Bullows Panel Drawing/" + "PanelDrawing" + DateTime.Now.ToString("hh-mm") + ".dwg");
dwgg1.DoWork();
Write3DPdfParams pdf = new Write3DPdfParams(drawing);
Write3DPDF pdf1 = new Write3DPDF(pdf, projectpath + "/bullows_Paneldrawing.pdf");
pdf1.DoWork();
0
Comments
Please sign in to leave a comment.