Does anyone know if it is possible to set the value of one or more "custom" column of an iPart row.
Per example woul this iLogic method work?
iPart.ChangeRow("iComponentName:1", "RowMemberName", customParam1, customParam2)
If so, could you demonstrate how to use it?
If not, would you have another suggestion?
Thanks in advance
Solved! Go to Solution.
Here's a workflow to demonstrate this function:
Create an iPart. Make one of the columns (sample name Width) into a custom column.
Save the iPart as CustomTest.ipt
Make 3 member rows in the table. These would by default have the Member names:
Create a new assembly. Place the iPart as a component in the assembly.
Create a numeric parameter named iPartWidth in the assembly. Set it to a value that is reasonable for your part.
Create a Text (or String) parameter named iPartMemberName in the assembly. Make it a multi-value parameter. Give it the list of values:
Note the name of the iPart component in your assembly Model browser. It will probably be CustomTest-01:1
Add this rule:
iPart.ChangeRow("CustomTest-01:1", iPartMemberName, iPartWidth)
Then you should be able to change the iPartMemberName and iPartWidth parameters, and the iPart component will update to show your changes.
If you manually change the row in the iPart table in the assembly, the component name may change. To keep the rule working, you should then rename the component (in the Model browser tree) to its original name CustomTest-01:1
You only have to rename it once, and then it will remain constant.
Kindly download the zip file from the below link (since the file size is big).
i found my logic does not Chaning custom column. Request you to kindly go through the code and tell me what type of bug is this...... or where i am going wrong
Note: Need suggestion to create icomposite for to "control angle of component placement".
Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register
Start with some of our most frequented solutions to get help installing your software.