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

Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X

How to correctly use AddRow() for Family Tables?

frage12358
6-Contributor

How to correctly use AddRow() for Family Tables?

Hello,

 

I am using the Web.Link API and have the following problem:

 

I am currently trying to build upon the pfcFamilyMemberExample. I have modified the code to select all features instead of dimensions and now I want to add a row where all features are disabled by default.

This is the code I have so far:

 

var session = pfcGetProESession();

var solid = session.CurrentModel;

...

var value = pfcCreate("MpfcModelItem").CreateBoolParamValue(false);

var values = pfcCreate("pfcParamValues").Append(value);

solid.AddRow("NewChild", values);

 

However this does not end with the correct result, as the new row is created but the value is set to default and not false.

 

All ideas how to solve this are greatly appreciated!!

0 REPLIES 0
Top Tags