definePrim#

Fully qualified name: isaacsim::foundation::usd::openusd::definePrim

void isaacsim::foundation::usd::openusd::definePrim(
int64_t stageId,
const std::string &path,
const std::string &typeName = "Xform",
)#

Defines a prim at the given path, creating ancestor prims as needed.

Parameters:
  • stageId – [in] Stage to operate on.

  • path – [in] Absolute SdfPath of the prim to define.

  • typeName – [in] USD schema type name for the new prim.