public static List <QTOMaterialTable> GetQTOMaterialTables(Autodesk.AutoCAD.DynamoNodes.Document document)
        {
            List <QTOMaterialTable> retList = new List <QTOMaterialTable>();

            foreach (DBObject dbOb in GetStylesAsDBObjects(document, CivilDocument.GetCivilDocument(document.AcDocument.Database).Styles.TableStyles.QuantityTakeoffMaterialTableStyles))
            {
                QTOMaterialTable style = new QTOMaterialTable(dbOb, false);
                retList.Add(style);
            }
            return(retList);
        }
        public static QTOMaterialTable ByName(Autodesk.AutoCAD.DynamoNodes.Document document, string styleName)
        {
            QTOMaterialTable retStyle = new QTOMaterialTable(CivilStyle.DBObjectByName(document, CivilDocument.GetCivilDocument(document.AcDocument.Database).Styles.TableStyles.QuantityTakeoffMaterialTableStyles, styleName), false);

            return(retStyle);
        }