# IRf3DToolbarSet Interface Reference

Inherits IUnknown.

List of all members.

## Public Member Functions
HRESULT | FindOrCreate3DToolbar ([in] GUID gToolbarGuid,[in] IRsNode *pSpaceNode,[out, retval] BSTR *szToolbarNode)
HRESULT | Add3DToolbarButton ([in] BSTR szToolbarNode,[in] IRsNode *pButtonNode)
HRESULT | Remove3DToolButton ([in] BSTR szButtonNode)
HRESULT | GenerateToolbarsIds ([in] GUID gToolbarIn)

## Detailed Description

Helper fn set for creating 3D scene toolbars

## Member Function Documentation

HRESULT IRf3DToolbarSet::FindOrCreate3DToolbar | ( | [in] GUID | gToolbarGuid,
|  | [in] IRsNode * | pSpaceNode,
|  | [out, retval] BSTR * | szToolbarNode |
| ) |  |  |

FindOrCreate3DToolbar

Parameters:

  | gToolbarGuid | [in] Toolbar ID
  | pSpaceNode | [in] Space where to look for the toolbar.

Returns:
  szToolbarNode [out,retval] Toolbar path .

HRESULT IRf3DToolbarSet::Add3DToolbarButton | ( | [in] BSTR | szToolbarNode,
|  | [in] IRsNode * | pButtonNode |
| ) |  |  |

Add3DToolbarButton

Parameters:

  | szToolbarNode | [in] Toolbar node.
  | pButtonNode | [in] Toolbar button node to add to toolbar.

HRESULT IRf3DToolbarSet::Remove3DToolButton | ( | [in] BSTR | szButtonNode | ) |

Remove3DToolButton

Parameters:

  | szButtonNode | [in] Button to remove .

HRESULT IRf3DToolbarSet::GenerateToolbarsIds | ( | [in] GUID | gToolbarIn | ) |

GenerateToolbarsIds

Generate unique IDs for 3D toolbars with provided ID.

Parameters:

  | gToolbarIn | [in] Toolbar ID