getAttributeMetadataByName#

omni::graph::core::AttributeDataHandle getAttributeMetadataByName(
omni::graph::core::NameToken attribute,
omni::graph::core::NameToken fieldName,
) noexcept#

Search for read-write metadata field handle for the attribute by using field name.

Parameters:
  • attribute – The name of the attribute.

  • fieldName – The name of attribute metadata field to be searched for.

Returns:

Valid metadata attribute handle for existing name, or Invalid handle for not existing.