Delphi scripting in Altium 14 - netlist generation problem

Status
Not open for further replies.

moro

Member level 3
Joined
Jul 12, 2009
Messages
65
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
2,013
Hello,
i am working on a script which translates some odb++ pcb file, and passes out a altium pcb document.

I dont know or cannot generate nets for the placed pads.

How can i create a net from the script?


I tried like this:

NetList : TStringList;

NetList.Add := 'MyNet';

But i encounter a error "undeclared identifier: Add" , has anyone experienced similar problems and maybe a solution would help me alot
 

The syntax usage of the method Add seems like not correct on your above snippet.
You should do something like:

Code:
NetList.Add('MyNet');
...instead of:

Code:
NetList.Add := 'MyNet';
 

It not working with NetList.Add('MyNet'); , i have the same error
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…