Add attributes to line basic material