Problems for Automation using trim hole macro

Altair Forum User
Altair Forum User
Altair Employee
edited October 2020 in Community Q&A

I have created automation using standard trim hole macro.

i just wanna give center node for triming a hole around it. i have used standard macro TrimMeshWithCircle.tcl for this

and given my expected Hole radius as default and by default also ticked box for minimum no. of nodes

and i made changs in this file where BuildTKDialog method has been called as below methods called directly after that.

BuildTKDialog

Quit

MultipleTrimHoles

but it sometimes work and sometimes doesn't.

generally when i use it for first time i need to create couple of holes manually and then modified macro works.

Does anyone know how should i go for this.

or what should i make necessary changes to work this macro correctly at any time.

Thanks in advance.

Tagged:

Answers

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited April 2010

    You can do what you want using core functions in the rigids panel. Is you are making a multiple nodes rigid, then change the independent node to 'calculate node', then the center node is averaged based on the dependent mode locations.