CAM API
  • CAM API
v20.0.1
Search Results for

    Show / Hide Table of Contents

    Interface ICamApiMacroCommandDataBuilder

    Writable command payload, created by ICamApiMacroCommandsManager.CreateCommandData. Fill the keys defined for the CommandType, then feed it to RegisterCommand — this imitates exactly what the UI recording hooks do internally.

    Namespace: CAMAPI.Macros
    Assembly: CAMAPI.Macros.dll
    Syntax
    [Guid("22E0F96F-E032-4626-ACAB-15DEAABADE41")]
    [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
    public interface ICamApiMacroCommandDataBuilder : ICamApiMacroCommandData

    Properties

    CommandType

    Declaration
    TMacroCommandType CommandType { get; }
    Property Value
    Type Description
    TMacroCommandType

    Methods

    GetBool(string)

    Declaration
    bool GetBool(string key)
    Parameters
    Type Name Description
    string key
    Returns
    Type Description
    bool

    GetFloat(string)

    Declaration
    double GetFloat(string key)
    Parameters
    Type Name Description
    string key
    Returns
    Type Description
    double

    GetInt(string)

    Declaration
    int GetInt(string key)
    Parameters
    Type Name Description
    string key
    Returns
    Type Description
    int

    GetStr(string)

    Declaration
    string GetStr(string key)
    Parameters
    Type Name Description
    string key
    Returns
    Type Description
    string

    SetBool(string, bool)

    Declaration
    void SetBool(string key, bool Value)
    Parameters
    Type Name Description
    string key
    bool Value

    SetFloat(string, double)

    Declaration
    void SetFloat(string key, double Value)
    Parameters
    Type Name Description
    string key
    double Value

    SetInt(string, int)

    Declaration
    void SetInt(string key, int Value)
    Parameters
    Type Name Description
    string key
    int Value

    SetStr(string, string)

    Declaration
    void SetStr(string key, string Value)
    Parameters
    Type Name Description
    string key
    string Value
    In this article