Пример #1
0
        public static List <AlignmentLineTable> GetAlignmentLineTables(Autodesk.AutoCAD.DynamoNodes.Document document)
        {
            List <AlignmentLineTable> retList = new List <AlignmentLineTable>();

            foreach (DBObject dbOb in GetStylesAsDBObjects(document, CivilDocument.GetCivilDocument(document.AcDocument.Database).Styles.TableStyles.AlignmentLineTableStyles))
            {
                AlignmentLineTable style = new AlignmentLineTable(dbOb, false);
                retList.Add(style);
            }
            return(retList);
        }
Пример #2
0
        public static AlignmentLineTable ByName(Autodesk.AutoCAD.DynamoNodes.Document document, string styleName)
        {
            AlignmentLineTable retStyle = new AlignmentLineTable(CivilStyle.DBObjectByName(document, CivilDocument.GetCivilDocument(document.AcDocument.Database).Styles.TableStyles.AlignmentLineTableStyles, styleName), false);

            return(retStyle);
        }
Пример #3
0
        public static AlignmentLineTable ByIndex(Autodesk.AutoCAD.DynamoNodes.Document document, int index)
        {
            AlignmentLineTable retStyle = new AlignmentLineTable(CivilStyle.DBObjectByIndex(document, CivilDocument.GetCivilDocument(document.AcDocument.Database).Styles.TableStyles.AlignmentLineTableStyles, index), false);

            return(retStyle);
        }