public static List <LeftMatchLineLabel> GetLeftMatchLineLabels(Autodesk.AutoCAD.DynamoNodes.Document document) { List <LeftMatchLineLabel> retLabels = new List <LeftMatchLineLabel>(); foreach (DBObject dbObj in GetLabelStylesAsDBObjects(document, CivilDocument.GetCivilDocument(document.AcDocument.Database).Styles.LabelStyles.MatchLineLabelStyles.LeftLabelStyles)) { LeftMatchLineLabel labelObject = new LeftMatchLineLabel(dbObj, false); retLabels.Add(labelObject); } return(retLabels); }
public static LeftMatchLineLabel ByName(Autodesk.AutoCAD.DynamoNodes.Document document, string labelStyleName) { LeftMatchLineLabel retLabel = new LeftMatchLineLabel(DBObjectByName(document, CivilDocument.GetCivilDocument(document.AcDocument.Database).Styles.LabelStyles.MatchLineLabelStyles.LeftLabelStyles, labelStyleName), false); return(retLabel); }
public static LeftMatchLineLabel ByIndex(Autodesk.AutoCAD.DynamoNodes.Document document, int index) { LeftMatchLineLabel retLabel = new LeftMatchLineLabel(DBObjectByIndex(document, CivilDocument.GetCivilDocument(document.AcDocument.Database).Styles.LabelStyles.MatchLineLabelStyles.LeftLabelStyles, index), false); return(retLabel); }