You want to calculate the cost of a Structural Shape component based on a standard cost per meter x length.
The solution is to apply the following procedure for each Structural Shape family you are going to use in Frame Generator.
- Copy the family in a Read/Write library.
- Open From Content Center and insert one member of the family with the option As Custom.
- Go to Parameters dialog.
- Create a new User Parameter: CostPerMeter and set its unit to Unitless. Set the value according to your requirement.
- Create another new User Parameter: Cost and set its unit to Unitless. Set the equation for Cost to “G_L / (1 m) * CostPerMeter”.
- Check the Export checkbox for the parameter Cost.
- Edit the parameter Cost Property Format for not displaying the Unit String.
- In the CC Editor, Replace Family Template selecting this file.
- In the Family Table, define a new column and map it to the custom property.
After that, every family member generated with Frame Generator will have the Cost property in the Custom tab in iProperties and it can be referenced by BOM table.
And you can easily edit the Parts List if you want to display the total cost of all the components with the same length.
The video below shows all the steps described above.
Ale



Subscribe
Comments