Trying to return the scale of a drawing view...

Discussion in 'SolidWorks' started by FOSW, Apr 9, 2007.

  1. FOSW

    FOSW Guest

    Hi All...

    I am trying to create an automated note that returns the scale of the
    drawing view that it is attached to.

    I have made many notes in the past to return information such as part
    number, material, etc
    ($PRPMODEL:"Description")

    I can not find any link (in SolidWorks help or API) so the note can
    display the scale of the view.

    Can anyone help me with this?
     
    FOSW, Apr 9, 2007
    #1
  2. I don't think we have access to the drawing view scale as a property - it's
    something that's been on my wish list for years.

    WT
     
    Wayne Tiffany, Apr 9, 2007
    #2
  3. FOSW

    fcsuper Guest

    FOSW,

    I believe this requires the use of a macro to add this value to an
    annotation note attached to your view. I'm not sure if this is
    available previous to 2007, but there is the View::ScaleRatio VBA
    funciton that returns the view scale as a value stated as the
    traditional ratio N:N. The macro would have to first know which view
    you want to do this for, then find the value, and then create the
    text. The draw back is that it will need to be manually run each time
    the view scale changes.

    This seems to me like this may be a case of the cure being worse than
    the disease. I'll hunt around and see if anyone else has a better
    solution.

    Matt
    http://sw.fcsuper.com
     
    fcsuper, Apr 9, 2007
    #3
  4. FOSW

    fcsuper Guest

    fcsuper, Apr 9, 2007
    #4
  5. FOSW

    fcsuper Guest

    fcsuper, May 25, 2007
    #5
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.