/dports/misc/usd/USD-21.11/pxr/usd/usd/testenv/ |
H A D | testUsdBugs.py | 100 s.GetPrimAtPath('/p1'), 102 s.GetPrimAtPath('/p2'), 110 s.GetPrimAtPath('/p1'), 112 s.GetPrimAtPath('/p2'), 120 s.GetPrimAtPath('/p1'), 122 s.GetPrimAtPath('/p2'), 149 s2.GetPrimAtPath('/i1'), 152 s2.GetPrimAtPath('/i2'), 162 s2.GetPrimAtPath('/i1'), 165 s2.GetPrimAtPath('/i2'), [all …]
|
H A D | testUsdStagePopulationMasks.py | 136 assert doryStage.GetPrimAtPath('/World') 156 assert doryStage.GetPrimAtPath('/World') 169 assert doryStage.GetPrimAtPath('/World') 212 assert masked.GetPrimAtPath(a.GetPath()) 221 assert masked.GetPrimAtPath(a.GetPath()) 222 assert masked.GetPrimAtPath(b.GetPath()) 223 assert masked.GetPrimAtPath(c.GetPath()) 224 assert masked.GetPrimAtPath(d.GetPath()) 225 assert masked.GetPrimAtPath(e.GetPath()) 229 assert masked.GetPrimAtPath(a.GetPath()) [all …]
|
H A D | testUsdInstanceProxy.py | 54 prim = s.GetPrimAtPath('/World/sets/Set_1') 87 prim = s.GetPrimAtPath(path) 104 prim = s.GetPrimAtPath(path) 111 self.assertEqual(prim, s.GetPrimAtPath(path)) 118 self.assertEqual(prim, s.GetPrimAtPath(path)) 128 parentPrim = s.GetPrimAtPath(parentPath) 280 expectedPrims = [s.GetPrimAtPath(p) for p in 304 parent = s.GetPrimAtPath(parentPath) 387 prim = s.GetPrimAtPath(attrPath.GetPrimPath()) 412 prim = s.GetPrimAtPath(relPath.GetPrimPath()) [all …]
|
H A D | testUsdPayloads.py | 189 sad = self.stage.GetPrimAtPath("/Sad") 198 baz = self.stage.GetPrimAtPath("/Foo/Baz") 207 bar = self.stage.GetPrimAtPath("/Bar") 250 sad = p.stage.GetPrimAtPath("/Sad") 251 sad_1 = p.stage.GetPrimAtPath("/Sad_1") 253 bar = p.stage.GetPrimAtPath("/Bar") 254 bar_1 = p.stage.GetPrimAtPath("/Bar_1") 405 baz = p.stage.GetPrimAtPath("/Foo/Baz") 505 sad = p.stage.GetPrimAtPath("/Sad") 637 rootPrim = stage.GetPrimAtPath("/E") [all …]
|
H A D | testUsdInstancingCpp.cpp | 74 subLayerPtr->GetPrimAtPath(instancePathToUnset); in TestInstancing_1() 77 &(stage->GetPrimAtPath(sourcePrimIndexPath).GetPrimIndex()); in TestInstancing_1() 95 stage->GetPrimAtPath(sourcePrimIndexPath).GetPrototype(); in TestInstancing_1() 98 &(stage->GetPrimAtPath(sourcePrimIndexPath).GetPrimIndex()); in TestInstancing_1() 129 &(stage->GetPrimAtPath(sourcePrimIndexPath).GetPrimIndex()); in TestInstancing_2() 132 stage->GetRootLayer()->GetPrimAtPath(SdfPath("/Ref1")); in TestInstancing_2() 134 stage->GetRootLayer()->GetPrimAtPath(instancePathToUnset); in TestInstancing_2() 153 stage->GetPrimAtPath(sourcePrimIndexPath).GetPrototype(); in TestInstancing_2() 156 &(stage->GetPrimAtPath(sourcePrimIndexPath).GetPrimIndex()); in TestInstancing_2() 187 &(stage->GetPrimAtPath(sourcePrimIndexPath).GetPrimIndex()); in TestInstancing_3() [all …]
|
H A D | testUsdCratePayloadConversionFromVersion07.py | 51 payloadRef1 = layer.GetPrimAtPath('/PayloadRef1') 52 payloadRef2 = layer.GetPrimAtPath('/PayloadRef2') 53 payloadRefNone = layer.GetPrimAtPath('/PayloadRefNone') 132 payloadRef1 = layer.GetPrimAtPath('/PayloadRef1') 133 payloadRef2 = layer.GetPrimAtPath('/PayloadRef2') 189 payloadRef1 = layer.GetPrimAtPath('/PayloadRef1') 190 payloadRef2 = layer.GetPrimAtPath('/PayloadRef2') 244 payloadRef1 = layer.GetPrimAtPath('/PayloadRef1') 245 payloadRef2 = layer.GetPrimAtPath('/PayloadRef2') 317 payloadRef1 = layer.GetPrimAtPath('/PayloadRef1') [all …]
|
H A D | testUsdStageLoadUnload.py | 777 foo = p.stage.GetPrimAtPath('/Foo') 839 assert not s1.GetPrimAtPath("/Foo") 850 assert s.GetPrimAtPath("/Foo") 863 assert not s.GetPrimAtPath('/foo') 876 assert s.GetPrimAtPath('/foo') 877 assert s.GetPrimAtPath('/bar') 879 assert s.GetPrimAtPath('/foo') 880 assert not s.GetPrimAtPath('/bar') 916 assert s.GetPrimAtPath('/foo') 925 assert s.GetPrimAtPath('/bar') [all …]
|
H A D | testUsdVariantEditing.py | 49 sarah = stage.GetPrimAtPath('/Sarah') 105 sarah_ref = stage.GetPrimAtPath('/Sarah_ref') 125 main = stage.GetPrimAtPath('/main') 139 assert stage.GetPrimAtPath('/main') 140 assert not stage.GetPrimAtPath('/main/child') 143 stage.GetPrimAtPath('/main').GetVariantSet( 145 main = stage.GetPrimAtPath('/main') 147 assert stage.GetPrimAtPath('/main/child') 151 assert stage.GetPrimAtPath('/main') 155 stage.GetPrimAtPath('/main').GetVariantSet( [all …]
|
H A D | testUsdInstancing.py | 45 prototype = stage.GetPrimAtPath(prototypePath) 48 prim = stage.GetPrimAtPath(p) 222 p2 = s.GetPrimAtPath(primPathToUninstance) 245 p1 = s.GetPrimAtPath(primPathToUninstance) 275 propSpec = propLayer.GetPrimAtPath('/Prop') 415 p3 = setLayer.GetPrimAtPath('/Set/Prop_3') 535 model_1 = s.GetPrimAtPath('/Model_1') 543 model_2 = s.GetPrimAtPath('/Model_2') 559 group_1 = s.GetPrimAtPath('/ModelGroup_1') 569 group_2 = s.GetPrimAtPath('/ModelGroup_2') [all …]
|
H A D | testUsdFlattenLayerStack.py | 50 p = stage.GetPrimAtPath('/Sphere') 81 p = stage.GetPrimAtPath('/ListOpTest') 103 p = stage.GetPrimAtPath('/TimeCodeTest') 157 p = result_stage.GetPrimAtPath('/Sphere') 167 p = layer.GetPrimAtPath('/ListOpTest') 177 p = layer.GetPrimAtPath('/SphereUsingClip') 197 prim = result_stage.GetPrimAtPath('/Test') 200 primSpec = layer.GetPrimAtPath('/Test') 225 prim = result_stage.GetPrimAtPath('/Test') 244 prim = result_stage.GetPrimAtPath('/Human') [all …]
|
H A D | testUsdPrimGetDescendants.cpp | 46 root = stage->GetPrimAtPath(SdfPath("/")), in TestGetDescendants() 47 globalClass = stage->GetPrimAtPath(SdfPath("/GlobalClass")), in TestGetDescendants() 51 stage->GetPrimAtPath(SdfPath("/GlobalClass/AbstractOver")), in TestGetDescendants() 52 pureOver = stage->GetPrimAtPath(SdfPath("/PureOver")), in TestGetDescendants() 55 group = stage->GetPrimAtPath(SdfPath("/Group")), in TestGetDescendants() 56 modelChild = stage->GetPrimAtPath(SdfPath("/Group/ModelChild")), in TestGetDescendants() 57 localChild = stage->GetPrimAtPath(SdfPath("/Group/LocalChild")), in TestGetDescendants() 61 stage->GetPrimAtPath(SdfPath("/Group/DeactivatedScope")), in TestGetDescendants() 63 stage->GetPrimAtPath(SdfPath("/Group/DeactivatedModel")), in TestGetDescendants() 65 stage->GetPrimAtPath(SdfPath("/Group/DeactivatedOver")), in TestGetDescendants() [all …]
|
H A D | testUsdNotices.py | 88 s.GetPrimAtPath("/Foo").SetMetadata("comment", "") 99 s.GetPrimAtPath("/Foo").SetMetadata("comment", "x") 171 s.GetPrimAtPath("/Foo").SetMetadata("comment", "") 198 stage.GetPrimAtPath("/Foo").GetAttribute("attr"))) 200 stage.GetPrimAtPath("/Foo").GetAttribute("attr"))) 202 stage.GetPrimAtPath("/Foo").GetAttribute("attr"))) 221 stage.GetPrimAtPath("/Foo").GetRelationship("rel"))) 223 stage.GetPrimAtPath("/Foo").GetRelationship("rel"))) 225 stage.GetPrimAtPath("/Foo").GetRelationship("rel"))) 364 s.GetPrimAtPath('/ModelReference').GetPrimStack()[1], [all …]
|
H A D | testUsdPrims.py | 36 p = s.GetPrimAtPath('/') 37 q = s.GetPrimAtPath('/') 47 p = s.GetPrimAtPath(u'/') 48 q = s.GetPrimAtPath(u'/') 159 root = stage.GetPrimAtPath('/') 320 assert not stage.GetPrimAtPath( 334 assert stage.GetPrimAtPath( 348 assert stage.GetPrimAtPath( 362 assert not stage.GetPrimAtPath( 451 assert stage.GetPrimAtPath( [all …]
|
H A D | testUsdFlattenProperties.py | 97 srcAttr = self.srcStage.GetPrimAtPath("/Basic").GetAttribute("a") 137 srcAttr.FlattenTo(dstStage.GetPrimAtPath("/Bogus")) 143 srcAttr.FlattenTo(dstStage.GetPrimAtPath("/Basic")) 152 dstAttr = dstStage.GetPrimAtPath("/Basic").GetAttribute("a") 161 srcAttr = self.srcStage.GetPrimAtPath("/OffsetTimeSamples") \ 257 dstStage.GetPrimAtPath("/WeakerTimeSamples"), "b") 274 dstStage.GetPrimAtPath("/StrongerTimeSamples"), "b") 287 srcPrim = self.srcStage.GetPrimAtPath("/FlattenPropertyTest") 350 srcAttr = self.srcStage.GetPrimAtPath("/FlattenOverSelf") \ 396 srcRel = self.srcStage.GetPrimAtPath("/RemapTargetPaths") \ [all …]
|
H A D | testUsdFallbackPrimTypes.py | 111 prim = stage.GetPrimAtPath("/ValidPrim_1") 125 prim = stage.GetPrimAtPath("/ValidPrim_2") 139 prim = stage.GetPrimAtPath("/InvalidPrim_1") 153 prim = stage.GetPrimAtPath("/InvalidPrim_2") 168 prim = stage.GetPrimAtPath("/InvalidPrim_3") 185 prim = stage.GetPrimAtPath("/InvalidPrim_4") 201 prim = stage.GetPrimAtPath("/InvalidPrim_5") 292 prim = stage.GetPrimAtPath("/ValidPrim_1") 300 prim = stage.GetPrimAtPath("/ValidPrim_2") 315 prim = stage.GetPrimAtPath(primPath) [all …]
|
H A D | testUsdFlatten.py | 35 prim = composed.GetPrimAtPath(primPath) 38 flatPrim = flatComposed.GetPrimAtPath(primPath) 95 pf = flat.GetPrimAtPath(pc.GetPath()) 193 prim = stage.GetPrimAtPath('/main') 214 prim = stage.GetPrimAtPath('/bar') 226 prim = resultStage.GetPrimAtPath('/bar') 238 barPrim = stage.GetPrimAtPath('/bar') 245 bazPrim = stage.GetPrimAtPath("/bar/baz") 257 barPrim = resultStage.GetPrimAtPath('/bar') 263 bazPrim = resultStage.GetPrimAtPath("/bar/baz") [all …]
|
H A D | testUsdChangeProcessing.py | 38 assert stage.GetPrimAtPath('/parent') 39 assert stage.GetPrimAtPath('/parent/child') 40 layer.GetPrimAtPath(parent.GetPath()).name = "parent_renamed" 41 assert stage.GetPrimAtPath('/parent_renamed') 42 assert stage.GetPrimAtPath('/parent_renamed/child')
|
H A D | testUsdVariants.py | 39 prim = stage.GetPrimAtPath('/MilkCartonA') 110 self.assertTrue(s.GetPrimAtPath(p.GetPath().AppendChild('Foobar'))) 119 self.assertFalse(s.GetPrimAtPath(testPath)) 147 self.assertTrue(s.GetPrimAtPath('/Foo/SpookyHat')) 148 self.assertTrue(s.GetRootLayer().GetPrimAtPath( 211 p = s.GetPrimAtPath('/prim') 212 rp = s.GetPrimAtPath('/refprim') 213 rrp = s.GetPrimAtPath('/refrefprim')
|
/dports/misc/usd/USD-21.11/extras/usd/tutorials/traversingStage/ |
H A D | traversingStage.py | 31 stage.GetPrimAtPath("/refSphere/world"), stage.GetPrimAtPath("/refSphere2"), 32 stage.GetPrimAtPath("/refSphere2/world")]) 36 [stage.GetPrimAtPath("/refSphere/world"), 37 stage.GetPrimAtPath("/refSphere2/world")]) 43 (stage.GetPrimAtPath("/refSphere"), False), 46 (stage.GetPrimAtPath("/refSphere"), True), 47 (stage.GetPrimAtPath("/refSphere2"), False), 50 (stage.GetPrimAtPath("/refSphere2"), True), 51 (stage.GetPrimAtPath("/"), True)] 58 ref2Prim = stage.GetPrimAtPath('/refSphere2') [all …]
|
/dports/misc/usd/USD-21.11/pxr/usd/pcp/testenv/ |
H A D | testPcpLayerMuting.py | 57 [layer.GetPrimAtPath('/Root'), 58 sublayer.GetPrimAtPath('/Root'), 64 [layer.GetPrimAtPath('/Root'), 78 [layer.GetPrimAtPath('/Root'), 84 [layer.GetPrimAtPath('/Root'), 94 [layer.GetPrimAtPath('/Root'), 101 [layer.GetPrimAtPath('/Root'), 111 [layer.GetPrimAtPath('/Root'), 118 [layer.GetPrimAtPath('/Root'), 128 [layer.GetPrimAtPath('/Root'), [all …]
|
/dports/misc/usd/USD-21.11/pxr/usd/sdf/testenv/ |
H A D | testSdfPrim.py | 37 self.assertTrue(layer.GetPrimAtPath('/foo')) 38 self.assertTrue(layer.GetPrimAtPath('/foo/bar')) 39 self.assertTrue(layer.GetPrimAtPath('/foo/bar/baz')) 43 self.assertTrue(layer.GetPrimAtPath('/boo')) 44 self.assertTrue(layer.GetPrimAtPath('/boo/bar')) 45 self.assertTrue(layer.GetPrimAtPath('/boo/bar/baz')) 47 layer.GetPrimAtPath('/')) 56 self.assertTrue(layer.GetPrimAtPath('/goo')) 57 self.assertTrue(layer.GetPrimAtPath('/goo/bar')) 62 self.assertTrue(layer.GetPrimAtPath('/zoo')) [all …]
|
/dports/misc/usd/USD-21.11/pxr/usd/usdUtils/testenv/ |
H A D | testUsdUtilsFlattenLayerStack.py | 47 p = stage.GetPrimAtPath('/Sphere') 78 p = stage.GetPrimAtPath('/ListOpTest') 94 p = stage.GetPrimAtPath('/SphereUsingClip') 100 p = result_stage.GetPrimAtPath('/Sphere') 110 p = layer.GetPrimAtPath('/ListOpTest') 120 p = layer.GetPrimAtPath('/SphereUsingClip') 140 p = layer.GetPrimAtPath('/SphereUsingClip') 160 prim = result_stage.GetPrimAtPath('/Test') 163 primSpec = layer.GetPrimAtPath('/Test') 186 prim = result_stage.GetPrimAtPath('/Test') [all …]
|
/dports/misc/usd/USD-21.11/pxr/usd/usdGeom/testenv/ |
H A D | testUsdGeomBBoxCache.py | 155 p = stage.GetPrimAtPath("/Rotated") 317 pseudoRoot = stage.GetPrimAtPath("/") 342 validPrims = stage.GetPrimAtPath("/ValidPrims") 413 pseudoRoot = stage.GetPrimAtPath("/") 421 modelPrim = stage.GetPrimAtPath("/Model") 449 b = s.GetPrimAtPath("/A/B") 450 c = s.GetPrimAtPath("/A/B/C") 483 root = stage.GetPrimAtPath("/Root") 491 root = stage.GetPrimAtPath("/Root") 499 root = stage.GetPrimAtPath("/Root") [all …]
|
H A D | testUsdGeomComputeAtTime.py | 109 pi = UsdGeom.PointInstancer(stage.GetPrimAtPath("/NoInstances")) 167 pi = UsdGeom.PointInstancer(stage.GetPrimAtPath("/OneInstance")) 368 pi = UsdGeom.PointInstancer(stage.GetPrimAtPath("/MultiInstance")) 415 stage.GetPrimAtPath("/MultiInstanceForExtents")) 427 pb = UsdGeom.PointBased(stage.GetPrimAtPath("/NoPoints")) 437 pb = UsdGeom.PointBased(stage.GetPrimAtPath("/OnePointNoSamples")) 447 pb = UsdGeom.PointBased(stage.GetPrimAtPath("/OnePointNoVelocities")) 481 pb = UsdGeom.PointBased(stage.GetPrimAtPath("/OnePoint")) 605 pb = UsdGeom.PointBased(stage.GetPrimAtPath("/MultiPoints")) 642 pi = UsdGeom.PointInstancer(stage.GetPrimAtPath("/NoInstances")) [all …]
|
/dports/misc/usd/USD-21.11/pxr/usd/plugin/usdAbc/testenv/ |
H A D | testUsdAbcFaceset.py | 36 prim1 = stage.GetPrimAtPath('/cube1') 39 faceset1prim1 = stage.GetPrimAtPath('/cube1/faceset1') 40 faceset2prim1 = stage.GetPrimAtPath('/cube1/faceset2') 86 prim2 = stage.GetPrimAtPath('/cube2') 88 faceset1prim2 = stage.GetPrimAtPath('/cube2/faceset1') 89 faceset2prim2 = stage.GetPrimAtPath('/cube2/faceset2') 90 faceset3prim2 = stage.GetPrimAtPath('/cube2/faceset3') 100 prim3 = stage.GetPrimAtPath('/cube3') 102 faceset1prim3 = stage.GetPrimAtPath('/cube3/faceset')
|