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); }
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); }
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); }