InvTableCell is a mixin containing rules that can be used by other designs without a need to inherit from it.
We do not use it alone, we use it to add the rules to other designs.
Parameter Rules
invContent: A cell is an intersection of a row and column. This content represents the data in the cell.
Example:
var TopLocation = R.rootModel.Tables.Tables0.TableTopGroup.TableTop0;
var LegLocation = R.rootModel.Tables.Tables0.LegPairGroup.LegPair0.LegGroup.Leg0;
var LegLocationQty = R.rootModel.Tables.Tables0;
var TableTopBDFT = TopLocation.volume / 144 ;
var LegBDFT = LegLocation.length * LegLocation.length * LegLocation.height / 144 ;
var LegQtyBDFT = LegLocationQty.NumberofLegs * LegBDFT
var TableVolume = TableTopBDFT + LegQtyBDFT;
var OakCost = Math.round(TableVolume * Number("4.35") , .1 ) ;
var BirchCost = Math.round(TableVolume * Number("4.80") , .1 ) ;
var CherryCost = Math.round(TableVolume * Number("6.15") , .1 ) ;
var WalnutCost = Math.round(TableVolume * Number("10.60") , .1 ) ;
return [["Oak", "4.35", OakCost.toString()],["Birch", "4.80", BirchCost.toString()],["Cherry", "6.15", CherryCost.toString()]["Walnut","10.60", WalnutCost.toString()]]
Mixins
InvObjectMixin
RULE NAME |
TYPE |
DEFAULTS |
CATEGORY |
FLAGS |
---|---|---|---|---|
invContent |
string |
"" |
Inventor |
Cached |
UI Designs that use the InvTableCell:
1.InvCustomTableCell