From the Generate choice of the Design
explorer view, you can initialize the file which will contain the
code of one or more selected Macro(s).
To (re-)initialize the file which will contain the code of the
Macro, you must:
- Either right-click on an open location and select . In the selection wizard
which opens up, all the Macros present in the location are selected by default.
You can leave them all selected or deselect some of them Click Finish.
- Or right-click on a given Macro. In the selection wizard, only this Macro
is selected by default. Click Finish
This generation creates or re-initializes a .cblgen file,
one for each selected Macro, in the Navigator view. So,
go to the Navigator view, right-click on a .cblgen filet
and choose to access the 'Macrostructure tags
tree' view and the .cblgen editor, in which
you will enter the Macro code. (A contextual help is available on this view
and editor).