/// <summary> /// Retrieves an existing named line spring property. /// </summary> /// <param name="name">The name of the area spring property.</param> /// <param name="U1">The spring stiffness per unit area in the local 1 direction. [F/L^3].</param> /// <param name="U2">The spring stiffness per unit area in the local 2 direction. [F/L^3].</param> /// <param name="U3">The spring stiffness per unit area in the local 3 direction. [F/L^3].</param> /// <param name="R1">The rotational spring stiffness about local 1. [F/rad].</param> /// <param name="nonlinearOption2">The nonlinear option for the local 2 direction.</param> /// <param name="nonlinearOption3">The nonlinear option for the local 3 direction.</param> /// <param name="color">The display color for the property specified as an integer.</param> /// <param name="notes">The notes, if any, assigned to the property.</param> /// <param name="GUID">The GUID (global unique identifier), if any, assigned to the property.</param> public void GetLineSpringProperties(string name, ref double U1, ref double U2, ref double U3, ref double R1, ref eLinkDirection nonlinearOption2, ref eLinkDirection nonlinearOption3, ref int color, ref string notes, ref string GUID) { int csiNonlinearOption2 = 0; int csiNonlinearOption3 = 0; _callCode = _sapModel.PropLineSpring.GetLineSpringProp(name, ref U1, ref U2, ref U3, ref R1, ref csiNonlinearOption2, ref csiNonlinearOption3, ref color, ref notes, ref GUID); if (throwCurrentApiException(_callCode)) { throw new CSiException(API_DEFAULT_ERROR_CODE); } nonlinearOption2 = (eLinkDirection)csiNonlinearOption2; nonlinearOption3 = (eLinkDirection)csiNonlinearOption3; }
/// <summary> /// Retrieves an existing named area spring property. /// </summary> /// <param name="name">The name of the area spring property.</param> /// <param name="U1">The spring stiffness per unit area in the local 1 direction. [F/L^3].</param> /// <param name="U2">The spring stiffness per unit area in the local 2 direction. [F/L^3].</param> /// <param name="U3">The spring stiffness per unit area in the local 3 direction. [F/L^3].</param> /// <param name="nonlinearOption3">The nonlinear option for the local 3 direction.</param> /// <param name="springOption">This argument is for a future release, however a placeholder of type Integer is required.</param> /// <param name="soilProfile">This argument is for a future release, however a placeholder of type String is required.</param> /// <param name="endLengthRatio">This argument is for a future release, however a placeholder of type Double is required.</param> /// <param name="period">This argument is for a future release, however a placeholder of type Double is required.</param> /// <param name="color">The display color for the property specified as an integer.</param> /// <param name="notes">The notes, if any, assigned to the property.</param> /// <param name="GUID">The GUID (global unique identifier), if any, assigned to the property.</param> public void GetAreaSpringProperties(string name, ref double U1, ref double U2, ref double U3, ref eLinkDirection nonlinearOption3, ref int springOption, ref string soilProfile, ref double endLengthRatio, ref double period, ref int color, ref string notes, ref string GUID) { int csiNonlinearOption3 = 0; _callCode = _sapModel.PropAreaSpring.GetAreaSpringProp(name, ref U1, ref U2, ref U3, ref csiNonlinearOption3, ref springOption, ref soilProfile, ref endLengthRatio, ref period, ref color, ref notes, ref GUID); if (throwCurrentApiException(_callCode)) { throw new CSiException(API_DEFAULT_ERROR_CODE); } nonlinearOption3 = (eLinkDirection)csiNonlinearOption3; }
public void SetLineSpringProperties(string name, double U1, double U2, double U3, double R1, eLinkDirection nonlinearOption2, eLinkDirection nonlinearOption3, int color = 0, string notes = "", string GUID = "") { }
public void GetLineSpringProperties(string name, ref double U1, ref double U2, ref double U3, ref double R1, ref eLinkDirection nonlinearOption2, ref eLinkDirection nonlinearOption3, ref int color, ref string notes, ref string GUID) { }
public void SetAreaSpringProperties(string name, double U1, double U2, double U3, eLinkDirection nonlinearOption3, int springOption = 1, string soilProfile = "", double endLengthRatio = 0, double period = 0, int color = 0, string notes = "", string GUID = "") { }
public void GetAreaSpringProperties(string name, ref double U1, ref double U2, ref double U3, ref eLinkDirection nonlinearOption3, ref int springOption, ref string soilProfile, ref double endLengthRatio, ref double period, ref int color, ref string notes, ref string GUID) { }
/// <summary> /// Creates a new named line spring property, or modifies an existing named line spring property. /// </summary> /// <param name="name">The name of the line spring property.</param> /// <param name="U1">The spring stiffness per unit area in the local 1 direction. [F/L^3].</param> /// <param name="U2">The spring stiffness per unit area in the local 2 direction. [F/L^3].</param> /// <param name="U3">The spring stiffness per unit area in the local 3 direction. [F/L^3].</param> /// <param name="R1">The rotational spring stiffness about local 1. [F/rad].</param> /// <param name="nonlinearOption2">The nonlinear option for the local 2 direction.</param> /// <param name="nonlinearOption3">The nonlinear option for the local 3 direction.</param> /// <param name="color">The display color for the property specified as an integer.</param> /// <param name="notes">The notes, if any, assigned to the property.</param> /// <param name="GUID">The GUID (global unique identifier), if any, assigned to the property.</param> public void SetLineSpringProperties(string name, double U1, double U2, double U3, double R1, eLinkDirection nonlinearOption2, eLinkDirection nonlinearOption3, int color = 0, string notes = "", string GUID = "") { _callCode = _sapModel.PropLineSpring.SetLineSpringProp(name, U1, U2, U3, R1, (int)nonlinearOption2, (int)nonlinearOption3, color, notes, GUID); if (throwCurrentApiException(_callCode)) { throw new CSiException(API_DEFAULT_ERROR_CODE); } }
/// <summary> /// Creates a new named area spring property, or modifies an existing named area spring property. /// </summary> /// <param name="name">The name of the area spring property.</param> /// <param name="U1">The spring stiffness per unit area in the local 1 direction. [F/L^3].</param> /// <param name="U2">The spring stiffness per unit area in the local 2 direction. [F/L^3].</param> /// <param name="U3">The spring stiffness per unit area in the local 3 direction. [F/L^3].</param> /// <param name="nonlinearOption3">The nonlinear option for the local 3 direction.</param> /// <param name="springOption">This argument is for a future release, however a placeholder of type Integer is required.</param> /// <param name="soilProfile">This argument is for a future release, however a placeholder of type String is required.</param> /// <param name="endLengthRatio">This argument is for a future release, however a placeholder of type Double is required.</param> /// <param name="period">This argument is for a future release, however a placeholder of type Double is required.</param> /// <param name="color">The display color for the property specified as an integer.</param> /// <param name="notes">The notes, if any, assigned to the property.</param> /// <param name="GUID">The GUID (global unique identifier), if any, assigned to the property.</param> public void SetAreaSpringProperties(string name, double U1, double U2, double U3, eLinkDirection nonlinearOption3, int springOption = 1, string soilProfile = "", double endLengthRatio = 0, double period = 0, int color = 0, string notes = "", string GUID = "") { _callCode = _sapModel.PropAreaSpring.SetAreaSpringProp(name, U1, U2, U3, (int)nonlinearOption3, springOption, soilProfile, endLengthRatio, period, color, notes, GUID); if (throwCurrentApiException(_callCode)) { throw new CSiException(API_DEFAULT_ERROR_CODE); } }