I have problem with setting scale for linestyle in c#. If anyone found working solution please share it.
So far I tried to use ElementPropertiesSetter SetLineStyle function because this function takes LineStyleParameters as param but i can't create LineStyleParameters because it does not have constructor.
I tried to get LineStyleParameters from ElementPropertiesGetter and I get some but I can't change Scale for that object, it stays unchanged after lineStyle.Scale = scale.
Hi Damian Holubowski,
Here is a post similar to yours that provides a (best practice) final working code snippet to share with others having similar future needs.
Hi Robert Hook
I need to set this value codebehind:
I don't know how this "byLevel" feature works. For now i have resource file with defined linestyles and I do just that:
SetLinestyle(BNET.LineStyleManager.GetNumberFromName(lineStyle, dgnFile), null);