Component Display Line Style - SW Drawing

Hi folks,

I having been looking for a property to set the option as shown in the image #2 to an assembly drawing view.

I did not find anything in the ::DrawingComponent:: class.

1) Context menu option:

2) Line font properties dialog:

1 Answer

1

SetLineStyle
https://help.solidworks.com/2019/english/api/sldworksapi/SolidWorks.Interop.sldworks~SolidWorks.Interop.sldworks.IDrawingComponent~SetLineStyle.html

There's no property to set "Apply to:" in the mentioned method.

–

Do you want to get the selected line in the engineering drawing?

–

It's intended to apply the line style for only the selected components. I did not find the "From selection" option in the class' methods nor properties.

–

Sorry, I can't solve this problem either.

–