Author Topic: Tab Loop help needed  (Read 2044 times)

0 Members and 1 Guest are viewing this topic.

Matersammichman

  • Guest
Tab Loop help needed
« on: May 22, 2006, 02:48:47 PM »
I need to be able to loop through any number of PS tabs to perform a function.
Anyone got a blurb of code I can rip?

Jeff_M

  • King Gator
  • Posts: 4096
  • C3D user & customizer
Re: Tab Loop help needed
« Reply #1 on: May 22, 2006, 02:55:45 PM »
For Each oLayout In ThisDrawing.Layouts
  If oLayout.Name <> "Model" Then
    'Do whatever, like assess the objects in the layout
    ForEach oEnt in oLayout.Block
      'Do whatevber with the ents
    Next
  End If
Next

Matersammichman

  • Guest
Re: Tab Loop help needed
« Reply #2 on: May 23, 2006, 09:51:43 AM »
Thanks Jeff!