Page 1 of 1

Control Cube Maximum Number of Dimensions

Posted: Mon May 11, 2015 2:00 am
by RCO
Hi All,

We have a couple of custom built control cubes ( "}Cube" ) in our model which we create using TI, so far all cubes have from 2 to 3 dimensions and all works fine. However, we have come across with something unusual or we may not be aware of this;
We tried to create a control cube with 4 dimensions and it seams that this is not possible. The only error we can see is:
Error: Prolog procedure line (58): Cube creation fails for cube "}EOM Timetable".
The cube is still created but with only 3 dimensions.
If I try to create the cube with the same name but with only 3 or 2 dimensions (regardless on the order) then there is no error and the cube is created.

Do any of you know if there is an actual limitation on the maximum number of dimensions in a control cube?

Re: Control Cube Maximum Number of Dimensions

Posted: Mon May 11, 2015 2:59 am
by Alan Kirk
RCO wrote: We have a couple of custom built control cubes ( "}Cube" ) in our model which we create using TI, so far all cubes have from 2 to 3 dimensions and all works fine. However, we have come across with something unusual or we may not be aware of this;
We tried to create a control cube with 4 dimensions and it seams that this is not possible.
Yes it is. I've just done it. Several times, using various combinations of dimensions.
RCO wrote:The only error we can see is:
Error: Prolog procedure line (58): Cube creation fails for cube "}EOM Timetable".
The cube is still created but with only 3 dimensions.
Are you absolutely sure about that? Because that does not strike me as being likely. I'm not saying that it's impossible, but this is unlike any behaviour that I've seen. What is possible, and the sort of thing that I have seen with that error, is that the 3 dimensional cube is left over from a previous creation and that either you didn't do a CubeExists / CubeDestroy pair of actions on it, or that you have the code on the wrong tab. (Which tab is it on, by the way?)
RCO wrote:If I try to create the cube with the same name but with only 3 or 2 dimensions (regardless on the order) then there is no error and the cube is created.

Do any of you know if there is an actual limitation on the maximum number of dimensions in a control cube?
The principal difference between a cube with a brace in front of it and any other cube is just in what the GUI will and won't let you do with it. Aside from that there is no real restriction. (Obviously I speak here of custom cubes, not some of the critical ones that the system relies on.)

Re: Control Cube Maximum Number of Dimensions

Posted: Mon May 11, 2015 3:15 am
by RCO
Hi Alan,

Thank you for the prompt reply.
You are right, a 3 dimensional cube was left over from a previous creation (an old prototype).
We have deleted this from the data directory and restarted the service and the cube is now created successfully.

Once again thank you for your kind reply :)