Is there a lisp where i can go to paper space make the viewport active. Then run the lisp to get all layers that is turn off and frozen, assign them to a variable.
Then i can go back to model space...
Type: Posts; User: j_spawn_h
Is there a lisp where i can go to paper space make the viewport active. Then run the lisp to get all layers that is turn off and frozen, assign them to a variable.
Then i can go back to model space...
I used a piece of another lisp that is why that was in there. I changed and it works great.
Tharwat,
Well my goal is to use this and try and merge another lisp so I can swipe a lot of lines...
I figured it out now for some reason it is giving me an error.
; error: bad argument type: stringp nil
But when I run one of my other lisps then run this one it works.
Any ideas on why?
...
This does what I want except for one thing. I am not sure how to change it. I only want it to ask me once what the spacing is, but it is asking me each line for spacing.
;Version 1.00
(defun...
I want to add in my lisp to check for a layer in the drawing before the lisp runs. If there cont. if not there maybe pop a box or in the command line say the layer is missing then end the lisp. I...
That is a good point Lee, but right now it doesn't matter which one is first or last. Good to know if I need to set certain lines. Do any of y'all know a thread to read about changing dimension stuff...
Thanks Tharwat. This did what I asked but it seems I am not as good as I thought. I could not find the mid point of the first line. Could you give a suggestion or help here. Here is what I tried to...
Can someone help me. If i select multiple lines by using ssget. How can I get it to know which line is the first and last line of the selection? Is there a lisp already doing this? I have the code to...
I want to label multiple lines using the dimensions based off their lengths. I want to select mutliple lines and the ones that are close to each of their lengths be labeled. If i have 4 lines that...
Thank you Lee That will work.
Is there a lisp that can turn off layers with part of the layer name. For example
file full of xrefs and i want all the dimensions turned off. Well they all have the dim in the layer names, but they...
So did one look at this know how to do this with my lisp? I keep trying different things but not working.
Ok Lee,
I read your thread and I kinda get it but it seems when I put it to use on this big routine I get lost what is what. I added the while in and it loops, but it does not stop and finish the...
Wow! I asked for it and boy did I get it. Thank you very much.. I will take that info and study it and see if I can learn how to use it. Man someone is going to think it is Christmas in this Thread..
Irnbe,
I would like for the box not to come up again. Just keep drawing and labeling the beams.
Lee,
I am new at this so that part of the code I got from someone else here in this...
I think I know I need the "while" but not sure where to put it and what I am missing for it to work. I tried a few places but nothing seems to be right. I looked at all the other posts and sites. I...
Msasu,
Thank you very much it worked great. I thought since I had a different question about the lisp that I needed a new thread, so it would not get looked over. I knew about the case sensitive but...
This was working correctly until I add a few lines of code then now it is stuck. The width, depth, suffix, suffixs are stuck on the same answer no matter what I select. I know it is a small error in...
Thanks for the help, but the code to move the text did not work. I did change the ifs to conds. The reason for the extra variables was for me to check things in different locations so I can figure...
This lisp does just what I want. I wrote it and rewrote it until I got it to do what I want. Thanks to the help of you guys here it started from some lisp y'all wrote. What it does is labels poly...