C# Class SolidworksAddinFramework.SelectionManagerExtensions

Exibir arquivo Open project: Weingartner/SolidworksAddinFramework

Public Methods

Method Description
DeselectAllUndoable ( this selMgr ) : IDisposable
GetAllSelectedObjects ( this selMgr ) : IReadOnlyList
GetObjectSelections ( this selMgr ) : IEnumerable
GetSelectedObjects ( this selMgr, Func filter ) : IReadOnlyList

Get selected objects filtered by type and mark

Method Details

DeselectAllUndoable() public static method

public static DeselectAllUndoable ( this selMgr ) : IDisposable
selMgr this
return IDisposable

GetAllSelectedObjects() public static method

public static GetAllSelectedObjects ( this selMgr ) : IReadOnlyList
selMgr this
return IReadOnlyList

GetObjectSelections() public static method

public static GetObjectSelections ( this selMgr ) : IEnumerable
selMgr this
return IEnumerable

GetSelectedObjects() public static method

Get selected objects filtered by type and mark
public static GetSelectedObjects ( this selMgr, Func filter ) : IReadOnlyList
selMgr this
filter Func bool]]> if null then the default is true
return IReadOnlyList