Warnlevel - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


SysMLConnector

  

Warnlevel

  

control display of warnings for the SysMLConnector package

 

Calling Sequence

Parameters

Returns

Description

Examples

Calling Sequence

Warnlevel(n)

Warnlevel()

Parameters

n

-

nonnegint; new warning level

Returns

nonnegint; the previous warning level

Description

• 

The Warnlevel(n) calling sequence sets the warning level for all commands in the SysMLConnector package to n. The greater n, the more warnings will be printed, and n=0 will suppress all warnings. The default warning level is 1. This is a global setting.

• 

The Warnlevel() calling sequence just returns the current warning level.

Examples

withSysMLConnector

ClearChangeSet,Commit,Connect,GetBinding,GetChildren,GetConstraint,GetInstances,GetSlots,GetValue,Login,Logout,PrintChangeSet,PrintElement,PutConstraint,PutValue,QualifiedNameOf,QueryModel,Warnlevel

(1)

The default warning level.

Warnlevel

1

(2)

Suppress all warnings.

Warnlevel0

1

(3)

Warnlevel

0

(4)

See Also

SysMLConnector