Results 1 to 5 of 5

Thread: Revcloud multiple objects?

  1. #1
    Woo! Hoo! my 1st post
    Join Date
    2012-03
    Posts
    1

    Question Revcloud multiple objects?

    Hi everyone,

    I'm new to the site but have been reading threads for a while.

    I'm wondering if anyone knows of a lisp for applying the revcloud tool to multiple objects (polylines) at once. I use the revcloud tool in planting design to turn polylines into planting masses, and I typically have hundreds of polylines to convert at once (tedious!).

    Thanks in advance!

    Sal

  2. #2
    I could stop if I wanted to Tharwat's Avatar
    Join Date
    2010-06
    Posts
    478

    Default Re: Revcloud multiple objects?

    This would do the job on many objects that the command revcloud can be implemented on .

    Code:
    (defun c:TesT (/ ss i)
      (if (setq ss (ssget '((0 . "LINE,*POLYLINE,CIRCLE,ELLIPSE,SPLINE,ARC"))))
        (repeat (setq i (sslength ss))
          (command "_.revcloud" "" (ssname ss (setq i (1- i))) "")
        )
      )
      (princ)
    )
    and if you want it just on Polylines , just remove the other name of entities like this .
    Code:
     (setq ss (ssget '((0 . "*POLYLINE"))))
    Note: do not forget to have the arc length smaller than the length of entities to avoid any pause of the routine .

    Good luck .

    Tharwat

  3. #3
    Member
    Join Date
    2011-10
    Posts
    35

    Default Re: Revcloud multiple objects?

    Hi,

    very helpful routine!

    But how can I set arc length and cloud style during your command, like in standard command?

    Many thanks.

  4. #4
    I could stop if I wanted to Tharwat's Avatar
    Join Date
    2010-06
    Posts
    478

    Default Re: Revcloud multiple objects?

    Quote Originally Posted by Arterius View Post
    Hi,

    very helpful routine!

    But how can I set arc length and cloud style during your command, like in standard command?

    Many thanks.
    You're welcome .

    just adjust the settings of the command for once and the routine would use the settings as well .

  5. #5
    Member
    Join Date
    2011-10
    Posts
    35

    Default Re: Revcloud multiple objects?

    Hi,

    yes I know I can set it and than use your routine, but sometimes I need to draw revclouds with different size (for small and large elements on drawing). My idea was to start revision cloud command, adjust size and style (like in standard command) and than select a few polylines, circles etc using one area section. Everything under one command

Similar Threads

  1. Selecting multiple objects
    By mferreri in forum ACA General
    Replies: 1
    Last Post: 2009-03-18, 01:54 PM
  2. Entsel - Multiple objects?
    By Mr Cory in forum AutoLISP
    Replies: 8
    Last Post: 2007-08-27, 07:31 PM
  3. Area of Multiple Objects - Tip
    By mikepartenheimer in forum AutoCAD Tips & Tricks
    Replies: 4
    Last Post: 2006-10-24, 10:59 PM
  4. Replies: 7
    Last Post: 2006-05-24, 12:46 PM
  5. Tag multiple objects.
    By stelthorst in forum AMEP General
    Replies: 2
    Last Post: 2005-08-22, 11:43 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •