- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
Is it possible, when you select a library, to detect if it is a Material or an Appearances library ?
Available libraries are obtained with ThisApplication.AssetLibraries.
I get the library with "oLib = ThisApplication.AssetLibraries("Lib name")".
I can set the library using "ThisApplication.ActiveAppearanceLibrary = oLib" or "ThisApplication.ActiveMaterialLibrary = oLib", but only if oLib is respectively an AppearanceLibrary or a MaterialLibrary.
The problem is how to know if oLib is a MaterialLibrary or an AppearanceLibrary ?
Solved! Go to Solution.
