MessageSection Object
Description
A MessageSection object can be used to clear, adopt or retain error/warning messages created during the section.
Methods
AdoptMessages |
Method that adopts all messages within this section under the specified message and terminates the section. |
ClearMessages |
Method that clears all messages within this section and terminates the section. |
End |
Method that retains all the messages within this section as is and terminates the section. Calling this method is not required if either the ClearMessages or the AdoptMessages method has been called. |
Properties
Application |
Returns the top-level parent application object. When used the context of Inventor, an Application object is returned. When used in the context of Apprentice, an ApprenticeServer object is returned. |
HasErrors |
Property that returns whether this message section has any errors reported in it. |
HasWarnings |
Property that returns whether this message section has any warnings reported in it. |
Parent |
Property that returns the parent ErrorManager object. |
Type |
Returns an ObjectTypeEnum indicating this object's type. |
Accessed From
ErrorManager.StartMessageSection
Samples
Version
Introduced in version 2010