Table of Contents

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

tab AddinCommandTab

Methods

And()

add more context

public IFluentCommandGroup And()

Returns

IFluentCommandGroup

Has()

Adds commands to this command group

public AddinCommands Has()

Returns

AddinCommands

SaveCommandGroup()

registers this command group into solidworks UI

public IFluentCommandTab SaveCommandGroup()

Returns

IFluentCommandTab

WithDescription(string)

provide a description for your users

public IFluentCommandGroup WithDescription(string description)

Parameters

description string

Returns

IFluentCommandGroup

WithHint(string)

Provide a hint for your users

public IFluentCommandGroup WithHint(string hint)

Parameters

hint string

Returns

IFluentCommandGroup

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

bitmap Bitmap

Returns

IFluentCommandGroup

WithTitle(string, string)

To add a CommandGroup to an existing SOLIDWORKS menu, specify the name of the parent menu here.

the title as appears in solidworks menu solidworks menus as defined in AddinConstants.SolidworksMenu
public IFluentCommandGroup WithTitle(string title, string menu = "Tools")

Parameters

title string
menu string

Returns

IFluentCommandGroup

WithToolTip(string)

tooltip for this command group that appears under the button in SOLIDWORKS tab

public IFluentCommandGroup WithToolTip(string toolTip)

Parameters

toolTip string

Returns

IFluentCommandGroup