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