How to automaticaly create joints between line and solid bodies

Lukas
Lukas Member Posts: 13
First Anniversary Name Dropper First Comment
**

Hello,
I have a structure with plenty of line and solid bodies. I need to create joints for each side of all line bodies with adjencent vertex at solid body. Can anybody support with that. Thank you

Tagged:

Answers

  • Erik Kostson
    Erik Kostson Member, Employee Posts: 233
    50 Answers 100 Comments Second Anniversary 25 Likes
    ✭✭✭✭

    Hi. Even though it could be potentially done via act mech. script you might be able to use the native functions inside mechanical (e.g., object generator).

    If you have questions on how to use certain tools inside mech., then post your question on the Ansys Learning Forum: https://forum.ansys.com/

    (this forum here is for scripting related questions)

  • Lukas
    Lukas Member Posts: 13
    First Anniversary Name Dropper First Comment
    **

    Dear @Erik Kostson,
    I would like to use act.mech. script to make sure it´s working in DOE.

  • Erik Kostson
    Erik Kostson Member, Employee Posts: 233
    50 Answers 100 Comments Second Anniversary 25 Likes
    ✭✭✭✭
    edited October 29

    Hi

    We do not have such a script, but one can do similar things to the object generator, so loop over vertices, have some criteria to find/pair them perhaps, and then create a joint there.

    Good start is to use script recording (see here: https://www.padtinc.com/2023/08/08/crash-course-ansys-mechanical-scripting/) and see how to set up a joint, and then once that is clear work on the automation/loop over vertices (say in named selections) to set it all up.

    All the best of luck

    Erik