CoN73mP7 wrote:Hi,
im just playing around with the .net API of TM1. Is there a way to create a cube with the C# API? I've looked at the sample Code but ist written in C++ or VB and they use Methods, I don't seem to have like a Method
Code: Select all
hCube = TM1CubeCreate( hPool, voServer, voArrayOfDim );
I'm afraid not. In the words of IBM Support (quoted in
this thread):
The TM1 .NET API was developed mainly for read-only functionality, and there are no plans to transition/include the full functionality of the current TM1 API over to the TM1 .NET API. If you require the ability to create cubes and dimensions, you'll need to use the current TM1 API for this functionality.
Put another way, the .Net "API" is barely worthy of the name IMHO. (Particularly the "P" in the middle.)