Jump to content

Recommended Posts

Posted
Thank you ,my friend ,

 

I put sld file and lisp in support folder, the same folder , How to modify the path?

 

there many which one? or use explorer.

or try this: (getenv "ACAD") , please highlight which one matched?

  • Replies 34
  • Created
  • Last Reply

Top Posters In This Topic

  • andy_lee

    19

  • hanhphuc

    15

  • BIGAL

    1

Top Posters In This Topic

Posted Images

Posted
there many which one? or use explorer.

or try this: (getenv "ACAD") , please highlight which one matched?

 

Must use "Absolute path" ? why not "relative path" ?

Posted

maybe can use "(findfile "xxxx.sld")" in code.

 

oh!

 

I use absolute path not ok too.

 

(strcat path "E:\\Program Files\\AutoCAD 2010\\Support\\test" a)

Posted
maybe can use "(findfile "xxxx.sld")" in code.

(findfile "xxxx.sld") without path only works in support path,

else need full name, that's way i asking your path.

you should know which directory, or just use explorer can see top or the browser "C:\\my Documents\\..."

 

try: Options->File->Support File Search Path->add *your slide folder

Posted
(findfile "xxxx.sld") without path only works in support path,

else need full name, that's way i asking your path.

you should know which directory, or just use explorer can see top or the browser "C:\\my Documents\\..."

 

try: Options->File->Support File Search Path->add *your slide folder

 

I know that . I use full name (strcat path "E:\\Program Files\\AutoCAD 2010\\Support\\test" a), not ok .

 

TEST.png

Posted

Dear friend, I hope without path only works in support path , Can do ?

Posted (edited)
I know that . I use full name (strcat path "E:\\Program Files\\AutoCAD 2010\\Support\\test" a), not ok .

 

[ATTACH=CONFIG]50138[/ATTACH]

 

use this:

(strcat "E:\\Program Files\\AutoCAD 2010\\Support\\test[color=red][b]\\[/b][/color]" a)

 

old [color=red]path[/color] removed. add "[color=red]\\[/color]",

**but if your slide associate in support folder,then no need full path.

 

no need (strcat.... a), just

[color=red]a[/color]

 

here's the screen shot look like, sorry i forgot to rename the header :oops:

fbox.PNG

Edited by hanhphuc
Posted
use this:

(strcat "E:\\Program Files\\AutoCAD 2010\\Support\\test[color=red][b]\\[/b][/color]" a)

 

old [color=red]path[/color] removed. add "[color=red]\\[/color]",

**but if your slide associate in support folder,then no need full path.

 

no need (strcat.... a), just

[color=red]a[/color]

 

oh! my gad.I'm almost crazy

 

Always the same.

test1.png

Posted

take it easy friend.. :)

i have no problem without support path, bcos i just use full path.

 

Have you tried put full path?

If (findfile xxxxx.sld) return nil, then

(strcat "E:\\Program Files\\AutoCAD 2010\\Support\\test\\" a ".sld" )

Posted
take it easy friend.. :)

i have no problem without support path, bcos i just use full path.

 

Have you tried put full path?

 

Yes, I tried. is the same.

 

sshot-3.png

Posted

I test (strcat "E:\\Program Files\\AutoCAD 2010\\Support\\test\\" a ".sld" ) use Autodesk 2010 & Autodesk 2007

Is the same . not ok!

Posted
Yes, I tried. is the same.

last call,

 

(strcat "E:\\Program Files\\AutoCAD 2010\\Support\\test\\" a ".sld" )

Posted
last call,

 

(strcat "E:\\Program Files\\AutoCAD 2010\\Support\\test\\" a ".sld" )[/quote

 

Hello. my dear friend.

The problem is resolved

Need add this

(setq sld '("SH-CENTRE" "SH-EDGE" "SH-P2P" "SH-C2C")) before mapcar

Posted

I apologize for the bug, however I'm glad you solve it!!!

Thank you for testing it welcome to report bug if any.

we should always learn from mistake :)

 

Regards

Hanhphuc

Posted (edited)
I apologize for the bug, however I'm glad you solve it!!!

Thank you for testing it welcome to report bug if any.

we should always learn from mistake :)

 

Regards

Hanhphuc

 

 

Hi Hanhphuc.

You are too modest.

Edited by andy_lee

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...