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