If the schematic has many sheets (more than 200), and there are several fonts are used on net name, such FIXED, San Serif, Kanji. It is difficult for users to check and change all net name's fonts at one time.
I was able to modify an existing efm script that I had created a while ago. The original form had a couple of buttons in it which I left in there (text to file and to DxDEsigner). I added a dropdown box to select one of the 13 available fonts if desired.
I have done some quick testing here, and it looks as if it does the job.
Have a look at it and let me know how it went. !
Yes, the script works, thanks!
It will be better if we can copy the running result log. Currently, we can view the log but we can't save the log.
I can see that - I had missed a couple of vital bits when I made the modifications. The two switches 'Write File' and 'Write to DxD' did not work, but they do in this version. Originally, 'Write File' would create a file under the project, but since VX, I'll have to fiddle more to get that to work again (ProgId stuff). For now,
'Write File' will write to C:\temp\Fontfix.txt
'Write to DxD' will write to the Output Window of xDX Designer, FontFix Tab
The 'log window' actually enabled crossprobing from the list to xDX Designer, but that is broken. Maybe I can fix it, maybe not.
Well - I gave up on the crossprobing from the log window, so I have removed that particular piece of code. But I fixed the issue, so V05 will write to the project path.
Let me know if this now works as expected...have fun with it !!!
Good improvements! Yes, log outputs on xDX Deigner now.
I have an idea about another scenario that if the project contains multiple boards, users will want to choose one board or all boards to apply the script. Can we design a button to let users choose the boards?
I had obviously not thought about that - and I found, that if there are multiple boards, the automation would always pick the first board. So your suggestion was very good indeed, thanks !!!
Can it be done ?
Of course it can ;-)
I have added that code and did some improvements on the GUI, output formatting etc.
Have fun !!
Great improvent! Everything looks fine! I did a test on a multiple-board project and can't point more requirements. Thank you so much - Peter!
Retrieving data ...