Results 1 to 3 of 3

Thread: Views and Scale

  1. #1
    Member
    Join Date
    2013-12
    Posts
    2
    Login to Give a bone
    0

    Default Views and Scale

    Hi,
    I am new to the Revit API (C# Revit 2013) and am trying to get the current "Scale" value of a view (1" = 1'-0" == 12, etc.). I have gotten the Scale index (integer) from View.Scale, so I am assuming that there is a list somewhere to bounce it off of to get the real numerical value? Please correct me if this is a faulty assumption - I tried all the built-in parameters that made sense (VIEW_SCALE, etc) but they all returned null or 0.... So if there is a list of values how do I get it, or is there another method to resolve the scale value?

    Any help greatly appreciated. Thanks,
    tc

  2. #2
    Member
    Join Date
    2012-09
    Posts
    34
    Login to Give a bone
    0

    Default Re: Views and Scale

    View.Scale is not an index - it is in fact the actual scale of the view.

    If the value of View.Scale is 100, then the scale is 1:100. If the value of View.Scale is 1, the scale is 1:1.

    Sometimes (not often) the solution is easier than what you expect it to be!

  3. #3
    Member
    Join Date
    2013-12
    Posts
    2
    Login to Give a bone
    0

    Default Re: Views and Scale

    Ha, Face Palm! (Don't test code in views with 1:1)
    Thank You!

Similar Threads

  1. 2012: Scale in 3D views
    By rudolfweyers346383 in forum Revit Architecture - General
    Replies: 0
    Last Post: 2011-10-06, 07:45 AM
  2. Views VG and scale
    By 3dway in forum Revit Architecture - General
    Replies: 9
    Last Post: 2008-08-22, 03:34 PM
  3. Scale for 3D Views?
    By Matt Brennan in forum Revit Architecture - General
    Replies: 1
    Last Post: 2008-04-05, 02:52 AM
  4. Global Scale of Views?
    By saeborne in forum Revit Architecture - General
    Replies: 1
    Last Post: 2007-02-22, 09:01 PM
  5. Scale of rendered views
    By swissclive54638 in forum Revit Architecture - General
    Replies: 5
    Last Post: 2004-08-17, 04:05 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •