Difference between revisions of "Exporting a Macro"

From Flowcode Help
Jump to navigationJump to search
 
(15 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[File:Eg_Exporting_a_Macro_01.png]]
+
<sidebar>Sidebar: Flowcode Help Overview:Macros</sidebar>
 +
[[File:Gen_Exporting_a_Macro_01.png|right]]
  
Macros you create can be exported to a file for later use. Select the Export option from the Macro menu. Flowcode will first ask you to select the macro you wish to export and then ask you for a filename. Flowcode macros are exported with the file extension .FCM
+
Macros you create can be exported to a file for later use by [[Importing a Macro|importing the macro]] in another project.  
  
 +
Select the 'Export' option from the 'Macro' menu (Macro > Export...).
  
If the Read Only tick box is ticked then the exported macro will be locked making the macro unable to be edited when importing back into other Flowcode programs.
+
Flowcode will then ask you to select the macro you wish to export and then ask you for a filename to save the file.
 +
 
 +
Flowcode macros are exported with the file extension .FCM
 +
 
 +
 
 +
If the 'Read Only' option is checked then the exported macro will be locked and unable to be edited when importing into other Flowcode program.
 +
 
 +
 
 +
If the 'Private' option is checked then the macro's code will be classed as 'hidden' when importing the macro. The code inside the macro will not be shown but the macro can still be referenced by the program in the usual way.
 +
 
 +
 
 +
By default all macros are for private use and are 'hidden'. This is to let Flowcode know which ones to expose, the [[Interface Manager]] needs to be used to declare any or all of the macros as public - either simulation only or downloadable 'component macros'.

Latest revision as of 16:24, 7 March 2014

<sidebar>Sidebar: Flowcode Help Overview:Macros</sidebar>

Gen Exporting a Macro 01.png

Macros you create can be exported to a file for later use by importing the macro in another project.

Select the 'Export' option from the 'Macro' menu (Macro > Export...).

Flowcode will then ask you to select the macro you wish to export and then ask you for a filename to save the file.

Flowcode macros are exported with the file extension .FCM


If the 'Read Only' option is checked then the exported macro will be locked and unable to be edited when importing into other Flowcode program.


If the 'Private' option is checked then the macro's code will be classed as 'hidden' when importing the macro. The code inside the macro will not be shown but the macro can still be referenced by the program in the usual way.


By default all macros are for private use and are 'hidden'. This is to let Flowcode know which ones to expose, the Interface Manager needs to be used to declare any or all of the macros as public - either simulation only or downloadable 'component macros'.