public static double[] getGlobalParameterVector3(string parameter, string m_token, PowerMILL.PluginServices m_services) { double d0 = Gets.getGlobalParameterDouble(parameter + "[0]", m_token, m_services); double d1 = Gets.getGlobalParameterDouble(parameter + "[1]", m_token, m_services); double d2 = Gets.getGlobalParameterDouble(parameter + "[2]", m_token, m_services); return(new double[] { d0, d1, d2 }); }
public static double getActiveEntityParameterDouble(string entity, string parameter, string m_token, PowerMILL.PluginServices m_services) { string str = Gets.getActiveEntityParameterString(entity, parameter, m_token, m_services); return(getCultureInvariantDouble(str)); }
public static int getActiveEntityParameterInt(string entity, string parameter, string m_token, PowerMILL.PluginServices m_services) { string str = Gets.getActiveEntityParameterString(entity, parameter, m_token, m_services); return(int.Parse(str.Trim())); }
public static bool getActiveEntityParameterBool(string entity, string parameter, string m_token, PowerMILL.PluginServices m_services) { string str = Gets.getActiveEntityParameterString(entity, parameter, m_token, m_services); return(str.Trim() == "1"); }
public static double getGlobalParameterDouble(string parameter, string m_token, PowerMILL.PluginServices m_services) { string str = Gets.getGlobalParameterString(parameter, m_token, m_services); return(getCultureInvariantDouble(str)); }
public static int getGlobalParameterInt(string parameter, string m_token, PowerMILL.PluginServices m_services) { string str = Gets.getGlobalParameterString(parameter, m_token, m_services); return(int.Parse(str.Trim())); }
public static bool getGlobalParameterBool(string parameter, string m_token, PowerMILL.PluginServices m_services) { string str = Gets.getGlobalParameterString(parameter, m_token, m_services); return(str.Trim() == "1"); }