I tried to establish a two-way link with SAP2000 through API using PHP programming language. It managed to reference the COM object and open SPA2000, but every time i tried to pass arrays in API functions in did not work.
I abandoned this idea and moved to ASP.NET using C# or VB.