1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Is a specific version of Python associated with Alibre?

Discussion in 'Alibre Script' started by R-man, Dec 29, 2018.

  1. R-man

    R-man Senior Member

    This is a version of my original question which I blanked out when I thought I found an answer.
    However, I have NOT found the answer.

    My questions are:

    1. Is there an Alibre approved, or built-in text editor for scripting, and how do I access it?

    2. Is there a specific version of Python that I must, or should, use for Alibre Scripting?

    These questions arise because I noticed couple of Python libraries included within the Alibre program folders.
    Last edited: Dec 29, 2018
  2. idslk

    idslk Alibre Super User

  3. R-man

    R-man Senior Member

    Thank you Stefan - now please let me know how I access what I see in your screen shot? I mean what do i click on to bring up that 'console'?

  4. idslk

    idslk Alibre Super User

    Hello Doug,

    - Alibre Skript in the Ribbon
    - Launch
    - then the console etc. pops up in the lower screen area (for default as i remember, later i is configurable)

    the Quick Start will be a good first lecture.




  5. R-man

    R-man Senior Member

    OK. I was thinking script first then part, so I never thought of the ribbon! Now I get it! Thank you for your help!

  6. R-man

    R-man Senior Member

    Now a new problem.

    I created a new part so I could access the ribbon. Then I brought up the scripting section, and clicked "Launch".

    Then after a few seconds the part window disappeared and Alibre shut down.
    I get the same behavior when launching from a pre-existing part.

    For context, I just loaded the most recent update of Alibre
  7. idslk

    idslk Alibre Super User

    Hello Doug,

    may some of the other forum members have good ideas for this. From my side this could be "everything" begining at a faulty program install, a corrupted user profil file and so on ... I'm very sorry to be unable to give you more than the tip search for alibre crashing or similar here in the forum. I hope you find help to fix it.

  8. R-man

    R-man Senior Member

    Thanks Stefan,

    I uninstalled all versions of python, and rebooted my computer. Now I the console window comes up with no problem.

  9. Michel Trahan

    Michel Trahan Member

    to find the python version used add the following to any script and watch the console ...

    from platform import python_version

    in my Alibre Design Expert 2019, the version of python is 2.7.7
  10. idslk

    idslk Alibre Super User

    Hello @Michel Trahan ,
    at startup of AlibreScript...;)
  11. Michel Trahan

    Michel Trahan Member

    Never thought of that but thanks ... it also tells me that the full library of 2.7.7 is available ! Cool !

Share This Page