Navigation methods for discipline-specific components only deliver meaningful results within the discipline structure, i.e. these methods don't deliver any value within the mechatronic structure.
The following formula can be used to ensure that a correct value is displayed in the discipline-specific structure and that an explanatory text is displayed instead of an error message () in the mechatronic structure:
=if(not(origin.isNull())) then dc // this part should be replaced by the formular needed else 'Calculation is performed only in discipline structure' endif
Explanation:
not(origin.isNull()) navigates to the mechatronic component in which the discipline-specific component is contained and checks whether the formula does not return the value null there.
If this is the case, you are in the discipline structure and can have the desired calculation carried out.
If this is not the case, you are in the mechatronic structure and the value is replaced by the text Calculation is performed only in discipline structure.
More: