SolidOptions
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: 25.0.0.0 (25.0.0.0)
Syntax
public class SolidOptions : IDisposableThe SolidOptions type exposes the following members.
Constructors
Name
Description
Public Method
SolidOptions
Creates a new SolidOptions class with material and graphics style settings.
Properties
Name
Description
Public Property
ExtraFaceAndEdgeHistoryKey
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 Property
GraphicsStyleId
Defines the graphics style id for the Solid.
Public Property
IsValidObject
Specifies whether the .NET object represents a valid Revit entity.
Public Property
MaterialId
Defines the material id for the Solid.
Methods
Name
Description
Public Method
Dispose
Releases all resources used by the SolidOptions
Public Method
Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object)
Public Method
GetHashCode
Serves as the default hash function.
(Inherited from Object)
Public Method
GetType
Gets the Type of the current instance.
(Inherited from Object)
Public Method
ToString
Returns a string that represents the current object.
(Inherited from Object)