ObjectVisibility

ModelValueReferences
[TypeName("Visibility Attributes")] [TypeDescription("Rhino object visibility attributes")] public sealed class ObjectVisibility : ModelValue
Represents a Rhino object visibility attributes.

Constructors

ObjectVisibility

#
public ObjectVisibility()

ObjectVisibility

#
public ObjectVisibility(Attributes attributes)
attributes (ObjectVisibility.Attributes)

Properties

DisplayName

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

Hidden

#
public bool? Hidden { get; }

IsValid

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

IsValidWhyNot

protected virtual string IsValidWhyNot { get; }
inherited fromModelValue
IsValidWhyNot

Locked

#
public bool? Locked { get; }

TypeDescription

protected string TypeDescription { get; }
inherited fromModelValue
TypeDescription

TypeName

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

Viewport

#
public ModelViewport Viewport { get; }

Methods

AsFrozen

#
protected internal ObjectVisibility AsFrozen()

Cast

#
public static ObjectVisibility Cast(object source)
source (object)

CastTo<T>

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

Clone

protected virtual object Clone()
inherited fromModelValue

Equals

#
public override bool Equals(object other)
other (object)
Object.Equals

GetHashCode

#
public override int GetHashCode()

Read

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

ScriptVariable

#
protected internal override object ScriptVariable()

ToAttributes

#
public ObjectVisibility.Attributes ToAttributes()

ToDetails

#
public string ToDetails()

TooltipString

public virtual string TooltipString()
inherited fromModelValue
ToString

ToString

public override string ToString()
inherited fromModelValue
Object.ToString

Write

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

Convertors

OperationResultDescription
implicitObjectVisibility.AttributesObjectVisibility