@jsmack, this isn't the behavior I'm experiencing. I get a USD output without a binding, just a shop_materialpath primvar in partitions.
Attached below is the repro.
Houdini Core Version 18.0.287
Repro steps:
1. in /stage, create a “Sop Create” node
2. in /mat, create a principled shader, select teal as an emissive color.
3. in /stage/sopcreate1, create a “box” and assign it the material via “material” node.
4. material will appear teal inside /stage/sopcreate1/sopnet/create.
5. in /stage, right-click sopnet1 -> LOP Options -> Inspect Flattened Stage.
Output USD:
#usda 1.0
(
defaultPrim = "sopcreate1"
doc = """Generated from Composed Stage of root layer
"""
)
def Xform "sopcreate1" (
kind = "component"
)
{
matrix4d xformOp:transform:xform = ( (1, 0, 0, 0), (0, 1, 0, 0), (0, 0, 1, 0), (0, 0, 0, 1) )
uniform token[] xformOpOrder = ["xformOp:transform:xform"]
def Mesh "mesh_0"
{
float3[] extent = [(-0.5, -0.5, -0.5), (0.5, 0.5, 0.5)]
int[] faceVertexCounts = [4, 4, 4, 4, 4, 4] (
customData = {
int64 HoudiniDataId = 2654593799
}
)
int[] faceVertexIndices = [1, 5, 4, 0, 2, 6, 5, 1, 3, 7, 6, 2, 0, 4, 7, 3, 2, 1, 0, 3, 5, 6, 7, 4] (
customData = {
int64 HoudiniDataId = 2654593799
}
)
uniform token orientation = "leftHanded"
point3f[] points = [(-0.5, -0.5, -0.5), (0.5, -0.5, -0.5), (0.5, -0.5, 0.5), (-0.5, -0.5, 0.5), (-0.5, 0.5, -0.5), (0.5, 0.5, -0.5), (0.5, 0.5, 0.5), (-0.5, 0.5, 0.5)] (
customData = {
int64 HoudiniDataId = 158027
}
interpolation = "vertex"
)
uniform token subdivisionScheme = "none"
uniform token subsetFamily:shop_materialpath:familyType = "partition"
def GeomSubset "shop_materialpath__mat_principledshader1" (
customData = {
string partitionValue = "/mat/principledshader1"
}
)
{
uniform token familyName = "shop_materialpath"
int[] indices = [0, 1, 2, 3, 4, 5]
}
}
}
def HoudiniLayerInfo "HoudiniLayerInfo" (
customData = {
string HoudiniCreatorNode = "/stage/sopcreate1/sopimport"
string[] HoudiniEditorNodes = ["/stage/sopcreate1/sopnet/OUT", "/stage/sopcreate1/sopimport", "/stage/sopcreate1/merge1", "/stage/sopcreate1/xform"]
string HoudiniSaveControl = "Placeholder"
}
)
{
}