|
[Sponsors] |
July 18, 2012, 11:14 |
One question about curve name setting
|
#1 |
Senior Member
lnk
Join Date: Feb 2011
Location: Switzerland
Posts: 118
Rep Power: 15 |
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 |
|
July 20, 2012, 16:24 |
|
#2 |
Member
Khayyamian
Join Date: Dec 2010
Posts: 46
Rep Power: 15 |
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! |
|
July 23, 2012, 11:55 |
|
#3 | |
Senior Member
lnk
Join Date: Feb 2011
Location: Switzerland
Posts: 118
Rep Power: 15 |
Quote:
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 |
||
July 23, 2012, 13:27 |
|
#4 |
Member
Khayyamian
Join Date: Dec 2010
Posts: 46
Rep Power: 15 |
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! |
|
July 24, 2012, 11:18 |
|
#5 | |
Senior Member
lnk
Join Date: Feb 2011
Location: Switzerland
Posts: 118
Rep Power: 15 |
Quote:
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 |
||
July 27, 2012, 16:08 |
|
#6 |
Senior Member
lnk
Join Date: Feb 2011
Location: Switzerland
Posts: 118
Rep Power: 15 |
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 |
|
June 15, 2015, 12:40 |
|
#7 |
New Member
Adam Smith
Join Date: Jun 2015
Posts: 1
Rep Power: 0 |
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 |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Question Re Engineering Data Source | imnull | ANSYS | 0 | March 5, 2012 13:51 |
internal field question - PitzDaily Case | atareen64 | OpenFOAM Running, Solving & CFD | 2 | January 26, 2011 15:26 |
question on bounday layer modeling | Wen Long | Main CFD Forum | 2 | November 12, 2005 17:29 |
Poisson Solver question | Suresh | Main CFD Forum | 3 | August 12, 2005 04:37 |
Philosophical CFD question | Richard Howe | Main CFD Forum | 14 | June 17, 2001 14:41 |