Cancel
Showing results for 
Search instead for 
Did you mean: 

ICS_set_values_for_classification_obj error 71525

Legend
Legend

When I call ITK function ICS_set_values_for_classification_obj() the error_code check show

 

error 71525 The Attribute is not unique

 

Where is the bug?

6 REPLIES 6

Re: ICS_set_values_for_classification_obj error 71525

Gears Phenom Gears Phenom
Gears Phenom

Good afternoon,
in the attributeNames array do not have duplicate elements?

Highlighted

Re: ICS_set_values_for_classification_obj error 71525

Legend
Legend

No, all elements are different

 

And I also noticed that this function call dont change attribute value. But only this error appear, no any errors.

classification_user license used.

Re: ICS_set_values_for_classification_obj error 71525

Gears Phenom Gears Phenom
Gears Phenom

Try to pass functions only one attribute and one value, in which case the same will be an error?

Re: ICS_set_values_for_classification_obj error 71525

Legend
Legend

@ArthurRM wrote:

Try to pass functions only one attribute and one value, in which case the same will be an error?


I tried and  got other error: 71002 Missing Parameter :smileyfrustrated:

Re: ICS_set_values_for_classification_obj error 71525

Gears Phenom Gears Phenom
Gears Phenom

Give an example of how you call a function and what parameters you pass. Perhaps this is a Teamcenter error and it may be necessary to install a patch

Re: ICS_set_values_for_classification_obj error 71525

Legend
Legend

Problem has been solved.

 

I made some code changes to fix it. Deep debug show the null value in attr_names array