Click or drag to resize

StructuralSurfaceMemberColor Property

[This is preliminary documentation and is subject to change.]

The color of the object. Primarily used when exporting to BIM+

Namespace:  ModelExchanger.AnalysisDataModel.StructuralElements
Assembly:  ModelExchanger.AnalysisDataModel (in ModelExchanger.AnalysisDataModel.dll) Version: 1.13.0+Branch.master.Sha.d583fc64569355d188a9c0818d257b6d0d3e1339
Syntax
C#
public uint? Color { get; set; }

Property Value

Type: NullableUInt32

Implements

IHasColorColor
Examples
(uint)System.Color.Green.ToArgb();
string color = "#000000FF";
int argb = Int32.Parse(color.Replace("#", ""), NumberStyles.HexNumber);
Color clr = Color.FromArgb(argb);
(uint)clr.ToArgb();
See Also