3D Design

3D Design

Topics related to Ansys Discovery and Ansys SpaceClaim.

Is there a way to mirror a component using script in spaceclaim?

    • Damian Rodolfo
      Subscriber

      As stated above I am trying to mirror a component using script but it doesnt seem like I can. I record doing it by hand, but the record function in scripting doesn't pick it up. I can mirror faces and bodies and it will, but not when i try mirroring components. Is this a bug?

    • Devendra Badgujar
      Forum Moderator

      Hello Damian, 

      Let me check and get back to you on this. 

      Regards,

      Devendra 

    • Devendra Badgujar
      Forum Moderator

      Hello Damian, 

      It was not possible to record the mirror components till API V232 version. It will be possible to do so in API V241 version in the next release. 

      Thank you,

      Devendra 

    • Damian Rodolfo
      Subscriber

      for those wondering i figured out what command it was:

      # Mirror
      selection = Component
      mirrorPlane = DatumPlane1
      options = MirrorOptions()
      result = MirrorComponents.Execute(selection, mirrorPlane, Info#)
      # EndBlock

Viewing 3 reply threads
  • The topic ‘Is there a way to mirror a component using script in spaceclaim?’ is closed to new replies.