Table of Contents

Class FluentCommandTab

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

A command tab in solidworks

public class FluentCommandTab : AddinCommandTab, IFluentCommandTab
Inheritance
FluentCommandTab
Implements
Inherited Members

Constructors

FluentCommandTab(AddinModelBuilder)

default constructor

public FluentCommandTab(AddinModelBuilder builder)

Parameters

builder AddinModelBuilder

Methods

IsVisibleIn(IEnumerable<swDocumentTypes_e>)

the type of documents this tab should be visible in

public IFluentCommandTab IsVisibleIn(IEnumerable<swDocumentTypes_e> types)

Parameters

types IEnumerable<swDocumentTypes_e>

Returns

IFluentCommandTab

SaveCommandTab()

saves this command tab and returns the command builder

public 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

public 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

public IFluentCommandTab That()

Returns

IFluentCommandTab

IFluentCommandTab

WithTitle(string)

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

public IFluentCommandTab WithTitle(string title)

Parameters

title string

Returns

IFluentCommandTab