How to find Preset (.duf) in Smart Content

DraagonStormDraagonStorm Posts: 748

Is there a way to find out:

1) If a preset file (.duf) is in smart content; and if so:

........2) Information from that asset like: Type and Category?

I tried searchForAssets in DzAssetMgr, but it errors if I use the full path. If I just use the preset file name that really will not help if, for example, a pose preset that is named 01.duf.

And as I'm playing with searchForAssets, it is only working in the Script IDE, in debug, and if I step to it. All other ways are returning empty :(

 

Post edited by DraagonStorm on

Comments

  • rbtwhizrbtwhiz Posts: 2,250

    If by "in smart content" you actually mean "in the database", review the Asset Categories sample. If you mean the Smart Content pane, I have not published API documentation for that pane (or any other specific pane) yet.

    -Rob

  • DraagonStormDraagonStorm Posts: 748

    That did the trick.. Thanks Rob

Sign In or Register to comment.