All formulas have been lost due to the encapsulation of the discipline components and the usage of interface parameters. In addition all values can now be determined in the mechatronic structure!
Parameterizing M_Body
- Open the component M_Body.
- Switch to the Parameter editor page.
- Enter the following formula for the Heading parameter:
=mc.name
- Enter the following formula for the Logo parameter:
=type('T_Images.Logo').image
- Enter the following value for the Socket parameter:
Chapter
- Save the component.
Parameterizing M_Chapter
- Open the component M_Chapter.
- Switch to the Parameter editor page.
- Enter the following formula for the Heading parameter:
=switch mc.mos('T_Office_Word.Wrapper.M_Chapter').indexOf(this)
{
case 0 : 'Actuators'
case 1 : 'Sensors'
else : 'Not defined'
}
- Enter the following value for the Plug parameter:
Chapter
- Enter the following formula for the Socket parameter:
=$Heading
- Save the component.
Parameterizing M_Row
- Open the component M_Row.
- Switch to the Parameter editor page.
- Enter the following value for the Descriptor parameter:
=mroot.name + mc.absoluteName.substring(mroot.absoluteName.size, mc.absoluteName.size - 1)
- Enter the following value for the Icon parameter:
=type('T_Images.Actuators_Sensors_Imageregister').image(mc.type)
- Enter the following formula for the Plug parameter:
=switch mc.isInstanceOf('T_Mechatronic_Architecture.Levelcomponents.Actuator')
{
case true : 'Actuators'
case false : 'Sensors'
else: 'Not defined'
}
- Enter the following formula for the Socket parameter:
=mroot.rmos.indexOf(this) + 1
- Save the component.