when i open one drawing i want to change mbuttonpan value is 1. how can change the value 1 ever? and polyline thickness also i want to change in option. please send the solution.
MBUTTONPAN variable stores in the registry, no reason to change in a drawing.
PLINEWID stores in a drawing, change it in your template drawing.
For any drawing that you open and you need to set default PLINEWID, make it happen by using ACADDOC.LSP
As my previous mail, I don't get clear answer from you. Please mention how I can solve these problems?
1) I need to change mbuttonpan value 1, when I open every drawing.
2) I need to change polyline width in option, when I open every drawing.
Please give the correct answer for these problems, or attached jpg for this.
MBUTTONPAN is a variable you set it once and it doesn't change the next time you open another drawing, if you have to reset it to 1 all day, you need to repair your autocad.
PLINEWID is not a variable you change in OPTIONS, you choose your pline width for default and save your drawing as a template.
Both of those variables can be set by using ACADDOC.LSP (Hit F1 and read about it) and input whatever you want when a new drawing is opened.
(setvar "mbuttonpan" 1)
(setvar "plinewid" 25)