API Help
Eplan.EplApi.HEServices Namespace / ProjectManagement Class / CompressProject Method / CompressProject(Project,String) Method
Project to be compressed.
Configuration scheme. If an empty string is passed to the parameter, the last\-used scheme will be reused which is currently set in GUI.

CompressProject(Project,String) Method
Compresses a project.
Syntax
public void CompressProject( 
   Project oProject,
   string strConfigScheme
)

Parameters

oProject
Project to be compressed.
strConfigScheme
Configuration scheme. If an empty string is passed to the parameter, the last\-used scheme will be reused which is currently set in GUI.
Exceptions
ExceptionDescription
Thrown in case of missing arguments.
Thrown in case if invalid arguments, e.g. an invalid project is set.
\Internal interface for compressing could not be created.
An error occurred when compressing the project.
An error occurrs when used scheme name doesn't exist
See Also