Ejemplo n.º 1
0
        public static List <StructureTable> GetStructureTables(Autodesk.AutoCAD.DynamoNodes.Document document)
        {
            List <StructureTable> retList = new List <StructureTable>();

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

            return(retStyle);
        }
Ejemplo n.º 3
0
        public static StructureTable ByIndex(Autodesk.AutoCAD.DynamoNodes.Document document, int index)
        {
            StructureTable retStyle = new StructureTable(CivilStyle.DBObjectByIndex(document, CivilDocument.GetCivilDocument(document.AcDocument.Database).Styles.TableStyles.StructureTableStyles, index), false);

            return(retStyle);
        }