lucasrls
Mechanical
- Oct 8, 2014
- 1
Hey Guys!
I'm programing a series of intersections on a geometry at ICEM CFD, using a script file. The problem occur when I need to intersect surfaces and create points at the end of each line; the commands do not allow me to name the lines when I use the intersection between groups or intersection between 2 Sets.
In order to solve it, I tried to implement the follow code. But the ICEM does not interpret $listing. How I solve it??
I'm programing a series of intersections on a geometry at ICEM CFD, using a script file. The problem occur when I need to intersect surfaces and create points at the end of each line; the commands do not allow me to name the lines when I use the intersection between groups or intersection between 2 Sets.
In order to solve it, I tried to implement the follow code. But the ICEM does not interpret $listing. How I solve it??
Code:
ic_geo_intersect_surfs_by_groups {LE X_SFC01} INTERSECTION use_bsp multi_crv
set R_List [ic_geo_lookup curve families INTERSECTION]
set R_List [regsub -all (}\ )+ $R_List ""]
set R_List [regsub -all ({curve\ )+ $R_List " "]
set listing []
foreach { a b} [split $R_List \"}\"] {append listing $a}
ic_point curve_end INTERSECTION INTERSECTIONpnt.05 { $listing both}