Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations IDS on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

RootParameterSet not working - CATIA API 1

Status
Not open for further replies.

NirVidP

Industrial
May 10, 2010
45
Hello,

When I access the RootParameterSet object of a ProfuctDocument.Product it does not contain any parameters.

The ProductDocument.Product.Parameters. RootParameterSet.AllParameters.Count returns 0 (zero) when there are default 5 Parameters in every ProductDocument.

What am I doing wrong?

I have explored for any Option / Setting and searched the net also without any success.

Thank you for any help.
 
Replies continue below

Recommended for you

there are default 5 Parameters in every ProductDocument.

Yes, and they are located directly in ProductDocument.Product.Parameters collection.
To filter out all other nested parameters use ProductDocument.Product.Parameters.SubList(ProductDocument.Product, False).
 
Thanks.
Does it mean RootParameterSet can contain only DirectParameters (User Parameters)?
Then what parameters the AllParameters contain in addition to DirectParameters.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor