CLOSE_NOTEBOOK

CLOSE_NOTEBOOK closes the notebook of a certain object.

Syntax

CC "Modeling" CLOSE_NOTEBOOK objid:intValue.
# --> RESULT ecode:intValue.

Parameters

objidintValue

Returns

ecodeintValue, Contains the error code or is 0 in case of success.

Remarks

Attention

Closing the own notebook while executing a PROGRAMCALL is not allowed and leads to a crash.

See Also

Example