Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations cowski 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
Joined
May 10, 2010
Messages
45
Location
IN
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.
 
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

Back
Top