ttray33y Posted October 13, 2015 Posted October 13, 2015 I have a selection set already and wanted to convert those polyline to revcloud however the acad revcloud function only allow last or point. it this doable guyz? I tried this in microstation and it did convert those pline to revcloud at once. Quote
pBe Posted October 13, 2015 Posted October 13, 2015 Sure you can. (defun c:demo ()(if (setq ss (ssget))(repeat (sslength ss)(command-s "_Revcloud" "_Object" (ssname ss 0) "_n")(ssdel (ssname ss 0) ss)))) But all preparations should be done beforehand like arc length etc... Quote
Lee Mac Posted October 13, 2015 Posted October 13, 2015 Try something like this: (defun c:mrc ( / c i s ) (if (setq s (ssget "_:L" '((0 . "ARC,CIRCLE,ELLIPSE,LINE,*POLYLINE,SPLINE")))) (progn (setq c (getvar 'cmdecho)) (setvar 'cmdecho 0) (repeat (setq i (sslength s)) (command "_.revcloud" "_o" (ssname s (setq i (1- i))) "") ) (setvar 'cmdecho c) ) ) (princ) ) EDIT: pBe beat me to it Quote
pBe Posted October 13, 2015 Posted October 13, 2015 ...EDIT: pBe beat me to it Its one of those rare occurrences like when a massive meteor hitting our planet Quote
BIGAL Posted October 13, 2015 Posted October 13, 2015 Why not just change line type ? We have a 1/2 circle line type. It was a big hammer hitting a little problem Quote
Lt Dan's legs Posted October 13, 2015 Posted October 13, 2015 Lee, didn't you do a revcloud lsp before? Quote
Lee Mac Posted October 13, 2015 Posted October 13, 2015 Lee' date=' didn't you do a revcloud lsp before?[/quote'] I don't recall writing one - but I know that CAB did. Quote
Lt Dan's legs Posted October 13, 2015 Posted October 13, 2015 I know you did but I cannot find it. I was having trouble with the arcs and you posted something about rev clouds. I don't think I was involved in the thread (just being a creeper). I'll find it Quote
Lee Mac Posted October 13, 2015 Posted October 13, 2015 I know you did but I cannot find it. I was having trouble with the arcs and you posted something about rev clouds. I don't think I was involved in the thread (just being a creeper). I'll find it Maybe this? Quote
Lt Dan's legs Posted October 13, 2015 Posted October 13, 2015 I thought it had something to do with bulge and arc... maybe that was it. I can't remember, I'm just a pair of legs Quote
ttray33y Posted October 14, 2015 Author Posted October 14, 2015 ahahaha... tnx alot guyz, this routine will come handy in the future.. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.