3D Design

3D Design

Topics related to Ansys Discovery and Ansys SpaceClaim.

How to call SCDM script in pycharm. And perform automated drawing

TAGGED: ,

    • haibin wu
      Subscriber

      I am a beginner in python. Now I want to call the SpaceClaim software of Ansys in pycharm. The software of SpaceClaim is a 3D modeling drawing software, which can achieve modeling through scripting. In addition, its scripts are written based on IronPython, and I also found that IronPython is written in C#. Therefore, I now want to open Spaceclaim in PyCharm and run the already written script for automated drawing and modeling. I am not sure what to do now. Can you give me some advice and ideas, as I am unfamiliar with Python and C# and have no knowledge of methods for calling programs and running scripts? Thank you for your help!

    • Ashish Khemka
      Forum Moderator

      Hi,

      Try doing a web search for the following keywords: 'scdm script pycharm' and you may find many relevant articles.

      Regards,

      Ashish Khemka

    • haibin wu
      Subscriber

      I don't agree. There are no answers are what I want. I still not find method to call script of SCMD in PyCharm 

    • Ashish Khemka
      Forum Moderator

      My apologies that the suggestion did not help. Please wait for other members to comment more on this.

      Regards,

      Ashish Khemka

    • haibin wu
      Subscriber
      It’s fine. Anyway thank you for your patience
    • mrife
      Ansys Employee

      Hi Haibin Wu

      The capability to control Space Claim or Discovery Modeling from an external Python script is being actively developed as part of the PyAnsys project: https://docs.pyansys.com/version/stable/

      Since 'PyGeometry' is not yet released you may want to start with the PyAnsys language library for the solver you will be using the geometry for in an analysis.  There are plenty of examples in each of the individual PyAnsys project pages.  

      Mike

    • haibin wu
      Subscriber
      Thank you for your answer. That is looks feasible. I’ll try it.
    • Ganggui Guo
      Subscriber

      When will PyGeometry be released?

    • mrife
      Ansys Employee
      Hi Ganggui It was released to the public a few months ago. https://geometry.docs.pyansys.com/version/stable/ Mike
Viewing 8 reply threads
  • The topic ‘How to call SCDM script in pycharm. And perform automated drawing’ is closed to new replies.