Hi guys! How can I create DSD file to use with -publish command? Is there any AutoCAD Command to use or I must create it by code? If so, where can I find some docs about its strucutre?
Thanks Enrico
Solved! Go to Solution.
Imports System.IO
If System.IO.File.Exists(File Name Here) = True Then
System.IO.File.Delete(File Name Here)
End If
Dim objReader As StreamWriter = New StreamWriter("File Name Here", True)
objReader.WriteLine("Text Here")
objReader.Close()
That is what you need to create files.. (the first part checks if one already exists, and deletes it)
as to structure.. have AutoCAD create one then open it and reproduce 🙂
I did it and without write the file "manually". Using PlottingServices I can use a magical object that do it for me, I have only to add some informations about Layouts to pubblish and other informations.
Thanks
Enrico