CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   ANSYS Meshing & Geometry (http://www.cfd-online.com/Forums/ansys-meshing/)
-   -   [ICEM] One question about curve name setting (http://www.cfd-online.com/Forums/ansys-meshing/104911-one-question-about-curve-name-setting.html)

lnk July 18, 2012 11:14

One question about curve name setting
 
Hi,

I'm using script to parameterize my geometry. But when I use the script to record the curve creation. The curves are randomly named as crv..... or GEOM...., like crv.38 or GEOM3. That makes the script hard to be checked. May I ask how to make my curve names only as crv.1, crv.2,crv.3........?

Best regards and many thanks,
lnk

hadikhayyamian July 20, 2012 16:24

You can control naming of the geomtry elements by, for example for a Curve:
Right click on the Rename Curve under Curves.

then you can set how numbering comes after a text. for example: mycurve-01 mycurve-02

If you are importing Formatted Data Points, you can also do the same in its setting!

lnk July 23, 2012 11:55

Quote:

Originally Posted by hadikhayyamian (Post 372692)
You can control naming of the geomtry elements by, for example for a Curve:
Right click on the Rename Curve under Curves.

then you can set how numbering comes after a text. for example: mycurve-01 mycurve-02

If you are importing Formatted Data Points, you can also do the same in its setting!


Hi, Khayyamian

Thanks for your answer. I generate all my geometry by script. The problem is I never named any points to GEOM... (like GEOM 5). But after I run the script, I click 'show the points name'. Some points named GEOM... come out. ( don't know why) And they totally overlap with some of my points that their name block my sight to the name of the points I defined. How to fix this problem?

Best regards,
lnk

hadikhayyamian July 23, 2012 13:27

Hi,
regarding overlapping points, I also have this problem. for example when I create some planes, it creates some excessive curves (which overlap my existing curves). Actually I dont know how to avoid automatically your excessive points.

If I were you, I will do following:

you can delete those points and let the script replay record your actions.
I have done this before. it worked!

Also if you can post your work, it might be helpful!

lnk July 24, 2012 11:18

Quote:

Originally Posted by hadikhayyamian (Post 373039)
Hi,
regarding overlapping points, I also have this problem. for example when I create some planes, it creates some excessive curves (which overlap my existing curves). Actually I dont know how to avoid automatically your excessive points.

If I were you, I will do following:

you can delete those points and let the script replay record your actions.
I have done this before. it worked!

Also if you can post your work, it might be helpful!


Thanks for your answer. But I really want to avoid the showing of these points from the beginning. For my geometry, there are several thousands of them. It's large work to delete. And these points named Geom... always bring bug to my script.

Best regards and many thanks,
lnk

lnk July 27, 2012 16:08

2 Attachment(s)
Hi, Khayyamian

Here I upload a simple case for that point naming GEOM problem.

Could you tell to how avoid the creation of the points named GEOM....?


Best regards and many thanks,
lnk

twoplanesdontmakeawright June 15, 2015 12:40

If you are not using the part "GEOM," you can delete it altogether with the line

Code:

ic_delete_elements family GEOM no_undo 1
ic_delete_geometry all families GEOM 1 1
ic_geo_delete_family GEOM

That should wipe away all the unwanted points pretty quickly.


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