removeApi#
Fully qualified name: isaacsim::foundation::usd::openusd::removeApi
- bool isaacsim::foundation::usd::openusd::removeApi(
- int64_t stageId,
- const std::string &path,
- const std::string &schemaType,
- const std::optional<std::string> &instanceName = std::nullopt,
Removes an applied API schema from a prim.
- Parameters:
stageId – [in] Stage to operate on.
path – [in] Absolute SdfPath of the prim.
schemaType – [in] Applied API schema type name (SingleApplyAPI or MultipleApplyAPI kind).
instanceName – [in] Instance name for multiple-apply schemas; empty for single-apply.
- Throws:
std::invalid_argument – if
schemaTypeis unknown or is not an applied API schema.- Returns:
True if the schema was removed, false if it was not applied.