public void SetLoadTemperature(string name, string loadPattern, eLoadTemperatureType temperatureLoadType, double temperatureLoadValue, string jointPatternName, bool replace, eItemType itemType = eItemType.Object) { }
/// <summary> /// This function retrieves the temperature load assignments to elements. /// </summary> /// <param name="name">The name of an existing element or group, depending on the value of the <paramref name="itemType" /> item.</param> /// <param name="numberItems">The total number of temperature loads retrieved for the specified elements.</param> /// <param name="names">The name of the element associated with each temperature load.</param> /// <param name="loadPatterns">The name of the load pattern associated with each temperature load.</param> /// <param name="temperatureLoadType">Indicates the type of temperature load for each load pattern.</param> /// <param name="temperatureLoadValues">Temperature load values. [T] for <paramref name="temperatureLoadType" /> = Temperature, [T/L] for all others.</param> /// <param name="jointPatternNames">The joint pattern name, if any, used to specify the temperature load.</param> /// <param name="itemType">If this item is <see cref="eItemTypeElement.ObjectElement" />, the load assignments are retrieved for the elements corresponding to the object specified by the <paramref name="name" /> item. /// If this item is <see cref="eItemTypeElement.Element" />, the load assignments are retrieved for the element specified by the <paramref name="name" /> item. /// If this item is <see cref="eItemTypeElement.GroupElement" />, the load assignments are retrieved for the elements corresponding to all objects included in the group specified by the <paramref name="name" /> item. /// If this item is <see cref="eItemTypeElement.SelectionElement" />, the load assignments are retrieved for elements corresponding to all selected objects, and the <paramref name="name" /> item is ignored.</param> /// <exception cref="CSiException"></exception> public void GetLoadTemperature(string name, ref int numberItems, ref string[] names, ref string[] loadPatterns, ref eLoadTemperatureType[] temperatureLoadType, ref double[] temperatureLoadValues, ref string[] jointPatternNames, eItemTypeElement itemType = eItemTypeElement.Element) { _callCode = _sapModel.SolidElm.GetLoadTemperature(name, ref numberItems, ref names, ref loadPatterns, ref temperatureLoadValues, ref jointPatternNames, EnumLibrary.Convert <eItemTypeElement, CSiProgram.eItemTypeElm>(itemType)); if (throwCurrentApiException(_callCode)) { throw new CSiException(); } temperatureLoadType = new eLoadTemperatureType[names.Length - 1]; for (int i = 0; i < names.Length; i++) { temperatureLoadType[i] = eLoadTemperatureType.Temperature; } }