3D Design

3D Design

Topics related to Ansys Discovery and Ansys SpaceClaim.

WriteBlock.ExecuteTask How?

    • seghier
      Subscriber

      Hello

      I want use WriteBlock. ExecuteTask in Python but i don't understand how

      from API scripting:

      ExecuteTask(string text,Task task)

      How i can create Task from this command:

      api.Window.ActiveWindow.Groups[0].SetDimensionValue(20)

      (api = SpaceClaim.Api.V21)


    • Aniket
      Ansys Employee
    • seghier
      Subscriber
      Many thanks
    • seghier
      Subscriber
      Hi Aniket , can you help me here

      i tried to create a Point from external python editor using direct command and using task but the same error message appears:
      Runtime error (NullReferenceException): Object reference not set to an instance of an object.

Viewing 3 reply threads
  • You must be logged in to reply to this topic.