Jump to content

Recommended Posts

Posted

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. :D

Posted

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...

Posted

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 :)

Posted
...

EDIT: pBe beat me to it :)

 

Its one of those rare occurrences like when a massive meteor hitting our planet :D

Posted

Why not just change line type ? We have a 1/2 circle line type. It was a big hammer hitting a little problem :o

Posted

Lee, didn't you do a revcloud lsp before?

Posted
Lee' date=' didn't you do a revcloud lsp before?[/quote']

 

I don't recall writing one - but I know that CAB did.

Posted

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

Posted
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?

Posted

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

Posted

ahahaha... tnx alot guyz, this routine will come handy in the future..

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...