Message 1 of 9
I can't find sub class parameter in ThermalAsset that i created

Not applicable
05-22-2018
02:39 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello ,
I try to create a new ThermalAsset and i try to bindit to my matreial but when i want to set value to subclass parameters he can't find this property on this asset this my code can you help me please ?
ThermalAsset thermal = new ThermalAsset(matName.TrimEnd(), ThermalMaterialType.Solid) { TransmitsLight = false, Permeability = permeabilite, Porosity = materiallocale.thermal_Porosite, Reflectivity = materiallocale.thermal_Reflectivite, ElectricalResistivity = electrique, SpecificHeat = heat, Density = density, ThermalConductivity = condivite, Emissivity = materiallocale.thermal_emissivite, }; pst.get_Parameter(BuiltInParameter.PHY_MATERIAL_PARAM_SUBCLASS).Set(materiallocale.thermal_subclass); pst.get_Parameter(BuiltInParameter.PROPERTY_SET_KEYWORDS).Set(materiallocale.keynote); pst.get_Parameter(BuiltInParameter.MATERIAL_ASSET_PARAM_SOURCE).Set(materiallocale.thermal_source);