How to Rename the Basetoolbars Menu?

Dear Team,

I’m trying to rename the “New Part Revision” to “New Owners” but the name was not changed. the below code was i tried

baseToolbarsManager.Tools[“EpiAddNewnewParent”].SharedProps.Caption = “New Part Revision” ;
baseToolbarsManager.Tools[“EpiAddNewnewChild”].SharedProps.Caption = “New Owners” ;

Please find the below screen shot for reference.

image

Are you sure you have the right Keys?
I would guess it’s not “EpiAddNewnewChild”, but to check, add a tool click event using the wizard.
Then in the event, use:
MessageBox.Show(args.Tool.Key);

1 Like

@Jason_Woods thanks for your help. I made mistake in the code.