コード例 #1
0
        public static List <AlignmentSpiralTable> GetAlignmentSpiralTables(Autodesk.AutoCAD.DynamoNodes.Document document)
        {
            List <AlignmentSpiralTable> retList = new List <AlignmentSpiralTable>();

            foreach (DBObject dbOb in GetStylesAsDBObjects(document, CivilDocument.GetCivilDocument(document.AcDocument.Database).Styles.TableStyles.AlignmentSpiralTableStyles))
            {
                AlignmentSpiralTable style = new AlignmentSpiralTable(dbOb, false);
                retList.Add(style);
            }
            return(retList);
        }
コード例 #2
0
        public static AlignmentSpiralTable ByName(Autodesk.AutoCAD.DynamoNodes.Document document, string styleName)
        {
            AlignmentSpiralTable retStyle = new AlignmentSpiralTable(CivilStyle.DBObjectByName(document, CivilDocument.GetCivilDocument(document.AcDocument.Database).Styles.TableStyles.AlignmentSpiralTableStyles, styleName), false);

            return(retStyle);
        }
コード例 #3
0
        public static AlignmentSpiralTable ByIndex(Autodesk.AutoCAD.DynamoNodes.Document document, int index)
        {
            AlignmentSpiralTable retStyle = new AlignmentSpiralTable(CivilStyle.DBObjectByIndex(document, CivilDocument.GetCivilDocument(document.AcDocument.Database).Styles.TableStyles.AlignmentSpiralTableStyles, index), false);

            return(retStyle);
        }