Beispiel #1
0
 public static void SetMyLevel(FilteredElementCollector levelColls)
 {
     if (_myLevel == null)
     {
         _myLevel = new MyLevel(levelColls);
     }
 }
Beispiel #2
0
 public static void SetFloorTol(double floorTol)
 {
     if (isSet[1])
     {
         return;
     }
     FloorTol = floorTol;
     isSet[1] = true;
     MyLevel.SetFloorTol(floorTol);
 }
Beispiel #3
0
        public static void Output()
        {
            string head = "1\t建筑名称\t" + _addiInfo.bldgName + "\t行数\t" + _num.ToString()
                          + "\t层数\t" + (MyLevel.GetLevelNum() - 1).ToString() + "\t\t\t\t\t\r\n"
                          + "PG名称\t编码\t方向\t是否自定义价格\t拼音后缀\t单价(美元)\t";
            int i = 1;

            while (i < MyLevel.GetLevelNum())
            {
                head += i.ToString() + "\t";
                ++i;
            }
            head      += "\r\n";
            _PGInfo    = head + _PGInfo;
            _fileName += "_" + _addiInfo.rvtFileName + ".txt";
            IOHelper.Output(_PGInfo, _fileName, _directory);
            _PGWriter = null;
        }
Beispiel #4
0
 static PGItem()
 {
     _num_floor = MyLevel.GetLevelNum() - 1;
 }