Exemple #1
0
        public static List <CivilDynamoTools.LabelStyles.Alignments.AlignmentSpiralLabel> GetAlignmentSpiralLabels(Autodesk.AutoCAD.DynamoNodes.Document document)
        {
            List <CivilDynamoTools.LabelStyles.Alignments.AlignmentSpiralLabel> retLabels = new List <CivilDynamoTools.LabelStyles.Alignments.AlignmentSpiralLabel>();

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

            return(retLabel);
        }
Exemple #3
0
        public static AlignmentSpiralLabel ByIndex(Autodesk.AutoCAD.DynamoNodes.Document document, int index)
        {
            AlignmentSpiralLabel retLabel = new AlignmentSpiralLabel(DBObjectByIndex(document, CivilDocument.GetCivilDocument(document.AcDocument.Database).Styles.LabelStyles.AlignmentLabelStyles.SpiralLabelStyles, index), false);

            return(retLabel);
        }