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.
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 [!:Autodesk::Revit::DB::IModelExportContext] and its methods which handle geometric objects such as [!:Autodesk::Revit::DB::IModelExportContext::OnCurve], [!:Autodesk::Revit::DB::IModelExportContext::OnLineSegment], etc. LineProperties are available as a read-only property on the respective output nodes, i.e. [!:Autodesk::Revit::DB::CurveNode], [!:Autodesk::Revit::DB::LineSegment], etc.
For more about using properties of this class refer to the interface [!:Autodesk::Revit::DB::IModelExportContext] and its methods which handle geometric objects such as [!:Autodesk::Revit::DB::IModelExportContext::OnCurve], [!:Autodesk::Revit::DB::IModelExportContext::OnLineSegment], etc. LineProperties are available as a read-only property on the respective output nodes, i.e. [!:Autodesk::Revit::DB::CurveNode], [!:Autodesk::Revit::DB::LineSegment], etc.
Inheritance Hierarchy:
System.Object
Autodesk.Revit.DB.LineProperties
System.Object
Autodesk.Revit.DB.LineProperties
public class LineProperties : IDisposable
| Name | Return Type | Description |
|---|---|---|
| Dispose() | None | Releases all resources used by the |
| Name | Return Type | Description |
|---|---|---|
| Color | Color | The current color used when drawing lines/curves. |
| IsValidObject | bool | Specifies whether the .NET object represents a valid Revit entity. |
| LineWidth | double | The current width (thickness) of the pen stroke when drawing lines/curves. |
| PatternId | ElementId | Id of the current Line pattern element used when drawing lines/curves. |
| Transparency | int | The current transparency level to be applied to the current color. |