public void GetThickness(string name, ref eAreaThicknessType thicknessType, ref string thicknessPattern, ref double thicknessPatternScaleFactor, ref double[] thicknesses) { }
public void SetThickness(string name, eAreaThicknessType thicknessType, string thicknessPattern, double thicknessPatternScaleFactor, double[] thicknesses, eItemType itemType = eItemType.Object) { }
/// <summary> /// This function retrieves the thickness overwrite assignments for area elements. /// </summary> /// <param name="name">The name of an existing area element.</param> /// <param name="thicknessType">Indicates the thickness overwrite type.</param> /// <param name="thicknessPattern">This item applies only when <paramref name="thicknessType" /> = <see cref="eAreaThicknessType.OverwriteByJointPattern" />. /// It is the name of the defined joint pattern that is used to calculate the thicknesses.</param> /// <param name="thicknessPatternScaleFactor">This item applies only when <paramref name="thicknessType" /> = <see cref="eAreaThicknessType.OverwriteByJointPattern" />. /// It is the scale factor applied to the joint pattern when calculating the thicknesses. [L]</param> /// <param name="thicknesses">This item applies only when <paramref name="thicknessType" /> = <see cref="eAreaThicknessType.OverwriteByPoint" />. /// It is an array of thicknesses at each of the points that define the area element. [L]</param> /// <exception cref="CSiException">API_DEFAULT_ERROR_CODE</exception> public void GetThickness(string name, ref eAreaThicknessType thicknessType, ref string thicknessPattern, ref double thicknessPatternScaleFactor, ref double[] thicknesses) { int csiThicknessType = 0; _callCode = _sapModel.AreaElm.GetThickness(name, ref csiThicknessType, ref thicknessPattern, ref thicknessPatternScaleFactor, ref thicknesses); if (throwCurrentApiException(_callCode)) { throw new CSiException(API_DEFAULT_ERROR_CODE); } thicknessType = (eAreaThicknessType)csiThicknessType; }