Esempio n. 1
0
        public static List <CivilDynamoTools.LabelStyles.Alignments.Station.VerticalGeometryPointLabel> GetVerticalGeometryPointLabels(Autodesk.AutoCAD.DynamoNodes.Document document)
        {
            List <CivilDynamoTools.LabelStyles.Alignments.Station.VerticalGeometryPointLabel> retLabels = new List <CivilDynamoTools.LabelStyles.Alignments.Station.VerticalGeometryPointLabel>();

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

            return(retLabel);
        }