Ejemplo n.º 1
0
        public static List <SurveyFigureLineLabel> GetSurveyFigureLineLabels(Autodesk.AutoCAD.DynamoNodes.Document document)
        {
            List <SurveyFigureLineLabel> retLabels = new List <SurveyFigureLineLabel>();

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

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

            return(retLabel);
        }