removeDynamicAttributes#

Fully qualified name: isaacsim::ros2::omnigraph_utils::removeDynamicAttributes

template<bool removeInputs = false, bool removeOutputs = false>
inline bool isaacsim::ros2::omnigraph_utils::removeDynamicAttributes(
const NodeObj &nodeObj,
)#

Removes dynamic attributes from a node.

Selectively removes dynamic input and/or output attributes from an OmniGraph node. Useful for resetting a node when reconfiguring its interface based on a new message type.

Template Parameters:
  • removeInputs – Whether to remove dynamic input attributes

  • removeOutputs – Whether to remove dynamic output attributes

Parameters:

nodeObj[in] OmniGraph node object to modify

Returns:

bool True if all requested attributes were successfully removed