[PCB_FORUM] Re: update shapes...

Kevin,

Try this.  There was an error in Dave's routine.

        ext = shp->bbox was changed to ext = shp->bBox

Charlie

axlCmdRegister("ood shapes" 'findOutOfDateShapes ?cmdType "interactive")
defun( findOutOfDateShapes ()
  let(()
    badShps = setof(shp, axlDBGetShapes("BOUNDARY"), shp->bBox && shp->fillOOD)
    oodLog = axlDMOpenLog("ood_shapes")
    fprintf(oodLog "\t\tOut of Date Shapes log\n")
    fprintf(oodLog "\t\t======================\n\n")
    if(badShps then
      fprintf(oodLog "Out of date shapes:\n")
      foreach(shp, badShps
        axlVisibleLayer(shp->layer, t)
        axlHighlightObject(shp)
        exts = shp->bBox
        fprintf(oodLog, "\tLayer: %s, Net: %s, Location: %L", shp->layer,
shp->net ->name
          list((caar(exts) + caadr(exts)) / 2.0, (cadar(exts) + cadadr(exts)) /
2.0)
        )
      )
      when(onep(length(badShps)), axlZoomToDbid(car(badShps), nil))
    else 
      fprintf(oodLog "No out of date shapes found.\n")
    )
    axlDMClose(oodLog)
    axlUIViewFileCreate("ood_shapes.log" "Out of Date Shapes Log" nil)
  )
)

-----Original Message-----
From: Kevin McCowan [mailto:kmccowan@xxxxxxxxxxxxxx] 
Sent: Wednesday, December 22, 2004 9:04 AM
To: icu-pcb-forum@xxxxxxxxxxxxx
Subject: [PCB_FORUM] Re: update shapes...


Apparently in 15.1 this is not the case.
I cannot wait until I can upgrade.
This was a bad time to let maintenance expire...
Oh, well, maybe next year.

Kevin

Julian Ungureanu wrote:
> 
> 
> Kevin McCowan wrote:
> 
>> The yellow box on mine is flat. Not a button.
> 
> 
> You should still be able to push it.
> At least this is how 15.2 works.
> 
>>
>> I checked the help and it also says to push the
>> button to locate them. What is the deal here?
>> Will I ever be allowed to finish this design?
>>
>> I'm on 15.1 with the latest SR. The isolated shapes
>> color thing is a button as is the unassigned shapes.
>> It says: Out of date shapes:   2/33
>> I thought there might be a report or something but
>> I couldn't find one.
>> Of course, since the shapes are "out of date" I
>> cannot generate gerbers.
>>
>> Any other ideas? Anyone?
>>
>> Kevin
>>
>> Julian Ungureanu wrote:
>>
>>> When you go to "Setup - dwg options", there is a yellow box you can
>>> click on.
>>> That fires a report, where you can click on the X or Y coordinate of 
>>> your shape.
>>> And it takes you right there.
>>> Pretty neat.
>>>
>>> Julian
>>>
>>> Kevin McCowan wrote:
>>>
>>>> Ok, me again.
>>>> My Setup/drawing options says I have 2 out of date shapes. I cannot 
>>>> figure out which they are. Or how to update them.
>>>> I ran dbdoctor and it made no difference.
>>>> Reported nothing back.
>>>> I hope I didn't use up all of my December help credits yet!
>>>>
>>>> Any ideas?
>>>>
>>>> Kevin McCowan
>>>> Sr. PCB Designer
>>>> TSI Telsys
>>>> -----------------------------------------------------------
>>>> To subscribe/unsubscribe:     Send a message to 
>>>> icu-pcb-forum-request@xxxxxxxxxxxxx
>>>>     with a subject of subscribe or unsubscribe
>>>>
>>>> To view the archives of this list please login at 
>>>> http://www.freelists.org. Our list name is icu-pcb-forum or go to 
>>>> http://www.freelists.org/archives/icu-pcb-forum/
>>>>
>>>> Problems or Questions:
>>>>     Send an email to icu-pcb-forum-admins@xxxxxxxxxxxxx
>>>>
>>>> Want to post a job listing ?  DON'T DO IT HERE!  Better yet, join
>>>> our jobs listing forum.
>>>>
>>>> SUBSCRIBE:  icu-jobs-forum-subscribe@xxxxxxxxxx
>>>> POST:       icu-jobs-forum@xxxxxxxxxx
>>>> -----------------------------------------------------------
>>>>
>>>
>> -----------------------------------------------------------
>> To subscribe/unsubscribe:     Send a message to 
>> icu-pcb-forum-request@xxxxxxxxxxxxx
>>     with a subject of subscribe or unsubscribe
>>
>> To view the archives of this list please login at 
>> http://www.freelists.org. Our list name is icu-pcb-forum or go to 
>> http://www.freelists.org/archives/icu-pcb-forum/
>>
>> Problems or Questions:
>>     Send an email to icu-pcb-forum-admins@xxxxxxxxxxxxx
>>
>> Want to post a job listing ?  DON'T DO IT HERE!  Better yet, join our
>> jobs listing forum.
>>
>> SUBSCRIBE:  icu-jobs-forum-subscribe@xxxxxxxxxx
>> POST:       icu-jobs-forum@xxxxxxxxxx
>> -----------------------------------------------------------
>>
> 
-----------------------------------------------------------
To subscribe/unsubscribe: 
        Send a message to icu-pcb-forum-request@xxxxxxxxxxxxx
        with a subject of subscribe or unsubscribe

To view the archives of this list please login at http://www.freelists.org. Our
list name is icu-pcb-forum or go to
http://www.freelists.org/archives/icu-pcb-forum/

Problems or Questions:
        Send an email to icu-pcb-forum-admins@xxxxxxxxxxxxx

Want to post a job listing ?  DON'T DO IT HERE!  
Better yet, join our jobs listing forum.

SUBSCRIBE:  icu-jobs-forum-subscribe@xxxxxxxxxx
POST:       icu-jobs-forum@xxxxxxxxxx
-----------------------------------------------------------
-----------------------------------------------------------
To subscribe/unsubscribe: 
        Send a message to icu-pcb-forum-request@xxxxxxxxxxxxx
        with a subject of subscribe or unsubscribe

To view the archives of this list please login at
http://www.freelists.org. Our list name is icu-pcb-forum
or go to http://www.freelists.org/archives/icu-pcb-forum/

Problems or Questions:
        Send an email to icu-pcb-forum-admins@xxxxxxxxxxxxx

Want to post a job listing ?  DON'T DO IT HERE!  
Better yet, join our jobs listing forum.

SUBSCRIBE:  icu-jobs-forum-subscribe@xxxxxxxxxx
POST:       icu-jobs-forum@xxxxxxxxxx
-----------------------------------------------------------

Other related posts: