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

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

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

            return(retLabel);
        }