Menu Close

How to create a new ETABS API in Java?

How to create a new ETABS API in Java?

Your sample code is basically and typically the one needed to open ETABS ITSELF and to initialize a new model, ETABSObject = CreateObject (“CSI.ETABS.API.ETABSObject”) followed by the invocation of ApplicationStart method are the direct means for that. And You can normally proceed in your coding.

How to link a VBA code with opened ETABS?

FileName = “c:\CSI_API_temp\example.edb” ret = SapModel.File.OpenFile (FileName) This code just open a new ETABS in my PC. but my ETABS project is already running and I want to connect to it but I don’t know how! please help me.

Can you use GetObject if ETABS is not opened?

2- you still can use GetObject even if ETABS is not opened and if you want to open it from windows shell (like using command prompt to open programs instead of double clicking on their respective icons), but this of course needs some Error Handling and the use of “Windows Script Host Object Model”.

What happens if ETABS is not opened in CSI?

And You can normally proceed in your coding. Note: 1- GetObject (CSI.ETABS.API.ETABSObject) method will raise an error if ETABS is not opened.

Is there an API for ETABS in VBA?

ETABS now has an API, as of the 2013. It is accessible with any ‘ edition ‘ of ETABS 2013 and at first blush looks well featured. Coming from working with Strand7 and GSA APIs in VBA (more on those in a later post) there isn’t an great deal of difference. The API will make ETABS appear as an object.

Can you use ETABS OAPI in C #?

The OAPI can be used via VB, C++, C# and VBA. VBA is usually a good place to start! ETABS now has an API, as of the 2013. It is accessible with any ‘ edition ‘ of ETABS 2013 and at first blush looks well featured. Coming from working with Strand7 and GSA APIs in VBA (more on those in a later post) there isn’t an great deal of difference.

How to make ETABS appear as an object?

The API will make ETABS appear as an object. There is an online reference here ( http://docs.csiamerica.com/help-files/etabs-oapi/html/21ef18b0-3291-0fec-8e6d-c80ec9f2a389.htm) which can help, it details the API namespace. In pseudo-code getting a project going looks something like this: Create an instance of a ETABS 2013 object

2- you still can use GetObject even if ETABS is not opened and if you want to open it from windows shell (like using command prompt to open programs instead of double clicking on their respective icons), but this of course needs some Error Handling and the use of “Windows Script Host Object Model”.