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

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

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

            return(retLabel);
        }