Class Project


You have to include the header Project.h.

class Project

This class represents a Project in Instant Terra.


Error − In any of these commands, if the communication is off, the following error code will be reported ErrorCode::CommunicationError.

// Get the default project on Instant Terra
InstantTerra instantTerra = CreateInstantTerra();

Project project = instantTerra.GetProject();

void Project::GetFileName(wchar_t *buffer, int bufferLength)

Fills the buffer with the project's complete file name. The name is an empty string for new projects.

Graph Project::GetGraph()

Returns the project's Graph.

bool Project::IsProjectAvailable()

Returns true if a Project is opened and available.

void Project::Save(const wchar_t *projectName)

Saves the Project.

void Project::Close()

Closes the Project.

Copyright © 2022 · All Rights Reserved · Wysilab