CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   ANSA (https://www.cfd-online.com/Forums/ansa/)
-   -   Scripting command (https://www.cfd-online.com/Forums/ansa/194593-scripting-command.html)

dikshant October 19, 2017 06:27

Scripting command
 
I am currently trying to automate the mesh generation process by Python scripting in ANSA. I was wondering what function can I use to isolate the double cons in a list. The collectEntitities function only works for CONS and I can't find the keyword for double CONS.
Thanks

rmaries October 20, 2017 03:36

In cons there is an attribute called Number of Pasted cons. If number of pasted cons = 2 then it double CONS. If it is 1, it is single cons. If it is more than 2, it is triple cons.

Why are you separating double cons.? I am interested in knowing more about your algorithm.

Thanks
Maries


All times are GMT -4. The time now is 12:00.