Unable to set gridgraph height and width from code

hi, thanks for taking the time to reply. i have read that article and tried to use graphupdatescene from script without any positive results. i think this is because GetComponent().Apply (); only initiates the scan on startup but as the width and depth values are defaulting to 10 it doesnt graph the entire space i need.

i also notice that in the inspector that the depth and width values have a little lock icon next to them. does this matter? do i need to toggle some value to unlock them so they will recognize the new values i want?

hopefully arron will post a reply to this soon cauz im running out of other stuff to do till i can get this fixed.