The CutMarkSymbol
class is part of the Autodesk.Revit.DB.Architecture
namespace in the Revit API. It represents a symbol used to annotate a graphical representation of a cut view or section view within a Revit model.
The following properties are available on a CutMarkSymbol
object:
CutMarkSymbol.Filled
: Indicates whether the symbol is filled or not.CutMarkSymbol.RotationAngle
: The angle (in degrees) used to rotate the symbol.The CutMarkSymbol
class does not have any methods.
The CutMarkSymbol
class has one constructor available:
CutMarkSymbol(bool filled)
: Creates a new instance of CutMarkSymbol
with the specified value indicating whether the symbol should be filled or not.CutMarkSymbol
object// Create a new filled CutMarkSymbol object
CutMarkSymbol symbol = new CutMarkSymbol(true);
CutMarkSymbol
object// Set the rotation angle of the symbol to 45 degrees
symbol.RotationAngle = 45;
CutMarkSymbol
objectbool isFilled = symbol.Filled;
The CutMarkSymbol
class is used in conjunction with the SectionView
and DraftingView
classes in the Revit API to create graphical representations of cut views and section views within a Revit model.