How to get the name of "Group"?

Hi all:

   In the Dft, I want to get the Group's name.

   I use the group.get_name(), but error.

   In help, This has a object --- Recurse Parameter , What is this?

   Please help!

   Thanks!

 

Posted by: fat kids
Post date: 11/21/2010 3:59:15 PM

3 REPLIES

RE: How to get the name of "Group"?

As far as i know, i never heard about a get_name() function or a recurse parameter.

In the Group object you have a Group.Name property which is the internal name that SOlid edge gives to any group and the Group.UserdefinedName which is the name that the user manually gives to a Group.

HTH,

Julian

 

Posted by: Julian Guillo
Post date: 11/22/2010 11:35:36 AM

RE: How to get the name of "Group"?

Thanks, Julian Guillo!

"UserdefinedName" is what I want.

But,

 

SE-ST's help file has Group.Name description, but not in the VS2008's object browser, only Group.get_Name

 

 

Posted by: fat kids
Post date: 11/22/2010 6:02:10 PM

RE: How to get the name of "Group"?

Hi,

 

I haven't checked, but I assume that you're using C# and Name is a parameterized property. C# doesn't support properties with a parameter (with the exception of indexers) so any imported COM properties that have one are split into get_PropertyName and set_PropertyName methods.

 

Calum

 

Posted by: Calum McLellan
Post date: 11/22/2010 9:25:51 PM