Selecting Layouts

Discussion in 'AutoCAD' started by gilchrist8253, Aug 11, 2004.

  1. Does anyone know a line of code to select a named layout tab? Thanks for your help.
     
    gilchrist8253, Aug 11, 2004
    #1
  2. gilchrist8253

    TomD Guest

    your help.

    Dim oLayout as AcadLayout
    Set oLayout = ThisDrawing.Layouts("MyLayout")

    ....Is that what you mean?
     
    TomD, Aug 11, 2004
    #2
  3. gilchrist8253

    MP Guest

    or maybe
    Set ThisDrawing.ActiveLayout = ThisDrawing.Layouts("MyLayout")
     
    MP, Aug 11, 2004
    #3
  4. Yes, thanks Tom. This is what I mean. I am not very familiar with the AutoCAD Library yet......this helps me.
     
    gilchrist8253, Aug 11, 2004
    #4
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.