Is there a reason the logo of my Add-in keep popping out on the right click menu? It is very annoying? How do I turn it off? I am using Inventor Pro 2020 with Visual Studio 2017, the add-in is in Form structure.
You try to add your addin to markup menu?
Check your addin "hook" to markup menu.
I think it is a bug. Every time I click on the Increaser Add-In, it always show the logo on my right-click menu.
If I started using another cmd, like Constrain, the logo won't be there anymore.
Hi! The behavior does not look right to me. Try a few things and see if there is a change in behavior.
1) Go to View -> Windows -> User Interface -> uncheck Marking Menu. Does it go away?
2) If it does not help, go to Tools -> Customize -> Marking Menu -> Restore All Defaults -> Apply.
If it still does not work, try resetting Inventor settings by using Inventor Reset Utilities (All Programs -> Autodesk -> Inventor 20xx -> Tools).
Many thanks!
so I turned off Marking Menu and got this and got it.
I think the logo is oversized and overlapped in the Marking Menu.
Is there a way to turn it off in source code?
'ADAPTERS
Dim Panel4 As RibbonPanel
Panel4 = RibTab.RibbonPanels.Add("Adapters", "IntAdapters", "createAdaptorsID")
Dim oImageAdapters As System.Drawing.Image
oImageAdapters = System.Drawing.Bitmap.FromFile(Utilities.MasterFolder & "Image\" & "ADAPTERS.JPG")
' Convert the Image to a Picture.
Dim oPictureAdapters As stdole.IPictureDisp
oPictureAdapters = Microsoft.VisualBasic.Compatibility.VB6.Support.ImageToIPictureDisp(oImageAdapters)
' Create the button definition object.
CmdAdapters = m_inventorApplication.CommandManager.ControlDefinitions.AddButtonDefinition("Adaptors", _
"Autodesk:HCo:HCo_Adapters", CommandTypesEnum.kNonShapeEditCmdType, _
mstrAddIn, "Create and assemble Adapters fittings", "Adapters Fittings", oPictureAdapters, oPictureAdapters)
Call Panel4.CommandControls.AddButton(CmdAdapters, True)
I turned off the Marking Menu, and got this:
I think the little icon there is the one overlapped in the Marking Menu,
Is there away to turn if off for the Marking Menu?
'ADAPTERS
Dim Panel4 As RibbonPanel
Panel4 = RibTab.RibbonPanels.Add("Adapters", "IntAdapters", "createAdaptorsID")
Dim oImageAdapters As System.Drawing.Image
oImageAdapters = System.Drawing.Bitmap.FromFile(Utilities.MasterFolder & "Image\" & "ADAPTERS.JPG")
' Convert the Image to a Picture.
Dim oPictureAdapters As stdole.IPictureDisp
oPictureAdapters = Microsoft.VisualBasic.Compatibility.VB6.Support.ImageToIPictureDisp(oImageAdapters)
' Create the button definition object.
CmdAdapters = m_inventorApplication.CommandManager.ControlDefinitions.AddButtonDefinition("Adaptors", _
"Autodesk:HCo:HCo_Adapters", CommandTypesEnum.kNonShapeEditCmdType, _
mstrAddIn, "Create and assemble Adapters fittings", "Adapters Fittings", oPictureAdapters, oPictureAdapters)
Call Panel4.CommandControls.AddButton(CmdAdapters, True)
Hi! I am not sure. I guess the icon sizing was incorrect. How did you add the icon to the custom Add-In/command?
Many thanks!
Thank you very much for your responded.
This is an old add-in source code from someone I know.
At first, it was built in 2013 Inventor, I got update to 2018 early this year.
Honestly, I can't find the icon sizing anywhere, this is all I could find.
Is there away we can define it?
Thanks!
Can't find what you're looking for? Ask the community or share your knowledge.