Esempio n. 1
0
        public static List <SurveyFigureCurveLabel> GetSurveyFigureCurveLabels(Autodesk.AutoCAD.DynamoNodes.Document document)
        {
            List <SurveyFigureCurveLabel> retLabels = new List <SurveyFigureCurveLabel>();

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

            return(retLabel);
        }
Esempio n. 3
0
        public static SurveyFigureCurveLabel ByIndex(Autodesk.AutoCAD.DynamoNodes.Document document, int index)
        {
            SurveyFigureCurveLabel retLabel = new SurveyFigureCurveLabel(DBObjectByIndex(document, CivilDocument.GetCivilDocument(document.AcDocument.Database).Styles.LabelStyles.GetSurveyLabelStyles().CurveLabelStyles, index), false);

            return(retLabel);
        }