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