09-25-2022
02:17 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
09-25-2022
02:17 AM
Dear @JelteDeJong
Could you, please, confirm (and comment) exception 80004005 on each (except the first within current Inventor session) attempt to load Add-In with line:
_settingsButton = conDefs.AddButtonDefinition(
"MyButton DisplayName",
"MyButton InternalName",
CommandTypesEnum.kEditMaskCmdType,
Guid.NewGuid().ToString(),
"MyButton DescriptionText",
"MyButton ToolTipText")
I believe the issue could be fixed with wrapping the line into Try-Catch, but I don't understand what should go after "Catch" (for sure not just "End Try").
Please vote for Inventor-Idea Text Search within Option Names