public Intersect_event(CheckIntersectcmd data, Document doc, Interference_Report form, FrmCheck frmCheck)
 {
     this._data     = data;
     this._frmCheck = frmCheck;
     _doc           = doc;
     this._form     = form;
 }
Example #2
0
 public Interference_Report(CheckIntersectcmd data, a.Document doc, FrmCheck frmCheck)
 {
     _data     = data;
     _doc      = doc;
     _frmCheck = frmCheck;
     InitializeComponent();
     Removevaluecontains();
 }
        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));
            }
        }
 public Get_info(Document doc, CheckIntersectcmd command)
 {
     Getallassembly(doc, command);
 }
Example #5
0
 public FrmCheck(CheckIntersectcmd data, a.Document doc)
 {
     _doc  = doc;
     _data = data;
     InitializeComponent();
 }