How to Update My Custom Actions Path After Relocating my Content Library?
James
Posts: 1,022
I migrated my contents to another drive. Things get broken.
Is there a faster way to change the path of my custom actions.
Maybe there's a file containing the path which I could change?
Post edited by James on
Comments
Open File Browser, go to the path: %AppData%\DAZ 3D\Studio4\, there's a file : customactions.dsx. Open it with Notepad++ and check it.
Some actions use "absolute path", so you need to modify the path as per the one on your new drive.
Woohoooo, it works. Thank you.
Don't mention it buddy ! Good day !
Actions that were in a content directory when created should use relative paths, those that have absolute paths can be edited through the Window>Workspace>Customise dialogue by right-click on the action itself (under Custom, on the left).
No, they are always created with absolute paths - for the path to the file as well as the path to the icon.
Normally user-defined actions are with relative paths for the user-facing files. If there's a variable in dsx defined as "sRelativePath", that's a relative one. But icons are always with "absolute paths".
Well, most of actions with "absolute paths" were added by the script from the vendors, like RiversoftArt, and mostly by batch, e.g. Camera Doctor, 20+ actions. After switching to different Lib location, they won't be funtional in action list, menu items and toolbar.
Usually replacing "old paths" with "new paths" in dsx file will be much faster... a couple of seconds...
Ok, I have to correct myself.
Custom actions created from .DUF assets have the "sRelativePath" variable (with a relative path assigned) but also contain another variable "sPreferredPath" that then again contains the absolute path with drive letter. After moving them to a different (mapped) content directory, although the icons are broken but at least the actions are still working.
But all custom actions created from script assets (.dsa / .dse) are created with absolute paths.
Moving them breaks the action completely.
Yeah ~ that's right.