3D Design

3D Design

Topics related to Ansys Discovery and Ansys SpaceClaim.

dictionary function spaceclaim

    • Nicolas Neel
      Subscriber
      hello everyone
      
      i am looking for info on building the script functions of spaceclaim.
      
      It is a powerful tool but there is not really an exact eplication on each function.
      
      Thanks in advance.
    • Devendra Badgujar
      Forum Moderator

      Hello Nicolas Neel

      Let me check and get back to you on this.

      • Nicolas Neel
        Subscriber

        Devendra Badgujar 

        thanks in advance
    • Devendra Badgujar
      Forum Moderator
      Hello Nicolas Neel Please check the Scripting library and developer's guide in this location for information on scripts: C:Program FilesANSYS Incv212scdmSpaceClaim.Api.V20 You can learn more about scripting in this video. Regards.
      ? This post originally contained file attachments which have been removed in compliance with the updated Ansys Learning Forum Terms & Conditions
    • Nicolas Neel
      Subscriber
      Hello,
      
      this is the answer I expected. However, there is no detail on the commands of the space claim script. Indeed, the aids present in the SpaceClaim.Api.V20 file are intended to create Add-ins and not to understand the software console.
    • Devendra Badgujar
      Forum Moderator

      Hello Nicolas Neel

      Let me check with the team and get back to you with more information on this.

    • Nicolas Neel
      Subscriber

      thank you very much for the help you want to give me. I would like to congratulate the entire ansys team for the work they have done on spaceclaim. In 15 years of modeling experience, I have never seen design software so easy to use.

    • Devendra Badgujar
      Forum Moderator

      Hello Nicolas Neel

      Thank You for your interest in SpaceClaim. We don't have further information to provide on this. You can learn by using the Record function to see how SpaceClaim scripts in the background.

      Please let us know if you have questions regarding any specific functionality about scripting we can help you with it. 

      Regards.

    • Nicolas Neel
      Subscriber

      ok for her.

      it is true that the script of spaceclaim is brand new and that the lack of resources must come from (I ask a lot too).

      For the future, if I have one remark to make, it is that there should be an "advanced" mode in the recording mode of the actions of the script. this will allow you to see certain commands which are currently hidden.

      Another thing, I leave you as a gift a small python2 program that I created to export certain variables from a script in a csv file in order to introduce them into a nesting software for example. :

       

      import csv
      
      my_file = 'D:\my repertory\example.csv'
      
      line1 =["variable1"]
      line2 = ["variable2"]
      
      with open(my_file, 'wb') as contacts:
      
          relation = csv.writer(contacts, delimiter=",")
          relation.writerow(line1)
          relation.writerow(line2)

       

      something else, after analysis, spaceclaim obviously takes python2 commands more easily rather than python3

Viewing 7 reply threads
  • The topic ‘dictionary function spaceclaim’ is closed to new replies.