Class FluentCommandGroup
- Namespace
- Hymma.Solidworks.Addins.Fluent
- Assembly
- Hymma.Solidworks.Addins.Fluent.dll
adds a command group to solidworks ui
public class FluentCommandGroup : AddinCommandGroup, IAddinCommandGroup, IFluentCommandGroup
- Inheritance
-
FluentCommandGroup
- Implements
- Inherited Members
Constructors
FluentCommandGroup(AddinCommandTab)
default constructor
public FluentCommandGroup(AddinCommandTab tab)
Parameters
tabAddinCommandTab
Methods
And()
add more context
public IFluentCommandGroup And()
Returns
Has()
Adds commands to this command group
public AddinCommands Has()
Returns
SaveCommandGroup()
registers this command group into solidworks UI
public IFluentCommandTab SaveCommandGroup()
Returns
WithDescription(string)
provide a description for your users
public IFluentCommandGroup WithDescription(string description)
Parameters
descriptionstring
Returns
WithHint(string)
Provide a hint for your users
public IFluentCommandGroup WithHint(string hint)
Parameters
hintstring
Returns
WithIcon(Bitmap)
define an icon for this command group. it will be next to the command group name inside the command manager
public IFluentCommandGroup WithIcon(Bitmap bitmap)
Parameters
bitmapBitmap
Returns
WithTitle(string, string)
To add a CommandGroup to an existing SOLIDWORKS menu, specify the name of the parent menu here.
public IFluentCommandGroup WithTitle(string title, string menu = "Tools")
Parameters
Returns
WithToolTip(string)
tooltip for this command group that appears under the button in SOLIDWORKS tab
public IFluentCommandGroup WithToolTip(string toolTip)
Parameters
toolTipstring