27 lines
630 B
C#
27 lines
630 B
C#
|
|
using Autodesk.Revit.DB;
|
|||
|
|
|
|||
|
|
using System;
|
|||
|
|
using System.Runtime.CompilerServices;
|
|||
|
|
|
|||
|
|
namespace ShowGridNumber
|
|||
|
|
{
|
|||
|
|
public class DrawElement
|
|||
|
|
{
|
|||
|
|
public Element DrawElem { get; private set; }
|
|||
|
|
|
|||
|
|
public ElemType DrawElemType { get; private set; }
|
|||
|
|
|
|||
|
|
public bool InLinkDoc { get; private set; }
|
|||
|
|
|
|||
|
|
public Curve LinkGridCurve { get; private set; }
|
|||
|
|
|
|||
|
|
public DrawElement(Element elem, ElemType type, bool bLink, Curve cvGrid)
|
|||
|
|
{
|
|||
|
|
this.DrawElem = elem;
|
|||
|
|
this.DrawElemType = type;
|
|||
|
|
this.InLinkDoc = bLink;
|
|||
|
|
this.LinkGridCurve = cvGrid;
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|