Message 1 of 9
Method - "addButtonDefinition"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello there
I am tring redo Bolt example for my purposes. There is some part of original code.
if not cmdDef:
cmdDef = commandDefinitions.addButtonDefinition('Bolt',
'Create Bolt',
'Create a bolt.',
'./resources') # relative resource file path is specifiedI need to change names of some variables and do little changes in apperiance.
But after renaming nothing hapend untill I reload Fusion 360.
if not cmdDef:
cmdDef = commandDefinitions.addButtonDefinition('Box',
'Create Box',
'Create a box.',
'./resources') # relative resource file path is specified