How to script Refresh of Content Library pane?
lbsiahaan
Posts: 7
I would like to script the equivalent of right-clicking on the Content Library pane, and choosing "Refresh".
I want to be able to navigate to an item in Contently Library pane, but can't because the pane has not updated to reflect changes in the file system.
Thanks in advance.
Comments
DzContentMgr has a refresh( Bool ) method http://docs.daz3d.com/doku.php/public/software/dazstudio/4/referenceguide/scripting/api_reference/object_index/contentmgr_dz#a_1a75adf62019bb2d9541e068832ac96686
I tried that, unfortunately it does nothing. I also tried DzContentFolder.refresh(bool) to similar lack of effect.
See Script for refreshing DS and Poser libraries in DS?
Excellent, that did the trick! Thank you, my search skills were not able to find that post.