Re: [PEDA] Update several PCB footprints from library, update decals in PCB
Robert, Ian, this answers my question also. Thank you. Mit freundlichem Gruß Kind regards Gisbert Auge N.A.T. GmbH www.nateurope.com Robert M. Wolfe An: Protel EDA Forum [EMAIL PROTECTED] wolfe.rm@sneKopie: t.net Thema: Re: [PEDA] Update several PCB footprints from library. 18.11.2002 14:03 Bitte antworten an Protel EDA Forum Ian Wrote, I think that the fact that we can't controllably update footprints from a library, in P99SE, is a big oversight. It should have been there and certainly in one of the service packs for P99SE as we have been asking for it for a long time - not a bug though. It is an area under discussion by DXP users. Those with long memories will remember the very useful component property Update Footprint checkbox in V2.8 and will also remember the comments on and off over the years about its removal in V3 and later revs. Ian , Yes I would say it was a big oversight. But looking at your responce to make a server, would it be possible to have the system report what footprints are out of date like you get to see what is being updated when doing a synchronization with schematic before you commit to the changes? I think some thing like that would be very handy. Or at the very least is there any way right now to at least get a report of what footprints do not match what is in the library, that way at least one could (much easier) keep track of what could or shold be updated. Still having to do it one by one but at least there is tracking of what changed easily. There may be times when one does not want to update a footprint. For that reason when the batch is done it would be nice to have the report prior to a commit to be able to control what gets updated. Just a thought, for who ever does do this or food for thought on DXP. I too have had little time and have not even looked at DXP yet so would hope that have improved it there??? Bob Wolfe - Original Message - From: Ian Wilson [EMAIL PROTECTED] To: Protel EDA Forum [EMAIL PROTECTED] Sent: Sunday, November 17, 2002 5:26 PM Subject: Re: [PEDA] Update several PCB footprints from library. On 09:45 AM 15/11/2002 -0600, Yuriy Khapochkin said: Hi, is there any way to update all footprints in the PCB from library? Currently I press Update PCB button after editing each component in library, but it's too annoying. Yuriy. This issue has cried out for a server for a long time. The problem is that there is no documented PCBLib process that does this task directly, so it is not possible to make a macro that uses the FirstComponent/NextComponent PCBLib processes to iterate over the library and update. The UpdatePCB button must cause execution of a number of steps not a single process - either that or the process is not documented. There would be solution for anyone wishing to write a server. When your server starts up it should check that a PCBLib window is active. It should then check that the Design Manager is active and the Browse PCB tab visible. Then the server should search all the child windows of the app for a button with a caption UpdatePCB and stash its handle. Then iterate over all the components in the library and send a WM_LBUTTONDOWN message followed by a WM_LBUTTONUP message to the saved handle. It may even be possible to find the Delphi TButton object from its handle and then use the higher level Delphi object functions to activate the button. Finding the button handle is not too hard as you can search down the chain from the top level window in a fairly consistent pattern. To find the window tree use something Spy++ that comes with the M$ compilers. Then at each level you can search for a known window caption to get
Re: [PEDA] Update several PCB footprints from library.
Mike, Yup I tried it your way awhile ago, and also tried cntl, shift etc, and no luck only one at a time. Like I said even the process using synchronize with update footprints checked does not always update all footprints. I can't put a finger on it but I have seen it update parts some of the time though, but again not all in one shot. I have not had the lately to try and figure out what is happening so I have been some what keeping track of footprints I have changed. However after so many designs doen its really a pain to keep track of never mind having to update them individually! I guess this update function must work just like the matched lengths function, basically it doesn't! (IMHO) if you need to run the command many many times to get lengths to match that would not be my definition of working, and even after 10-20 times the lengths are still not even close, and that is with plenty of room in that area to accomplish the task. Bob Wolfe - Original Message - From: Mike Reagan [EMAIL PROTECTED] To: Protel EDA Forum [EMAIL PROTECTED] Sent: Sunday, November 17, 2002 10:39 AM Subject: Re: [PEDA] Update several PCB footprints from library. Nevermind my update process, it updated one footprint at a time it didn't work like I thought I was seeing Mike - Original Message - From: Robert M. Wolfe [EMAIL PROTECTED] To: Protel EDA Forum [EMAIL PROTECTED] Sent: Friday, November 15, 2002 7:06 PM Subject: Re: [PEDA] Update several PCB footprints from library. Don't know the answer but if anyone does I'd love to hear it too. Could solve yet another too many step process from this system. And one would think that when the update footprints is checked while doing a synchronize it would do all of them, but no. Bob Wolfe - Original Message - From: Yuriy Khapochkin [EMAIL PROTECTED] To: Protel EDA Forum [EMAIL PROTECTED] Sent: Friday, November 15, 2002 10:45 AM Subject: [PEDA] Update several PCB footprints from library. Hi, is there any way to update all footprints in the PCB from library? Currently I press Update PCB button after editing each component in library, but it's too annoying. Yuriy. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * To post a message: mailto:[EMAIL PROTECTED] * * To leave this list visit: * http://www.techservinc.com/protelusers/leave.html * * Contact the list manager: * mailto:[EMAIL PROTECTED] * * Forum Guidelines Rules: * http://www.techservinc.com/protelusers/forumrules.html * * Browse or Search previous postings: * http://www.mail-archive.com/proteledaforum@techservinc.com * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
Re: [PEDA] Update several PCB footprints from library.
Don't know the answer but if anyone does I'd love to hear it too. Could solve yet another too many step process from this system. And one would think that when the update footprints is checked while doing a synchronize it would do all of them, but no. Bob Wolfe - Original Message - From: Yuriy Khapochkin [EMAIL PROTECTED] To: Protel EDA Forum [EMAIL PROTECTED] Sent: Friday, November 15, 2002 10:45 AM Subject: [PEDA] Update several PCB footprints from library. Hi, is there any way to update all footprints in the PCB from library? Currently I press Update PCB button after editing each component in library, but it's too annoying. Yuriy. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * To post a message: mailto:proteledaforum;techservinc.com * * To leave this list visit: * http://www.techservinc.com/protelusers/leave.html * * Contact the list manager: * mailto:ForumAdministrator;TechServInc.com * * Forum Guidelines Rules: * http://www.techservinc.com/protelusers/forumrules.html * * Browse or Search previous postings: * http://www.mail-archive.com/proteledaforum;techservinc.com * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *