public static List <MinorStationLabel> GetProfileLabels(Autodesk.AutoCAD.DynamoNodes.Document document)
        {
            List <MinorStationLabel> retLabels = new List <MinorStationLabel>();

            foreach (DBObject dbObj in GetLabelStylesAsDBObjects(document, CivilDocument.GetCivilDocument(document.AcDocument.Database).Styles.LabelStyles.ProfileLabelStyles.MinorStationLabelStyles))
            {
                MinorStationLabel labelObject = new MinorStationLabel(dbObj, false);
                retLabels.Add(labelObject);
            }
            return(retLabels);
        }
        public static MinorStationLabel ByName(Autodesk.AutoCAD.DynamoNodes.Document document, string labelStyleName)
        {
            MinorStationLabel retLabel = new MinorStationLabel(DBObjectByName(document, CivilDocument.GetCivilDocument(document.AcDocument.Database).Styles.LabelStyles.ProfileLabelStyles.MinorStationLabelStyles, labelStyleName), false);

            return(retLabel);
        }
        public static MinorStationLabel ByIndex(Autodesk.AutoCAD.DynamoNodes.Document document, int index)
        {
            MinorStationLabel retLabel = new MinorStationLabel(DBObjectByIndex(document, CivilDocument.GetCivilDocument(document.AcDocument.Database).Styles.LabelStyles.ProfileLabelStyles.MinorStationLabelStyles, index), false);

            return(retLabel);
        }