cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X

AW: rename a group in a JLink program?

AndreasHellmann
12-Amethyst

AW: rename a group in a JLink program?

Use the methods for renaming a feature.

I use this with Toolkit and Weblink.

You must get the feature list of the group, then rename index 0.

Or use a method GetGroupLeader. This returns the feature to be renamed.



Andreas



This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.
2 REPLIES 2

Thanks, Andreas! That was so simple I?m embarrassed I didn?t think of it.

Here?s the code I used instead:

Feature groupLeader =
thisGroup.GetGroupLeader();


groupLeader.SetName("TIE_DOWNS");



--



Lyle Beidler
MGS Inc
178 Muddy Creek Church Rd
Denver PA 17517
717-336-7528
Fax 717-336-0514
<">mailto:-> -
<">http://www.mgsincorporated.com>

I did not read the whole thread before I answered. Good to see my
suggestion worked.
Could you test if deleting the GroupLeader also deletes the group?
Thanks,
Bjarne



Lyle Beidler <->
14-12-2009 21:38
Please respond to
Lyle Beidler <->


To
'Andreas Hellmann' <->
'Marc Mettes' <->
-
cc

Subject
[proecus] - RE: AW: rename a group in a JLink program?






Thanks, Andreas! That was so simple I?m embarrassed I didn?t think of it.
Here?s the code I used instead:
Feature groupLeader =
thisGroup.GetGroupLeader();

groupLeader.SetName("TIE_DOWNS");

--

Lyle Beidler
MGS Inc
178 Muddy Creek Church Rd
Denver PA 17517
717-336-7528
Fax 717-336-0514
-
Announcements


Top Tags