ResourceAssignment method. Sets units for assignment of a material resource with variable material consumption. The variable material consumption means that as the assignment duration changes the quantity of materials used changes proportionally...mpp" ); var task = project . RootTask . Children...ResourceAssignments . Add ( task , materialResource ); // Suppose...