Currently I am exploring the Smart assembly in the creo for the automation purpose but I facing one hurdle, I am not able to set the working directory (for the part of Creo) .
It would be great if somebody helps me out in these.
Below is my snap of the code which I have wrote to do this things.
Yes, I get the same error when attempting to access a folder in my Windows user profile. I'm guessing it's a permissions issue? Might also be a bug. I'll go ahead and open a case with tech support and see what they say.
On the other hand, I don't have any problem if I try to set the working directory to someplace else:
GET_WORKING_DIRECTORY dir
PRINT "Current working directory: %" dir
SET_WORKING_DIRECTORY "C:\ptc\workspaces\Build"
GET_WORKING_DIRECTORY dir
PRINT "New working directory: %" dir