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

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

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

            return(retLabel);
        }