Community
Inventor Forum
Welcome to Autodesk’s Inventor Forums. Share your knowledge, ask questions, and explore popular Inventor topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Add-in logos keep popup on right-click

8 REPLIES 8
Reply
Message 1 of 9
Anonymous
704 Views, 8 Replies

Add-in logos keep popup on right-click

Anonymous
Not applicable

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.

 

 

0 Likes

Add-in logos keep popup on right-click

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.

 

 

Labels (4)
8 REPLIES 8
Message 2 of 9
Frederick_Law
in reply to: Anonymous

Frederick_Law
Mentor
Mentor

You try to add your addin to markup menu?

Check your addin "hook" to markup menu.

0 Likes

You try to add your addin to markup menu?

Check your addin "hook" to markup menu.

Message 3 of 9
Anonymous
in reply to: Frederick_Law

Anonymous
Not applicable

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.

0 Likes

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.

Message 4 of 9
Frederick_Law
in reply to: Anonymous

Frederick_Law
Mentor
Mentor

Something wrong with the Increaser addin.

0 Likes

Something wrong with the Increaser addin.

Message 5 of 9
johnsonshiue
in reply to: Anonymous

johnsonshiue
Community Manager
Community Manager

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!



Johnson Shiue (johnson.shiue@autodesk.com)
Software Test Engineer
0 Likes

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!



Johnson Shiue (johnson.shiue@autodesk.com)
Software Test Engineer
Message 6 of 9
Anonymous
in reply to: johnsonshiue

Anonymous
Not applicable

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?

ribbon logo 2.png

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

'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)

 

 

 

 

0 Likes

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?

ribbon logo 2.png

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

'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)

 

 

 

 

Message 7 of 9
Anonymous
in reply to: johnsonshiue

Anonymous
Not applicable

I turned off the Marking Menu, and got this:

ribbon logo 2.png

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

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)

 

0 Likes

I turned off the Marking Menu, and got this:

ribbon logo 2.png

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

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)

 

Message 8 of 9
johnsonshiue
in reply to: Anonymous

johnsonshiue
Community Manager
Community Manager

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!



Johnson Shiue (johnson.shiue@autodesk.com)
Software Test Engineer
0 Likes

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!



Johnson Shiue (johnson.shiue@autodesk.com)
Software Test Engineer
Message 9 of 9
Anonymous
in reply to: johnsonshiue

Anonymous
Not applicable

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?

nguye486_0-1602117914279.png

Thanks!

0 Likes

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?

nguye486_0-1602117914279.png

Thanks!

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report