×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Issue ICEM and TCL/TK

Issue ICEM and TCL/TK

Issue ICEM and TCL/TK

(OP)
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??

CODE --> tlc/tk

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} 

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources