[TypeName("Model Section Style")] [TypeDescription("Rhino model section style")] public sealed class ModelSectionStyle : ModelComponentContent, IGH_BakeAwareData
Represents a Rhino model section style. Wraps the functionality of the SectionStyle type.

Constructors

ModelSectionStyle

#
public ModelSectionStyle()

ModelSectionStyle

#
public ModelSectionStyle(
Attributes
attributes
)

ModelSectionStyle

#
public ModelSectionStyle(
id
)

ModelSectionStyle

#
public ModelSectionStyle(
sectionStyle
)

Fields

Serial

protected internal int Serial
inherited fromModelData

Properties

Attribs

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

BackgroundFillColor

#
public Color? BackgroundFillColor { get; }

BackgroundFillMode

#
public SectionBackgroundFillMode? BackgroundFillMode { get; }

BackgroundFillPrintColor

#
public Color? BackgroundFillPrintColor { get; }

BoundaryColor

#
public Color? BoundaryColor { get; }

BoundaryLinetype

#
public ModelLinetype BoundaryLinetype { get; }

BoundaryLineWeight

#
public double? BoundaryLineWeight { get; }

BoundaryPrintColor

#
public Color? BoundaryPrintColor { get; }

DefaultAttributes

#
protected override ModelData.Attributes DefaultAttributes { get; }

DisplayName

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

HatchPattern

#
public ModelHatchPattern HatchPattern { get; }

HatchPatternColor

#
public Color? HatchPatternColor { get; }

HatchPatternLineWeight

#
public double? HatchPatternLineWeight { get; }

HatchPatternPrintColor

#
public Color? HatchPatternPrintColor { get; }

HatchRotation

#
public double? HatchRotation { get; }

HatchScale

#
public double? HatchScale { get; }

Id

public Guid? Id { get; }
inherited fromModelContent

IsBoundaryVisible

#
public bool? IsBoundaryVisible { get; }

IsReferencedData

protected bool IsReferencedData { get; }
inherited fromModelContent
IsReferencedData

IsReferencedDataLoaded

protected bool IsReferencedDataLoaded { get; }
inherited fromModelContent

IsValid

public override bool IsValid { get; }
inherited fromModelContent

IsValidWhyNot

protected override string IsValidWhyNot { get; }
inherited fromModelContent

Name

#
public override ModelContentName Name { get; }

Notes

public string Notes { get; }
inherited fromModelContent

Parent

public ModelContentName Parent { get; }
inherited fromModelContent

SectionFillRule

#
public ObjectSectionFillRule? SectionFillRule { get; }

Tags

public ModelTags Tags { get; }
inherited fromModelContent

TypeDescription

protected string TypeDescription { get; }
inherited fromModelData
TypeDescription

TypeName

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

UserText

public ModelUserText UserText { get; }
inherited fromModelComponentContent

Methods

AsFrozen

Try to obtain a dereferenced snapshot of itself.
public ModelContent AsFrozen(
deep = true
Determines whether or not referenced content should also be frozen.
)
inherited fromModelContent
Itself if it is already dereferenced.
Explicit

IGH_BakeAwareData.BakeGeometry

#
bool BakeGeometry(
doc,
att,
ref Guid
obj_guid
)
BakeGeometry

Cast

#
public static ModelSectionStyle Cast(
source
)

CastTo<T>

public override bool CastTo<T>(
ref T
target
)
inherited fromModelContent
ModelData.CastTo

Equals

public bool Equals()
inherited fromModelContent

Equals

public bool Equals(
other
)
inherited fromModelData

Equals

public override bool Equals(
other
)
inherited fromModelContent
ModelData.Equals

GetHashCode

public override int GetHashCode()
inherited fromModelContent

InternaliseData

protected bool InternaliseData()
inherited fromModelContent

LoadReferencedData

protected virtual bool LoadReferencedData()
inherited fromModelContent
LoadReferencedData

Read

protected override bool Read(
reader
)
inherited fromModelContent
ModelData.Read
Read

RenderItem

#
protected override bool RenderItem(
graphics,
area,
alpha
)

RuntimeId

protected internal Guid? RuntimeId(
document
)
inherited fromModelContent

ToAttributes

#
public ModelSectionStyle.Attributes ToAttributes()

ToDetails

public string ToDetails()
inherited fromModelData

TooltipString

public override string TooltipString()
inherited fromModelContent

ToString

public override string ToString()
inherited fromModelContent

UnloadReferencedData

protected virtual void UnloadReferencedData()
inherited fromModelContent

Write

protected override bool Write(
writer
)
inherited fromModelContent
ModelData.Write
Write

Convertors