2027 Class
Changes 0
C

LineProperties

Description:
A structure that has access to the pen properties of lines/curves that are currently being drawn/exported via an export context during a custom export process.
Remarks:
For more about using properties of this class refer to the interface IModelExportContext and its methods which handle geometric objects such as OnCurve(CurveNode), OnLineSegment(LineSegment), etc. LineProperties are available as a read-only property on the respective output nodes, i.e. CurveNode, LineSegment, etc.
Inheritance Hierarchy:
System.Object
  Autodesk.Revit.DB.LineProperties
public class LineProperties : IDisposable
Name Return Type Description Inherited From
M Dispose() None Releases all resources used by the LineProperties
M Equals None Determines whether the specified object is equal to the current object. (Inherited from Object ) Object
M GetHashCode None Serves as the default hash function. (Inherited from Object ) Object
M GetType None Gets the Type of the current instance. (Inherited from Object ) Object
M ToString None Returns a string that represents the current object. (Inherited from Object ) Object
Name Return Type Description Inherited From
P Color Color The current color used when drawing lines/curves.
P IsValidObject Boolean Specifies whether the .NET object represents a valid Revit entity.
P LineWidth double The current width (thickness) of the pen stroke when drawing lines/curves.
P PatternId ElementId Id of the current Line pattern element used when drawing lines/curves.
P Transparency int The current transparency level to be applied to the current color.