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