hanhphuc Posted July 30, 2014 Share Posted July 30, 2014 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? Quote Link to comment Share on other sites More sharing options...
andy_lee Posted July 30, 2014 Author Share Posted July 30, 2014 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" ? Quote Link to comment Share on other sites More sharing options...
andy_lee Posted July 30, 2014 Author Share Posted July 30, 2014 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) Quote Link to comment Share on other sites More sharing options...
hanhphuc Posted July 30, 2014 Share Posted July 30, 2014 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 Quote Link to comment Share on other sites More sharing options...
andy_lee Posted July 30, 2014 Author Share Posted July 30, 2014 (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 . Quote Link to comment Share on other sites More sharing options...
andy_lee Posted July 30, 2014 Author Share Posted July 30, 2014 Dear friend, I hope without path only works in support path , Can do ? Quote Link to comment Share on other sites More sharing options...
hanhphuc Posted July 30, 2014 Share Posted July 30, 2014 (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 Edited July 30, 2014 by hanhphuc Quote Link to comment Share on other sites More sharing options...
andy_lee Posted July 30, 2014 Author Share Posted July 30, 2014 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. Quote Link to comment Share on other sites More sharing options...
hanhphuc Posted July 30, 2014 Share Posted July 30, 2014 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" ) Quote Link to comment Share on other sites More sharing options...
andy_lee Posted July 30, 2014 Author Share Posted July 30, 2014 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. Quote Link to comment Share on other sites More sharing options...
andy_lee Posted July 30, 2014 Author Share Posted July 30, 2014 I test (strcat "E:\\Program Files\\AutoCAD 2010\\Support\\test\\" a ".sld" ) use Autodesk 2010 & Autodesk 2007 Is the same . not ok! Quote Link to comment Share on other sites More sharing options...
hanhphuc Posted July 30, 2014 Share Posted July 30, 2014 Yes, I tried. is the same. last call, (strcat "E:\\Program Files\\AutoCAD 2010\\Support\\test\\" a ".sld" ) Quote Link to comment Share on other sites More sharing options...
andy_lee Posted July 31, 2014 Author Share Posted July 31, 2014 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 Quote Link to comment Share on other sites More sharing options...
hanhphuc Posted July 31, 2014 Share Posted July 31, 2014 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 Quote Link to comment Share on other sites More sharing options...
andy_lee Posted July 31, 2014 Author Share Posted July 31, 2014 (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 August 1, 2014 by andy_lee Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.