Quantcast
Channel: Daz Script Developer Discussion - Daz 3D Forums
Viewing all articles
Browse latest Browse all 1067

How to get the asset type?

$
0
0

For assets who aren't loaded but selected is there a way to get the asset type?
I have the DzAsset object via getSelectedAssets() but most of the fields are empty. "contentType", "userCategories", "compatibilities", "categories", "compatabilityBase" are all empty. It's the same with the asset manager and getTypeForContentFile.
The information is there as it is displayed when hovering over the asset ("Type: wearable", "Type: preset_material" and such). Any way to access that type information in code?


Viewing all articles
Browse latest Browse all 1067

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>