public Intersect_event(CheckIntersectcmd data, Document doc, Interference_Report form, FrmCheck frmCheck)
 {
     this._data     = data;
     this._frmCheck = frmCheck;
     _doc           = doc;
     this._form     = form;
 }
Exemplo n.º 2
0
 public Interference_Report(CheckIntersectcmd data, a.Document doc, FrmCheck frmCheck)
 {
     _data     = data;
     _doc      = doc;
     _frmCheck = frmCheck;
     InitializeComponent();
     Removevaluecontains();
 }
Exemplo n.º 3
0
        void Getallassembly(Document doc, CheckIntersectcmd command)
        {
            FilteredElementCollector col
                = new FilteredElementCollector(doc)
                  .WhereElementIsNotElementType()
                  .OfCategory(BuiltInCategory.OST_Assemblies);

            foreach (var i in col)
            {
                command.ListAssembly.Add(new Data(i.Name, i.Id));
            }
        }
Exemplo n.º 4
0
 public Get_info(Document doc, CheckIntersectcmd command)
 {
     Getallassembly(doc, command);
 }
Exemplo n.º 5
0
 public FrmCheck(CheckIntersectcmd data, a.Document doc)
 {
     _doc  = doc;
     _data = data;
     InitializeComponent();
 }