Hi,
Can I define a body for a part so that its hidden edges are not displayed in 2D?
For example, for this seal only the "visible edges" should be visible in the front view,
while for the profile the hidden edges should be visible?
This is a part with multiple bodies, not an assembly.
Thanks, Linda

To make this work, you have to do two things. First, in your model, make sure each body has been set to an explicit Display type (see image 1 below). Nothing should be set to 'Default'. Second, in the drawing, set the view itself to Shaded (see image 2). This will allow the body specific settings to be seen in the drawing (see image 3).
select the view in your case the "Front View" in property manager Tab look for display state and click "hidden lines removed" option
"Can I define a body for a part..." By this wording, I interpret this to mean a given body within a view is to be HLR while the remainder of the view is to be hidden.
If so, then you will need to create a Display State in the part (my example is an assembly) and set the required body to HLR and the others to hidden.
In the drawing view, select the Display State that has the required settings.
Instead of making Hidden Lines Visible on all drawings, you should make it Hidden Lines Removed as John R. Sitek shows. You can also click on your views and set them to Hidden Lines Removed in the properties manager.
Once you have Hidden Lines Removed, we can right click on a view > Select Properties > Select Show Hidden Edges > Go to the Design Tree > Select the Drawing View dropdown > Find the feature(s) of the part you'd like hidden lines for in the dropdown and select > Hit Apply
You can see the counter bore in my hole doesn't show up with hidden lines but the pin inside does.
Use two Views. In one of the Views select the single body and change it's line style. The Align the Views. See video.