Grasshopper API
GH_ArchiveMessageCount Method (Boolean, Boolean, Boolean) |
Gets the number of messages recorded since the most recent IO operation began.
Message count can be filtered by message type.
Namespace: GH_IO.Serialization
Assembly: GH_IO (in GH_IO.dll)
public int MessageCount( bool includeInfo, bool includeWarnings, bool includeErrors )
Public Function MessageCount ( includeInfo As Boolean, includeWarnings As Boolean, includeErrors As Boolean ) As Integer
Parameters
- includeInfo
- Type: SystemBoolean
If true, info messages will be included in the count. - includeWarnings
- Type: SystemBoolean
If true, warnings will be included in the count. - includeErrors
- Type: SystemBoolean
If true, errors will be included in the count.
Return Value
Type: Int32The number of recoded messages that pass the type filters.