Share

SolidOptions Class

A class containing optional information to control the properties of the Solid generated by the GeometryCreationUtilities routines.

Inheritance Hierarchy

System.Object
  Autodesk.Revit.DB.SolidOptions


Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)

Syntax

C#

public class SolidOptions : IDisposable

The SolidOptions type exposes the following members.

Constructors

 NameDescription
Public methodSolidOptions Creates a new SolidOptions class with material and graphics style settings.

Properties

 NameDescription
Public propertyExtraFaceAndEdgeHistoryKey Optional extra key used to create face and edge histories for the Solid. If extraFaceAndEdgeHistoryKey is higher than -1, the Solid's face and edge histories will be created depending on the geometry generation of the Solid.
Public propertyGraphicsStyleId Defines the graphics style id for the Solid.
Public propertyIsValidObject Specifies whether the .NET object represents a valid Revit entity.
Public propertyMaterialId Defines the material id for the Solid.

Methods

 NameDescription
Public methodDisposeReleases all resources used by the SolidOptions
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)

See Also

Reference

Was this information helpful?