Smart Content not showing all the items

IllidanstormIllidanstorm Posts: 655
edited February 2020 in New Users

Hello,

I have a problem with smart content where it won't show all the items.

For example: I have a lot of standing poses. It only shows some of them in smart content but not all, even though they have metadata and they are from daz. 
Another example: I have these poses https://www.daz3d.com/z-utility-laughing-and-crying-poses-and-expressions-for-genesis-3-and-8 but they don't show up in smart content anymore. If I go the the content library, and right click on on pose and choose, click show in smart content / files it says it couldn't be found with the current filtering option. Those poses used to be there but they seem to be overwritten by something because I probably have too many poses. I don't have any filtering options as far as I can tell.

How can I make it so smart content shows all the items and not only some of them?

Post edited by Illidanstorm on

Comments

  • mavantemavante Posts: 734

    I understand your saying "I don't have any filtering options as far as I can tell," but when something like this happens to me it's because I inadvertently have left something typed in the Smart Content search box, or have inadvertenly left the "Filter by Content" box checked. (See attached image.)

    If neither of those is the case, I resort to right-clicking on the Content Library tab, selecting Content DB Maintenance, and selecting the three items checked in the second attached image.

    If all of that fails, I do the  Reset Database operation (not checked in the second attached image), and then do the three items checked in the second attached image.

    FilterContent.png
    160 x 94 - 6K
    DB Maintenance.png
    297 x 159 - 21K
  • There isn't a way in the UI to chnage the maximum number of items shown - I think, if you scan through the Changelogs, that there is a method available through scripting - but yu can also try using the filter box at the top of the pane to limit the items shown, and so see all that fit.

  • Richard HaseltineRichard Haseltine Posts: 100,765
    edited February 2020

    Rob provided the details, it's getMaxFileSearchResultSize() and setMaxFileSearchResultSize() in DzAssetMgr - but do bear in mnd that the number is limited for performance reasons, so on your own head be it if you increase it too far.

    http://docs.daz3d.com/doku.php/public/software/dazstudio/4/referenceguide/scripting/api_reference/object_index/assetmgr_dz

    Post edited by Richard Haseltine on
  • So something like

    var oAssetMgr = App.getAssetMgr();if ( oAssetMgr ) {oAssetMgr.setMaxFileSearchResultSize( your_maximum_value_here );}

     

  • IllidanstormIllidanstorm Posts: 655
    edited February 2020
    Where do I have to put this line of script @richardHaseltine ?
    Post edited by Illidanstorm on
  • Save it as a .dsa file in (for example) /Scripts/Utilities/ in one of your Daz Studio Formats content directories.

  • Oh wow thanks. Now it works much better yes

  • RuthvenRuthven Posts: 653

    Hello you all.

    I tried this solution but Daz gave an error message (no infos about the kind of error) when I ran the script. I'm not used to create scripts, so I probably made something wrong in creating it. Could somebody please be so kind to guide me precisely step-by-step on how to do it?

    Thank you!

  • IllidanstormIllidanstorm Posts: 655

    @Ruthven

    I attached the script, it will set it to 2500, which may be too much but for me its ok because I have my content on a ssd

    just drag that into your viewport

    dsa
    dsa
    maxfile.dsa
    106B
  • RuthvenRuthven Posts: 653

    @Ruthven

    I attached the script, it will set it to 2500, which may be too much but for me its ok because I have my content on a ssd

    just drag that into your viewport

     

  • RuthvenRuthven Posts: 653

    Thank you so much, that's sooo kind from you!

  • DDCreateDDCreate Posts: 1,398

    Mavante...THANK YOU!!

    I have been struggling with my Smart Content for a week now, trying to get it to populate after I had to do a complete system restore and re-install all my programs. I saw your message and did in fact have "Filter by Content" checked. One mouse click and my troubles were gone. Good tip! You saved my sanity!

  • mavantemavante Posts: 734
    DDCreate said:

    Mavante...THANK YOU!!

    I have been struggling with my Smart Content for a week now, trying to get it to populate after I had to do a complete system restore and re-install all my programs. I saw your message and did in fact have "Filter by Content" checked. One mouse click and my troubles were gone. Good tip! You saved my sanity!

    Fantastic, DDCreate!

  • JD_MortalJD_Mortal Posts: 760
    edited November 2021

    Thanks for the script... Big time saver! Especially since searching ignores any actual set limits. Do a search for "scenes" by checking the box in the search limits and it returns "Scenes", "objects", "props", "materials", "people", everything...

    Do a simple search for "house", to display house scenes, and everything in the entire catalog tries to load! Apples, chairs, shoes, people... anything that some goof added the "house" tag to.

    To add insult to injury, there are tons of stupid tags... "duf" is on almost every item... "prop" appears multiple times on many items... The creator name is used, even though its sitting directly inside the creators folder, which would return the item in a search anyways... So much redundancy.

    Why there is honestly a limit of 1200 is baffling. It doesn't display 1200 at once, well, it shouldn't be trying to. I can index and display 65,000 items in any basic program, with ease. I think it's time to upgrade the program to more realistic limits, or create a "next search", to continue searching deeper. I thought that was the idea of having "pages"... Which only load about 300 items at a time, by default, but up to 1200 if you let it. (Again, another redundant limit. It only HAS 1200 results to show, and then it allows you to select to show all 1200, and STILL show page numbers, which can't load the second page?!?)

    More insult to injury... The "tips" don't work either. If you hover over a TAG word, it says, "Hold CTRL + click the word, to add it to searching filters." (It actually does nothing when you do that.)

    Post edited by JD_Mortal on
  • JD_Mortal said:

    Thanks for the script... Big time saver! Especially since searching ignores any actual set limits. Do a search for "scenes" by checking the box in the search limits and it returns "Scenes", "objects", "props", "materials", "people", everything...

    Do a simple search for "house", to display house scenes, and everything in the entire catalog tries to load! Apples, chairs, shoes, people... anything that some goof added the "house" tag to.

    To add insult to injury, there are tons of stupid tags... "duf" is on almost every item... "prop" appears multiple times on many items... The creator name is used, even though its sitting directly inside the creators folder, which would return the item in a search anyways... So much redundancy.

    Why there is honestly a limit of 1200 is baffling. It doesn't display 1200 at once, well, it shouldn't be trying to. I can index and display 65,000 items in any basic program, with ease. I think it's time to upgrade the program to more realistic limits, or create a "next search", to continue searching deeper. I thought that was the idea of having "pages"... Which only load about 300 items at a time, by default, but up to 1200 if you let it. (Again, another redundant limit. It only HAS 1200 results to show, and then it allows you to select to show all 1200, and STILL show page numbers, which can't load the second page?!?)

    More insult to injury... The "tips" don't work either. If you hover over a TAG word, it says, "Hold CTRL + click the word, to add it to searching filters." (It actually does nothing when you do that.)

    http://docs.daz3d.com/doku.php/public/software/dazstudio/4/referenceguide/interface/panes/content_library/navigation_search_bar/start#options_panel explians the options. You are confusing file types and  categories.

Sign In or Register to comment.