Interface IFluentCommandGroup
- Namespace
- Hymma.Solidworks.Addins.Fluent
- Assembly
- Hymma.Solidworks.Addins.Fluent.dll
an interface to define a command group in solidworks
public interface IFluentCommandGroup
Methods
And()
add more context
IFluentCommandGroup And()
Returns
Has()
Adds commands to this command group
AddinCommands Has()
Returns
SaveCommandGroup()
registers this command group into solidworks UI
IFluentCommandTab SaveCommandGroup()
Returns
WithDescription(string)
provide a description for your users
IFluentCommandGroup WithDescription(string description)
Parameters
descriptionstring
Returns
WithHint(string)
Provide a hint for your users
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
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.
IFluentCommandGroup WithTitle(string title, string menu = "Tools")
Parameters
Returns
WithToolTip(string)
tooltip for this command group that appears under the button in SOLIDWORKS tab
IFluentCommandGroup WithToolTip(string toolTip)
Parameters
toolTipstring