getfiled

Discussion in 'AutoCAD' started by 3ABTPA, Oct 30, 2004.

  1. 3ABTPA

    3ABTPA Guest

    AutoCAD "getfiled" function cannot set default file name to be created;
    means cannot put the default file name on "File Name" text box.

    I remember, sometime last year someone had started a discussion about
    "getfiled" function, I cannot remember if the issue was the one I'm
    experiencing now?

    Can someone help me here?

    Thanks
     
    3ABTPA, Oct 30, 2004
    #1
  2. 3ABTPA

    BillZ Guest

    Do you mean you cannot do this?

    (setq dwgnm (getfiled (strcat "SAVEAS" " C:/temp/") "C:/temp/newdrawing" "dwg" 11))


    Bill
     
    BillZ, Nov 1, 2004
    #2
  3. 3ABTPA

    Jim Claypool Guest

    (setq dwgname (getfiled "PATH" "DRAWING NAME" "dwg" 1))
     
    Jim Claypool, Nov 1, 2004
    #3
  4. 3ABTPA

    BillZ Guest

    The correct way would be:

    (setq dwgname (getfiled "TITLE" "PATH/DRAWING NAME" "dwg" 1))

    That way getfiled opens to that directory.


    Bill
     
    BillZ, Nov 1, 2004
    #4
  5. 3ABTPA

    CJ Follmer Guest

    as pointed out by billZ

    Try
    (setq dwgname (getfiled "SAVE AS" "c:\\temp\\brand_new_drawing.dwg" "dwg"
    1))

    Make sure that c:\temp exists...

    cj
     
    CJ Follmer, Nov 1, 2004
    #5
  6. 3ABTPA

    3ABTPA Guest

    I'm just curious, does the file name, "brand_new_drawing.dwg", show up in
    file name box in your computer?

    It doesn't on mine with any of spellings suggested.

    Thanks anyway
     
    3ABTPA, Nov 2, 2004
    #6
  7. 3ABTPA

    3ABTPA Guest

    I'm suprized mine does not show (Win2000/SP5: AutoCAD 2000i) ...
     
    3ABTPA, Nov 8, 2004
    #7
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.