- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Dear forum members,
Can someone pls help me to customize my routine?
I have a routine that will backup an dwg to another folder but it needs modification.
Now I need to modify this routine to work with Plant 3D
Plant 3D uses different folders to store dwg files in.
With dwgprefix I can get 1 directory ( the one of the current dwg that is open)
Example
Main directory structure is --> ( I will only list the directory's I need to read out )
Main path to main directory is D:\P3D TEST\TEST PROJECT
Subfolders in this dir is,
Isometrics --> (does have subdir's)
Orthos --> dwg (does have subdir's)
Plant 3D models (does have subdir's)
when you open 1 of the project dwg's and do dwgprefix on this dwg you get this,
D:\P3D TEST\TEST PROJECT\Plant 3D Models\
how can I get variables to use in my LSP that will read out the other directory's?
and no there is no possibility to open the other dwg's to get the path
I need to get acces to these dwg's using below code
(setq path (getvar "dwgprefix"))) result is D:\P3D TEST\TEST PROJECT\Plant 3D Models\
From this file I need to change the variable PATH to the other folders
I hope I am clear with this
If you need more info please let me know
Best regards,
Kind Regards
Solved! Go to Solution.