You have to register before you can post. To keep this forum out of spammers, every registration is manually approved.
If you know answers on any questions on this forum, please feel free to answer them. (PS: I try to answer at least once a week or when possible, - Robert)
I haven't been into scripting a lot, but recently I needed to do some work modifying a script. The best documentation that is available from Altium you can find here:
This page provides an overview of the features and functionality available to you when using scripts in Altium Designer, including setting up applicable preferences in readiness to embark on your scripting journey
Apart from that, as Robert said it's good to go through some ready scripts and try to understand them. I good bunch of them you can find here (use the download ZIP button):
Hi LoL , did you find any scripts that ran on a recent version (Altium 10+) Altium Designer and were doing something practical? When I looked into this a few months ago, I found that supposedly it is a hit-and-miss situation, because the scripting API has not been updated to the object structure with later versions or the software or tested. I would be very interested in seeing scripts that work and do something useful in Altium.
The scripts I was writing certainly did not work, and we hired a consultant to look at them with previous experience in Altium scripting and he thought that there was nothing wrong with them. He also refused to take up projects from us to make Altium scripts for us, because he said he could not guarantee a successful outcome. He emphasized the crucial role of 'experimentation' if I was to make any more scripts.
Hi robertferanec and mairomaster , the script examples you mentioned did not seem to run right on Altium 13.3. If I remember, they were exiting usually before the end of the scripts, almost like an 'invisible exit' instruction. I did find those you mentioned with googling myself at the time.
Did you manage to successfully run those on Altium, and if yes, what version?
Every script is independent and often developed by different people, so some might currently work, some might not anymore. For example I worked on updating the following one, so that it works with Altium 16:
Comment