This functionality is only available for certain module packages.

You are here: Reference > Formula Language > Formulas > Components > Navigation methods for discipline-specific components

Navigation methods for discipline-specific components

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:

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: