Well I’ll take a stab at a tutorial….
If you haven’t noticed, products installed via DIM creates folders in Content Library>Product, but not all products are configured with metadata. IF the icons don’t display a “file type” tag notation in the upper right the product does not have metadata.
This tutorial will create metadata for a Hair product with material presets that does not have metadata. This should give you a basic understanding why/how Smart Content Tab and Metadata relates to each other.
WARNING: If you don’t see file extensions, turn them on. Edit>Preferences. Click on the Content Library Tab, enable check box for SHOW FILE EXTENSIONS, click Accept. This will assist in identifying the file’s type.
1. SELECT A FOLDER IN CONTENT LIBRARY>PRODUCTS WITH NO METADATA
In this sample, we will use a hair + 3 material presets.
Product: Kurt Hair (Designed for D3 and M3)
Files: Hair: Kurt_hair.hr2
Material presets: Black.pz2, Brown.pz2, Red.pz2
2. CATEGORIZE THE PRODUCT.
Select Kurt_hair.hr2, right Click>Categorize
Select Default>Hair>Static (enable the check box)
Click Accept
Select Black.pz2, Brown.pz2, Red.pz2 presets, Right Click>Categorize
Select Default>Materials>Hair (enable the check box)
Click Accept
TIP: Use lasso, shift-select or control-select selection methods. Another technique is to select the product folder, Right Click>Create a Category. This will create a product category within the existing category structure and every file in the product will be assigned that category. I’ve decided to categorize individual files instead, as not all files in a product will fall into a particular category. If you do categorize the whole product folder, you should delete the categories that don’t apply once you get the files into the Content DB Editor.
NOTE: This determines how the product/files are grouped in the Smart Content Tab.
3. ADD METADATA DETAILS TO THE HAIR
While still in the Product folder, select Kurt_hair.hr2, Right Click>Show In>Mapped Folder
Go to the Pane Options (icon about the search button)>Content DB Editor
In the Content DB Editor window, select Kurt_hair in the upper window.
Set Type: Follower>Hair
Select the Compatibility tab. Select Kurt_hair in the lower window, Right Click>Add Compatibilities to Selected File(s)
On the Select a Compatibility Base window, Scroll down to Generation3 and expand the selection and choose David 3, Click Accept
Repeat the steps and select Generation3>Michael 3
If you want to associate the hair to Genesis too, repeat the steps and select Genesis from the list.
With Kurt_hair still selected in the Compatibility tab, Change NOT DECLARED to DECLARED AS at the bottom of the window
In the white box to the right, type Kurt Hair/Kurt_hair
Click Accept
Note: Format is - Product Name/Item name
Alternatively, you can click on the Database button to bring up the Select a Compatibility Base Window and
a. Right Click>Create New Root Compatibility Base (Kurt Hair)
b. Select the Kurt Hair base, Right Click>Create New Sub-Compatibility Base (Kurt_hair)
IMPORTANT: You need to assign a Compatibility Base to an item if you want to associate other things to it, such as materials, poses, special lights and clothing.
4. ASSIGN SCENE IDENTIFICATION (Only needed if item is assigned a Compatibility Base)
Load the Kurt_hair.hr2 into the viewport.
On the Scene Tab, select Kurt_hair if not selected.
Go to Active Pane Options>Edit>Scene Identification and make sure:
Content Type: Follower>Hair
Compatibility Base: /Kurt Hair/Kurt_hair
Assign if they are blank. Click Accept when done.
NOTE: If this info is missing, hair material presets will fail to associate to the hair in the Smart Content tab.
5. ADD METADATA DETAILS TO THE HAIR MATERIAL PRESETS
Go back to the Kurt Hair product folder
Select one of the hair .pz2 presets. Right Click>Show In>Mapped Folder
Go to the Pane Options (icon about the search button)>Content DB Editor
In the Content DB Editor window, select all of the hair material presets
Set Type: Presets>Materials
Select the Compatibility tab. Select all of the hair materials in the lower window. Right Click>Add Compatibilities to Selected File(s)
On the Select a Compatibility Base window, scroll down to Kurt Hair and expand the selection and select Hurt_hair, Click Accept
NOTE: This is associating the material presets to the Kurt_hair in Smart Content tab.
6. TEST IF WORKING IN SMART CONTENT
Load Kurt_hair into the view port
With the hair selected, click on the Smart Content tab you should see:
Products sub-tab: “Kurt Hair” product (icon probably missing), click to see material presets
Files sub-tab: Black.pz2, Brown.pz2, Red.pz2 material presets
NOTE: the Materials grouping on the left corresponds to the file’s category assignment(s)
7. ADD MISSING PRODUCT ICON
Create icon in jpg/png format, 110x140 pixels in size. Name the icon the same name as the metadata files located in Runtime/Support. In this example DAZ_3D_4135_Kurt_Hair.jpg or DAZ_3D_4135_Kurt_Hair.png.
Place the icon in Runtime/Support. The product icon should display when the Smart Content pane is accessed or refreshed.
/END OF TUTORIAL