Kyoung-sik, LEE wrote:
>
> Hi, all....
>
> Please Let me Know how to solve this strange trouble.....
>
> Why the return value of (setq fname (getfiled "Select data file"
> "C:/demo/data/" "dat" 8))
> varies by case?
>
> In A.dwg or A computer :
> Return -> "c:/demo/data/(selected name).dat"
>
> In B.dwg or B computer :
> Return -> "(selected name).dat"
>
> Any help is appreciated....
> Thanks in advance........
>
> Kyoung-sik, LEE <sch...@hico.hyosung.co.kr>
> Steel Tower Design Team
> Hyosung Heavy Industries Co., Ltd.
--
/*********************************************************/
/* Tony Tanzillo Design Automation Consulting */
/* Programming & Customization for AutoCAD & Compatibles */
/* ----------------------------------------------------- */
/* tony.t...@worldnet.att.net */
/* http://ourworld.compuserve.com/homepages/tonyt */
/*********************************************************/
This function also works the same way in R13. So I'm presuming it's an error
in the manual. Hope this helps.
Bill
Kyoung-sik, LEE wrote in message <70gt6d$8a...@adesknews2.autodesk.com>...
Bill
<snip>
Stephen L. Bowen
President, PowerLISP Solutions
Stephen Tate wrote:
> Lee
>
> Do you mean why does it sometimes include the path and sometimes not?
>
> I think it's because the full path is only returned if the folder containing
> the selected file is not defined within your AutoCAD search path.
>
> You can check with:
> (princ (getvar "acadprefix"))
> You may need to check your current directory too.
>
> To get round the problem, use (findfile ....) on whatever is returned by
> getfiled, that should always return the full path.
>
> --
> Stephen Tate
> Stephen Tate CAD, UK
> Anti-SPAM - For E-mail please use:
> stephe...@stcad.co.uk
I nuked my response.
--
Bill
Tony Tanzillo wrote in message <362C0571...@worldnet.att.net>...
Stephen L. Bowen 이(가) <362C05E0...@powerlisp.com>
메시지에서 작성하였습니다...
>It will also return full path if a file with the same name is found within
>AutoCAD's search path..........
> .........................