示例#1
0
        private bool InternReadTables(ref string nrstrErrMsg)
        {
            nrstrErrMsg = null;
            mobjTableVPort.Init(ref mobjAcadDatabase, ref mobjDictReadCodes, ref mobjDictReadValues);
            mobjTableLType.Init(ref mobjAcadDatabase, ref mobjDictReadCodes, ref mobjDictReadValues);
            mobjTableLayer.Init(ref mobjAcadDatabase, ref mobjDictReadCodes, ref mobjDictReadValues);
            mobjTableStyle.Init(ref mobjAcadDatabase, ref mobjDictReadCodes, ref mobjDictReadValues);
            mobjTableView.Init(ref mobjAcadDatabase, ref mobjDictReadCodes, ref mobjDictReadValues);
            mobjTableUCS.Init(ref mobjAcadDatabase, ref mobjDictReadCodes, ref mobjDictReadValues);
            mobjTableAppid.Init(ref mobjAcadDatabase, ref mobjDictReadCodes, ref mobjDictReadValues);
            mobjTableDimStyle.Init(ref mobjAcadDatabase, ref mobjDictReadCodes, ref mobjDictReadValues);
            mobjTableBlockRecord.Init(ref mobjAcadDatabase, ref mobjDictReadCodes, ref mobjDictReadValues);
            if (mobjTableAppid.Read(ref nrstrErrMsg) && mobjTableLType.Read(ref nrstrErrMsg) && mobjTableStyle.Read(ref nrstrErrMsg) && mobjTableUCS.Read(ref nrstrErrMsg) && mobjTableLayer.Read(ref nrstrErrMsg) && mobjTableBlockRecord.Read(ref nrstrErrMsg) && mobjTableDimStyle.Read(ref nrstrErrMsg) && mobjTableVPort.Read(ref nrstrErrMsg) && mobjTableView.Read(ref nrstrErrMsg))
            {
                return(true);
            }
            bool InternReadTables = default(bool);

            return(InternReadTables);
        }
示例#2
0
 private void InternListSection(ref int rlngIdx)
 {
     mobjTableVPort       = null;
     mobjTableLType       = null;
     mobjTableLayer       = null;
     mobjTableStyle       = null;
     mobjTableView        = null;
     mobjTableUCS         = null;
     mobjTableAppid       = null;
     mobjTableDimStyle    = null;
     mobjTableBlockRecord = null;
     mobjTableVPort       = new TableVPort();
     mobjTableLType       = new TableLType();
     mobjTableLayer       = new TableLayer();
     mobjTableStyle       = new TableStyle();
     mobjTableView        = new TableView();
     mobjTableUCS         = new TableUCS();
     mobjTableAppid       = new TableAppid();
     mobjTableDimStyle    = new TableDimStyle();
     mobjTableBlockRecord = new TableBlockRecord();
     mobjTableVPort.Init(ref mobjAcadDatabase, ref mobjDictReadCodes, ref mobjDictReadValues);
     mobjTableLType.Init(ref mobjAcadDatabase, ref mobjDictReadCodes, ref mobjDictReadValues);
     mobjTableLayer.Init(ref mobjAcadDatabase, ref mobjDictReadCodes, ref mobjDictReadValues);
     mobjTableStyle.Init(ref mobjAcadDatabase, ref mobjDictReadCodes, ref mobjDictReadValues);
     mobjTableView.Init(ref mobjAcadDatabase, ref mobjDictReadCodes, ref mobjDictReadValues);
     mobjTableUCS.Init(ref mobjAcadDatabase, ref mobjDictReadCodes, ref mobjDictReadValues);
     mobjTableAppid.Init(ref mobjAcadDatabase, ref mobjDictReadCodes, ref mobjDictReadValues);
     mobjTableDimStyle.Init(ref mobjAcadDatabase, ref mobjDictReadCodes, ref mobjDictReadValues);
     mobjTableBlockRecord.Init(ref mobjAcadDatabase, ref mobjDictReadCodes, ref mobjDictReadValues);
     mobjTableVPort.ListTable(ref rlngIdx);
     mobjTableLType.ListTable(ref rlngIdx);
     mobjTableLayer.ListTable(ref rlngIdx);
     mobjTableStyle.ListTable(ref rlngIdx);
     mobjTableView.ListTable(ref rlngIdx);
     mobjTableUCS.ListTable(ref rlngIdx);
     mobjTableAppid.ListTable(ref rlngIdx);
     mobjTableDimStyle.ListTable(ref rlngIdx);
     mobjTableBlockRecord.ListTable(ref rlngIdx);
 }