.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to create DSD file..

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
Anonymous
2996 Views, 2 Replies

How to create DSD file..

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

2 REPLIES 2
Message 2 of 3
Anonymous
in reply to: Anonymous

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 🙂

Message 3 of 3
Anonymous
in reply to: Anonymous

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

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost