Ram Concept API

Hi,

I am trying to use the new API introduced on RAM Concept v8.2 but however I am a little stuck on the installation of RAM Concept API. Hopefully I can get more detail guidance here.

In the documentation, there are these 2 steps that I do not understand how to proceed. 

Besides that, I tried using the sample script given and this is the error that came back to me. 

This is my first time using API with Python, looking forward for your assistance, thanks.

Parents
  • I believe the error occurs because the API is not installed.

    To open a command prompt window, right click on the Windows button in the taskbar in the lower left corner of your screen. Then, click on search and type in command prompt. Click on the Command Prompt app when it is found in the search.

    In the command prompt window, type in cd c:\Program Files\Bentley\Engineering\RAM Concept CONNECT Edition\RAM Concept CONNECT Edition V8\python and then click Enter to open the path where the API files are stored.

    Once you are in that direction, type in setup.bat and click Enter to install the API.



  • Hi Karl,

    Thanks for the reply. The walkthrough you've provided managed to get me installed the API.

    I do have another question regarding the script provided in the guidance.

    I know that the following code below allows RAM Concept to open without a user interface, but does that means that any code written is run in the background and we can't access to it? Are we supposed to use headless=False if we were to work on that model? Thanks.

    concept = Concept.start_concept(headless=True)
Reply
  • Hi Karl,

    Thanks for the reply. The walkthrough you've provided managed to get me installed the API.

    I do have another question regarding the script provided in the guidance.

    I know that the following code below allows RAM Concept to open without a user interface, but does that means that any code written is run in the background and we can't access to it? Are we supposed to use headless=False if we were to work on that model? Thanks.

    concept = Concept.start_concept(headless=True)
Children