Message 1 of 5
Create Paths Autocad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have a lisp File that created paths in the Support folder settings. the issue is that it only created the first path and not all of them is there a specific way of loading more than one path? this the code i'm using: i have removed my actual paths for privacy reasons
(DEFUN AddSupportPath (dir / tmp Cpath)
(VL-LOAD-COM)
(SETQ Cpath (GETENV "ACAD") tmp (STRCAT ";" dir ";"))
(IF (NOT (VL-STRING-SEARCH dir cpath)) (SETENV "ACAD" (STRCAT Cpath ";" dir)))
(PRINC)
)
(AddSupportPath "PATH 1")
(AddSupportPath "PATH 2")
(AddSupportPath "PATH 3")
Civil 3D Certified Professional