Content Library v4.24 and v2026
How can I script my selected item in the content library? i.e. get the id or it's filename/location [absolute or relative]
I can't see a script for it!
Post edited by m.gunn on
You currently have no notifications.
How can I script my selected item in the content library? i.e. get the id or it's filename/location [absolute or relative]
I can't see a script for it!
Licensing Agreement | Terms of Service | Privacy Policy | EULA
© 2026 Daz Productions Inc. All Rights Reserved.
Comments
To find where a selected item is located on disc, you can right click on the item thumbnail and select "Browse to File Location". It will open an OS explorer/finder window in the folder that contains the item, with the item selected. That shows you the file name and the folder location. No script is necessary to get than information.
I think he wants to know how to do it for use within a script. This is the script developer forum.
What exactly are you wanting? If you run a script from a file then getScriptFile https://docs.daz3d.com/public/software/dazstudio/4/referenceguide/scripting/api_reference/object_index/script_dz#a_1a4bc0c81d303617720205b9fd1751ca55 will rturn its location. Be aware thatif this is something for the Daz Store the method will not work with Daz Connect installed files, and may lead to unwarranted expectations in other contexts, so be careful how you use it.
If that isn't the thing you are after please give more detail.