TheSwamp
CAD Forums => CAD General => Topic started by: craigr on February 04, 2009, 04:20:13 PM
-
Believe it or not, we only use 2 widths of PLines.
One of my first macros that I ever wrote was to start the PLine command and set the width to .03 -
^C^C_osnap;off;Snap;on;_-linetype;s;continuous;;celtscale;1;_z;ex;_pline;11.63,1.14;w;.03;;12.7,1.14;;_erase;12,1.14;;z;pre;_pline
Basically it makes Pline in some obscure place to the widths that I want then erases that line, then asks for my starting point of the PLine I want to keep.
This is probably pretty sloppy by you folks standards but it USUALLY works fine. The problem is that it sometimes 'craps' out halfway thru.
What I am trying to achive is to draw a PLine with the width already set to .03 or .02 without having to manually change the width each time. - Have an Icon for .02 & .03, click on it and go!
Is there an easier way that won't 'crap out'?
craigr
-
Can't you just add (setvar 'plinewid 0.03) ?
-
Not in LT Ron, but that can be called as a command ' plinewid ', and then just jump into the pline command.
-
Not in LT Ron, but that can be called as a command ' plinewid ', and then just jump into the pline command.
No setvars in LT?......ouch
-
Can't you just add (setvar 'plinewid 0.03) ?
Here's what I wrote -
^C^C_setvar;plinewid;.03;Pline
It worked Great!!
Thanks you.
-
Can't you just add (setvar 'plinewid 0.03) ?
Here's what I wrote -
^C^C_setvar;plinewid;.03;Pline
It worked Great!!
Thanks you.
Glad to help :)
-
Since I have been 'self taught' - with MUCH help from you folks, I am sure that there are MANY variables, settings & methods of doing things that I have yet to discover.
I appreciate all of the help you folks give and I even try to help the few times someone doesn't know something that I do. :)
I have also been cruising Kate's blog and learn quite a bit about things from there.
Thanks again,
craigr
-
Believe it or not, we only use 2 widths of PLines.
That means you use one more than us. :-)
All ours are set to Width=0.
-
You could conceivably draw all your plines at any width, but keep them on separate layers. Then just use qselect.