Grid space is not increasing.

On 26/04/2018 at 04:35, xxxxxxxx wrote:

User Information:
Cinema 4D Version:   R19 
Platform:   Windows  ;   
Language(s) :     C++  ;

I have written below code to increase the grid space but not getting the desired result. So please tell me what I am doing wrong here.

BaseDraw* bd = doc->GetActiveBaseDraw();
if (!bd)
return false;

After calling the above code still showing 100 cm (default grid space).

On 27/04/2018 at 05:30, xxxxxxxx wrote:


actually I see nothing wrong with your code.Maybe you missed that grid spacing is only taken into account, if legacy mode is enabled (set BASEDRAW_DATA_PLANE_LEGACY_MODE to true).

On 30/04/2018 at 04:50, xxxxxxxx wrote:

Thanks, Andreas, It has been resolved.