########################################################################
#     This file contains the configuration of MES Model & Refactor®    #
########################################################################

############### General parameters for all actions #####################
[general]

# Determines if port blocks created by actions are automatically named.
AutoNamePortBlocks = true

# If actions have to position elements in subsystems without other
# elements to align with, these are the default margins used.
MarginTop = 30
MarginLeft = 30

# Here you can set the maximum number of recently used actions that are
# displayed at the top of the MoRe menu.
MaxRecentlyUsedActions = 5

################ Default Parameters For Created Objects ################
# In this section you can define default parameters for objects created
# by the tool (lines, blocks). The parameters are categorized by the
# Simulink type of the object. You can add all kind of parameters and
# values you can set by the set() function of the Simulink API.


# Default parameters for created lines.
[line]
#SignalPropagation = 'on'


# Default parameters for created blocks.
# If you want to set parameters for specific blocks
# (e.g. depending on block type and/or mask type),
# you can use the function MoRe_hook_BlockParameters from the hooks folder.
[block]
#ShowName = 'off' 


###################### Action Specific Options #########################
# In this section you can customize individual actions.

[auto_layout_actions]
# Set this parameter to true if you want to set default parameters for
# blocks and lines when applying the "Auto Layout" or "Refine Layout"
# action. For example, if you want to color all Inport blocks green. 
# The action then sets the parameters from the "Default Parameters for
# Created Objects" section above and those returned by the
# "Hook for Block Parameters" function, which can be opened from the
# "Preferences" submenu. The action sets the parameters for all blocks
# and lines in the current subsystem, or only for the selected ones if
# you apply the action to a selected subarea.
ApplyMoRePreferencesToBlocksAndLines = false

# Set this parameter to true if you want "Auto Layout" or "Refine Layout"
# to change the block heights to reduce line bends. The block height is
# changed only in specific cases, e.g. for a bus selector in front of
# a subsystem.
OptimizeBlockHeights = true

[auto_layout]
# Set this parameter to false if you do not want to reposition the blocks 
# without a port, such as doc blocks or TL reference blocks, when applying 
# the "Auto Layout" action.
IncludeBlocksWithoutPorts = true;

[match_block_size_to_icon_text]
# Default padding for width and height used by the "Match Block Size to
# Icon Text" action.
# If nothing is set, defaults to
#PaddingWidth = 6
#PaddingHeight = 8