Class MacroCommandSchemaHelper
Helper methods for ICamIpcMacroCommandSchema.
Describes the field keys each command type expects (for CreateCommandData/Set*).
Inheritance
MacroCommandSchemaHelper
Assembly: CAMIPC.DotnetHelper.dll
Syntax
public static class MacroCommandSchemaHelper
Methods
GetClassItemCommand(ComWrapper<ICamIpcMacroCommandSchema>, TMacroCommandType, string)
Field list for one variant of a model-item command, selected by discriminator
(e.g. SetWorkpiecePrimitive — discriminator is the item class name). Empty list if unknown.
Declaration
public static ComWrapper<ICamIpcMacroCommandFieldList> GetClassItemCommand(this ComWrapper<ICamIpcMacroCommandSchema> com, TMacroCommandType commandType, string discriminator)
Parameters
Returns
GetFlatCommand(ComWrapper<ICamIpcMacroCommandSchema>, TMacroCommandType)
Declaration
public static ComWrapper<ICamIpcMacroCommandFieldList> GetFlatCommand(this ComWrapper<ICamIpcMacroCommandSchema> com, TMacroCommandType commandType)
Parameters
Returns