Class ModelFormerHelper
Inheritance
ModelFormerHelper
Assembly: CAMIPC.DotnetHelper.dll
public static class ModelFormerHelper
Methods
Declaration
public static int Count(this ComWrapper<ICamIpcModelFormer> modelFormerCom)
Parameters
Returns
Перечисление ВЫДЕЛЕННЫХ item'ов нужного типа — то же выделение, к которому применяет
правку форма свойств. Каждый wrapper диспозится автоматически при переходе к следующей
итерации или выходе из foreach — caller'у using не нужен.
Declaration
public static IEnumerable<ComWrapper<T>> EnumerateSelected<T>(this ComWrapper<ICamIpcModelFormer> modelFormerCom) where T : class
Parameters
Returns
Type Parameters
Find an item by its full hierarchical name (matches ICamIpcModelItem.Caption).
For JA items created from geometry the FullName is the same path accepted by
ICamIpcGeomModel.FindByFullName (e.g. "Part\Part1.igs\Face6").
Declaration
public static ComWrapper<ICamIpcModelItem> FindByFullName(this ComWrapper<ICamIpcModelFormer> modelFormerCom, string fullName)
Parameters
Returns
Declaration
public static ComWrapper<ICamIpcModelItem> FindItem(this ComWrapper<ICamIpcModelFormer> modelFormerCom, string itemID)
Parameters
Returns
Item is selected in its model former — the selection the job assignment tree shows.
Declaration
public static bool IsSelected(this ComWrapper<ICamIpcModelItem> itemCom)
Parameters
Returns
Declaration
public static ComWrapper<ICamIpcModelItem> Item(this ComWrapper<ICamIpcModelFormer> modelFormerCom, int index)
Parameters
Returns