Discovery Import

Discovery Import

Create a sketch dimension between two lines in script

    • Guillaume ANFOSSI
      Subscriber

      Hello,

      I have to create a sketch dimension with script between two differents parallel curves (lines).

      I try to use "Dimension.CreateDistance" but i get this error : Input selection is not a valid one.

      Could you pease help me ?

      Thanks.

    • Naresh Patre
      Ansys Employee

      Hello GUICAD

      I used the record functionality and was able to record the operations for creating a dimension between 2 parallel lines. See below snapshot:

       

    • Guillaume ANFOSSI
      Subscriber

      Hello Naresh,

      Ok, it works with parametric sketch.

      Thanks,

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