Anuncios
Welcome to the Revit Ideas Board! Before posting, please read the helpful tips here. Thank you for your Ideas!

View Scale Enum for API

The API should have enums for Imperial and Metric view scales. When I want to code a UI that lists the view scales that are shown in the Revit UI, it would be great to not have to do the whole thing from scratch. So please add some enums like this

 

        public enum ViewScaleImperial
        {
            [Description("3/4\" = 1'-0\"")]
            ThreeQuarters = 16,
            [Description("1/2\" = 1'-0\"")]
            OneHalf = 24,
            [Description("3/8\" = 1'-0\"")]
            ThreeEighths = 32,