Center Nodes for arc lines

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

Dear sir,

I want to create center nodes at these arc lines to create spots at those nodes as there are around 500 lines and it is difficult to create manually, so Is there any script to create center nodes for multiple arc lines at once?

<?xml version="1.0" encoding="UTF-8"?>Capture.PNG

Tagged:

Answers

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited November 2017

    Hi Ramakiran,

    We have 2 similar scripts in Script Exchange. Please download the same from Altair Connect.

     

     

    circle.PNG

     

    holes.PNG

  • Q.Nguyen-Dai
    Q.Nguyen-Dai Altair Community Member
    edited November 2017

    Try this simple TCL code:

     

     *createmarkpanel lines 1 'Select Line' set lines [hm_getmark lines 1] *clearmark lines 1;  foreach id $lines { 	*createmark lines 1 $id; 	*createbestcirclecenternode lines 1 0 1 0 	*clearmark lines 1; }

    HTH,

     

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited November 2017

    thank you very much and it helps me a lot.