Ok so I have a geometry sequence that I'm reading in with inconsistently ( although similarly) named primitive groups, eg (foo, Foo_, foo01, etc.) but they all represent a group I want to isolate. Is there a simple way I can change that group to say FOO without renaming each instance individually?
Thanks in advance
Lyn
pattern matching within group sop
4025 4 2- tallkien
- Member
- 225 posts
- Joined: 7月 2005
- Offline
- Antoine Durr
- Member
- 321 posts
- Joined: 7月 2005
- Offline
tallkienProbably the best you'll get from this is matching *oo*, assuming you don't have any groups named ‘goobert’. I'm sure you've recognized by now the impact of not using consistent naming schemes. If *oo* doesn't grab all the group names, but you can make a Perl regular expression that does, you can rename the groups in the Unix SOP using ‘perl -pe s/old/new/’ syntax.
Ok so I have a geometry sequence that I'm reading in with inconsistently ( although similarly) named primitive groups, eg (foo, Foo_, foo01, etc.) but they all represent a group I want to isolate. Is there a simple way I can change that group to say FOO without renaming each instance individually?
Thanks in advance
Lyn
- tallkien
- Member
- 225 posts
- Joined: 7月 2005
- Offline
- goldfarb
- スタッフ
- 3456 posts
- Joined: 7月 2005
- Offline
- tallkien
- Member
- 225 posts
- Joined: 7月 2005
- Offline
-
- Quick Links