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

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

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

            return(retLabel);
        }