AnsweredAssumed Answered

Small  bug .

Question asked by Head1 on May 23, 2010
Latest reply on May 30, 2010 by Head1

Hello everybody,

 

I try to run this little script, but get an error:

    "Incorrect cell for this call. Check the type before making this call."

 

===========================================================

' Print all Cells which are of type  BGA

'

Dim All_Cells
Dim Curr_Cell

 

  Set All_Cells = DocObj.Cells
 
     For Each Curr_Cell In All_Cells
         If (Curr_Cell.PackageGroup) = epcbPackageBGA Then print #1,curr_cell.name
     Next

======================================================================================
    

Thanks to all experts.

 

             Head1

 

Outcomes