AnnotationUnitsSettings

ModelDataReferences
[TypeName("Units Settings")] [TypeDescription("Rhino annotation units settings")] public sealed class AnnotationUnitsSettings : ModelData
Represents annotation units settings.

Constructors

AnnotationUnitsSettings

#
public AnnotationUnitsSettings()

AnnotationUnitsSettings

#
public AnnotationUnitsSettings(Attributes attributes)
attributes (AnnotationUnitsSettings.Attributes)

AnnotationUnitsSettings

#
public AnnotationUnitsSettings(DimensionStyle dimStyle)
dimStyle (DimensionStyle)

Fields

Serial

protected internal int Serial
inherited fromModelData

Properties

AngleFormat

#
public DimensionStyle.AngleDisplayFormat? AngleFormat { get; }

AngleResolution

#
public int? AngleResolution { get; }

AngleRoundoff

#
public double? AngleRoundoff { get; }

AngleZeroSuppression

#
public DimensionStyle.ZeroSuppression? AngleZeroSuppression { get; }

Attribs

#
protected AnnotationUnitsSettings.Attributes Attribs { get; set; }

DefaultAttributes

#
protected override ModelData.Attributes DefaultAttributes { get; }

DisplayName

[Browsable(false)] public string DisplayName { get; }
inherited fromModelData
DisplayName

IsValid

[Browsable(false)] public virtual bool IsValid { get; }
inherited fromModelData
IsValid

IsValidWhyNot

protected virtual string IsValidWhyNot { get; }
inherited fromModelData
IsValidWhyNot

LengthDisplay

#
public DimensionStyle.LengthDisplay? LengthDisplay { get; }

LengthFactor

#
public double? LengthFactor { get; }

LengthPrefix

#
public string LengthPrefix { get; }

LengthResolution

#
public int? LengthResolution { get; }

LengthRoundoff

#
public double? LengthRoundoff { get; }

LengthSuffix

#
public string LengthSuffix { get; }

LengthZeroSuppression

#
public DimensionStyle.ZeroSuppression? LengthZeroSuppression { get; }

StackFractionFormat

#
public DimensionStyle.StackDisplayFormat? StackFractionFormat { get; }

StackHeightScale

#
public double? StackHeightScale { get; }

TypeDescription

protected string TypeDescription { get; }
inherited fromModelData
TypeDescription

TypeName

[Browsable(false)] public virtual string TypeName { get; }
inherited fromModelData
TypeName

Methods

CastTo<T>

public virtual bool CastTo<T>(ref T target)
inherited fromModelData
target (ref T)
CastTo

Equals

public bool Equals(ModelData other)
inherited fromModelData
other (ModelData)

Equals

public override bool Equals(object other)
inherited fromModelData
other (object)
Object.Equals

GetDimensionStyle

#
public void GetDimensionStyle(ref DimensionStyle baseDimensionStyle = null)
baseDimensionStyle (ref DimensionStyle = null)

GetHashCode

public override int GetHashCode()
inherited fromModelData

Read

protected virtual bool Read(GH_IReader reader)
inherited fromModelData
reader (GH_IReader)
Read

ToAttributes

#
public AnnotationUnitsSettings.Attributes ToAttributes()

ToDetails

public string ToDetails()
inherited fromModelData

TooltipString

public virtual string TooltipString()
inherited fromModelData
ToString

ToString

public override string ToString()
inherited fromModelData
Object.ToString

Write

protected virtual bool Write(GH_IWriter writer)
inherited fromModelData
writer (GH_IWriter)
Write

Convertors