C# Class SolidworksAddinFramework.SelectionManagerExtensions

Afficher le fichier Open project: Weingartner/SolidworksAddinFramework

Méthodes publiques

Méthode 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 méthode

public static DeselectAllUndoable ( this selMgr ) : IDisposable
selMgr this
Résultat IDisposable

GetAllSelectedObjects() public static méthode

public static GetAllSelectedObjects ( this selMgr ) : IReadOnlyList
selMgr this
Résultat IReadOnlyList

GetObjectSelections() public static méthode

public static GetObjectSelections ( this selMgr ) : IEnumerable
selMgr this
Résultat IEnumerable

GetSelectedObjects() public static méthode

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
Résultat IReadOnlyList