Table of Contents

Interface IFluentCommandTab

Namespace
Hymma.Solidworks.Addins.Fluent
Assembly
Hymma.Solidworks.Addins.Fluent.dll

an interface to add command tabs to a solidworks ui for example 'Features' is a command tab

public interface IFluentCommandTab

Methods

IsVisibleIn(IEnumerable<swDocumentTypes_e>)

the type of documents this tab should be visible in

IFluentCommandTab IsVisibleIn(IEnumerable<swDocumentTypes_e> types)

Parameters

types IEnumerable<swDocumentTypes_e>

Returns

IFluentCommandTab

SaveCommandTab()

saves this command tab and returns the command builder

IAddinModelBuilder SaveCommandTab()

Returns

IAddinModelBuilder

SetCommandGroup(int)

A command group can be listed in a command tab or be listed under 'Tools' drop down box where you can hover over and get the list of command in that command group

IFluentCommandGroup SetCommandGroup(int userId)

Parameters

userId int

If you change the definition of an existing CommandGroup (i.e., add or remove toolbar buttons), you must assign a new unique user-defined UserID to that CommandGroup.
You must perform this action to avoid conflicts with any previously existing CommandGroupa and to allow for backward and forward compatibility of the CommandGroups in your application.
The user ID and the GUID of the CoClass implementing ISwAddin are a unique pair.

Returns

IFluentCommandGroup

That()

add more context

IFluentCommandTab That()

Returns

IFluentCommandTab

IFluentCommandTab

WithTitle(string)

define a title for the command tab for exaple 'Features' is a title for it tab

IFluentCommandTab WithTitle(string title)

Parameters

title string

Returns

IFluentCommandTab