I do not have too much experience with custom line styles so I apologize if I am missing something simple.
I have a line style defined with a scale factor of 3.937 as you can see here:
If I create an element and change its line style like so:
LineStyle lineStyle = Ms.Com.ActiveDesignFile.LineStyles.Find(name);
elem.LineStyle = lineStyle;
the line style scale is set to the scale for whatever my active line style is for that element.
For example, I create the element and set the linestyle while the "0" line style is selected in my active line styles, the line style scale is set to 1.0
Shouldn't it be using the 3.937 value?
Is there a way of getting the LineStyleParameters from a LineStyle as it is not currently a property of LineStyle?
If I can retrieve the line style properties, then I imagine I can overwrite the values in the Element using elem.SetLineStyleParameters