Message 1 of 10

Not applicable
10-14-2020
02:38 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi all,
I'm trying to create a Macro that will create a polyline with a linetype scale specified by the system variable LTSCALE, so far all I've been able to do is stall my autocad and I'm not too sure where I'm going wrong. This is my first time using DIESEL code so apologies if I'm using it incorrectly
^C^C -pline\ w; 0.8; 0.8;; -chprop;l;;s;$M=$(if, $(=, $(getvar,ltscale), 1), 2 [,$(if, $(=, $(getvar,ltscale), 50), 0.04 [,$(if, $(=, $(getvar,ltscale), 100), 0.02 [,$(if, $(=, $(getvar,ltscale), 200), 0.01 [, 0.005])])])]);
if it's relevant I'm 'calling' the macro from the Run Script... pallette command.
Thanks for any advice
Solved! Go to Solution.