Export Example |
Using Programming Languages other than VBA
Sub Example_Export() ' This example exports the current drawing to DXF format. ' Note that a valid selection set must be provided, even ' though the contents of the selection set are ignored. ' Define the name for the exported file Dim exportFile As String exportFile = "C:\AutoCAD\DXFExprt" ' Adjust path to match your system ' Create an empty selection set Dim sset As AcadSelectionSet Set sset = ThisDrawing.SelectionSets.Add("TEST") ' Export the current drawing to the file specified above. ThisDrawing.Export exportFile, "DXF", sset End Sub
Comments? |
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at webmaster@entercad.forsenergy.ru to inform them of the time this error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.