ModelUnitSystem

ModelValueReferences
[TypeName("Unit System")] [TypeDescription("Rhino Unit System")] public sealed class ModelUnitSystem : ModelValue
Represents a Rhino Unit System. Wraps the functionality of the UnitSystem type.

Constructors

ModelUnitSystem

#
public ModelUnitSystem()

ModelUnitSystem

#
public ModelUnitSystem(
space,
document
)

ModelUnitSystem

#
public ModelUnitSystem(
Value
attributes
)

Properties

ActiveSpace

#
public ActiveSpace ActiveSpace { get; }

BaseSystem

#
public UnitSystem BaseSystem { get; }

DisplayName

#
[Browsable(false)] public override string DisplayName { get; }

Factor

#
public double Factor { get; }

IsValid

#
public override bool IsValid { get; }

IsValidWhyNot

protected virtual string IsValidWhyNot { get; }
inherited fromModelValue
IsValidWhyNot

MetersPerUnit

#
public double MetersPerUnit { get; }

Name

#
public string Name { get; }

TypeDescription

protected string TypeDescription { get; }
inherited fromModelValue
TypeDescription

TypeName

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

Methods

AdjustDocumentUnitSystem

#
public void AdjustDocumentUnitSystem(
document,
space,
scale = false
)

Cast

#
public static ModelUnitSystem Cast(
source
)

CastTo<T>

#
public override bool CastTo<T>(
ref T
target
)

Clone

protected virtual object Clone()
inherited fromModelValue

Copy

#
public static void Copy(
source,
target,
space
)

Equals

#
public override bool Equals(
other
)
Object.Equals

GetHashCode

#
public override int GetHashCode()

Read

#
protected internal override bool Read(
reader
)
ModelValue.Read

ScriptVariable

#
protected internal override object ScriptVariable()

TooltipString

#
public override string TooltipString()

ToString

public override string ToString()
inherited fromModelValue
Object.ToString

Write

#
protected internal override bool Write(
writer
)
ModelValue.Write

Convertors