the dimension (2d/3d) of the definition can not be detected automatically, therefore it should be set manually