Cause
The setting of the Type of usage property is not correct at the macro box. The text with the error cause is output in the placeholder <x> of the message.
Cause |
Additional information |
Solution |
---|---|---|
'Not specified' type of usage used |
A macro box with the 'Not specified' type of usage is taken into consideration both during the automatic generation of macros (in macro projects) as well as during the update of the macro. This does not make any sense except in special automation solutions. Nested macros are structured from the inside to the outside. The types of usage are therefore to be specified (from the outside to the inside): 'Defining', 'Referencing', 'Subordinate'. The 'Defining' setting only makes sense in macro projects. |
Correct the type of usage. |
'Defining' type of usage used in the schematic project |
The 'Defining' type of usage is used in macro projects to specify that the macro box is to be taken into consideration during the automatic generation of macros. This functionality is not available in schematic projects. Therefore this type of usage does not make any sense in schematic projects. |
Set 'Referencing' as the type of usage if consideration of the macros at automatic updating is desired. If not desired, set the 'Subordinate' type of usage. |
'Defining' type of usage within a surrounding macro box that is 'Referencing' or 'Subordinate' used |
Nested macros are structured from the inside to the outside. The types of usage are therefore to be specified (from the outside to the inside): 'Defining', 'Referencing', 'Subordinate'. The 'Defining' setting only makes sense in macro projects. |
Correct the type of usage. |
'Referencing' type of usage within a surrounding macro box that is 'Referencing' or 'Subordinate' used |
Nested macros are structured from the inside to the outside. The types of usage are therefore to be specified (from the outside to the inside): 'Defining', 'Referencing', 'Subordinate'. The 'Defining' setting only makes sense in macro projects. |
Correct the type of usage. |