How To Export From Autocad to DXF Format

Discussion in 'AutoCAD' started by Vikrant, Oct 21, 2003.

  1. Vikrant

    Vikrant Guest

    Hey Friends
    I have to create a program which can export data from a Drawing file
    to a DXF File.Can someone plz help me plz.
    Thanks
     
    Vikrant, Oct 21, 2003
    #1
  2. Vikrant

    bestafor Guest

    HiHo;
    Use DXFOUT
     
    bestafor, Oct 21, 2003
    #2
  3. Vikrant

    Vikrant Guest

    Hi
    Thanks for the help.
    I am sorry not to be precise.
    Can i call DXFOUT from a Visual Basic Program or some Visuab Basic Alternative ?
    I searched and found that
    AutoCAD.IAcadDocument
    has a function named Export
    is this the function i am looking for ?
    If Yes How can i get the Documentation of this function
    I need help with the last parameter of Export .
    Thanks For the HELP


    Dim DwgName As String
    On Error Resume Next
    Set objAcad = GetObject(, "AutoCAD.Application")
    If Err Then
    Set objAcad = CreateObject("AutoCAD.Application")
    Err.Clear
    End If
    If Right(App.Path, 1) = "\" Then
    DwgName = App.Path & "facility.dwg"
    Else
    DwgName = App.Path & "\facility.dwg"
    End If
    Set objDoc = objAcad.ActiveDocument
    If objDoc.FullName <> DwgName Then
    objDoc.Open DwgName
    End If
    objAcad.Visible = True
     
    Vikrant, Oct 21, 2003
    #3
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.