I try to retrieve the folder name (client file) and then the subfolder name (business folder) to automatically display them in my title block.
With the "folder name" property I can display the path of the folder and not its name, I had seen a tutorial to select only the part searched for in this path but I can't get my hands on it anymore.
I would like to display in my CUSTOMER block.......... CASE ............, both taken from the windows folders.
I think I found something but I would need help applying it, I managed to copy and paste the code into a macro, I launch the macro but nothing happens.
Azrod, I admit I don't understand anything, I copied your code and then pasted it into a new macro (an "n" is missing from the application. SldWorks, but nothing happens, in the local variables window I get: see screenshot.