Create Scale Areas with VBA

Discussion in 'AutoCAD' started by Douglas Christensen, Jul 8, 2003.

  1. Does anyone know how - or if it's even possible - to create Scale Areas in
    AutoCAD Mechanical 6 or 2004 with VBA?

    Thanks,
    Douglas
     
    Douglas Christensen, Jul 8, 2003
    #1
  2. Yes I can clarify a scale area. It's a Mechanical Power Pack feature built
    into Mechanical 6 and 2004 that syncronizes a model space area with a paper
    space viewport. When you change the scale in the model space area from a
    scale of 1:4 to 1:2 the linked paper space viewport is updated to a scale of
    1:2 as well. All dimensioning scales are also linked via the model space
    scale area.
     
    Douglas Christensen, Jul 9, 2003
    #2
  3. Douglas Christensen

    Ed Jobe Guest

    Although, I have that program., I don't use it much.
    At the very least, to create a scale area, you could use SendCommand to
    start the AMVPORT command that creates them. If you mean to create one
    programmantically without user intervention, they are just viewport objects.
    I assume that they just have dictionary data attached to them that the
    AMVPORT command uses to do what it needs. So you would have to dig into the
    dictionary data.
     
    Ed Jobe, Jul 9, 2003
    #3
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.