See the top rated post in this thread. Click here

Results 1 to 6 of 6

Thread: Multiple Selection Sets To One Line Lisp

  1. #1
    I could stop if I wanted to
    Join Date
    2009-10
    Posts
    262
    Login to Give a bone
    0

    Default Multiple Selection Sets To One Line Lisp

    Does anyone know of a lisp in which I can make multiple selection sets line up with a line?

    For example you could select a number of groups and assign corresponding points with the groups the select a vertical line along the y axis have all selection sets and there selected points snap to that line.

    Example start and end result included
    Attached Files Attached Files

  2. #2
    Administrator BlackBox's Avatar
    Join Date
    2009-11
    Posts
    5,522
    Login to Give a bone
    0

    Default Re: Multiple Selection Sets To One Line Lisp

    Something like Lee's TXALIGN?



    "How we think determines what we do, and what we do determines what we get."

    Sincpac C3D ~ Autodesk Exchange Apps

    Computer Specs:
    Dell Precision 3620, Core i7-7700K 4.2GHz, 64GB RAM, Samsung 970 Pro M.2, 8GB NVIDIA Quadro P4000

  3. #3
    I could stop if I wanted to
    Join Date
    2009-10
    Posts
    262
    Login to Give a bone
    0

    Default Re: Multiple Selection Sets To One Line Lisp

    Close, except the objects wont be grouped together, so multiple selection sets are required in order to in order to temporarily group the objects of each individual selection set with one another

    Then assigning each group of selection sets there own unique point...

    In order to line up all groups in the selection sets with the line like this
    Attached Images Attached Images

  4. #4
    Certifiable AUGI Addict
    Join Date
    2001-03
    Location
    Tallahassee, FL
    Posts
    3,252
    Login to Give a bone
    1

    Default Re: Multiple Selection Sets To One Line Lisp

    Quote Originally Posted by mbrandt5 View Post
    Close, except the objects wont be grouped together, so multiple selection sets are required in order to in order to temporarily group the objects of each individual selection set with one another

    Then assigning each group of selection sets there own unique point...

    In order to line up all groups in the selection sets with the line like this
    You could use Lee Mac's http://lee-mac.com/ssboundingbox.html to get a list of the lower-left and upper-right WCS coordinates of a rectangular frame bounding all objects in supplied selection set (s). Subtract the x value of the mid point of the lower-left and upper-right WCS coordinates from the x value you want to move the selection set, repeat for each selection set.

    A Lee Mac example using this for move: http://www.cadtutor.net/forum/showth...l=1#post632768
    Last edited by Tom Beauford; 2015-07-16 at 12:16 PM. Reason: Add Example
    Tom Beauford P.S.M. - Civil 2019 on Windows 10 Enterprise
    Design Analysis - Leon County Public Works/Engineering Wrap [CODE] tags around selected text
    2280 Miccosukee Rd. Tallahassee, FL 32308-5310
    Ph# (850)606-1516 Home Page

  5. #5
    I could stop if I wanted to
    Join Date
    2009-10
    Posts
    262
    Login to Give a bone
    0

    Default Re: Multiple Selection Sets To One Line Lisp

    Not sure I understand...So your aware the purpose of me wanting to do this is to eliminate a move commands...seeing I would

    Select objects

    Select point

    Select End Point

    Entering move each time I do the command and selecting the end point each time I do the additional move just seems like pointless strokes

    If your link does do this would you mind explaining how to clear up my confusion?

  6. #6
    Certifiable AUGI Addict
    Join Date
    2001-03
    Location
    Tallahassee, FL
    Posts
    3,252
    Login to Give a bone
    0

    Default Re: Multiple Selection Sets To One Line Lisp

    Quote Originally Posted by mbrandt5 View Post
    Not sure I understand...So your aware the purpose of me wanting to do this is to eliminate a move commands...seeing I would

    Select objects

    Select point

    Select End Point

    Entering move each time I do the command and selecting the end point each time I do the additional move just seems like pointless strokes

    If your link does do this would you mind explaining how to clear up my confusion?
    Not exactly what you were looking for, just thought it was close enough to get you started.
    Tom Beauford P.S.M. - Civil 2019 on Windows 10 Enterprise
    Design Analysis - Leon County Public Works/Engineering Wrap [CODE] tags around selected text
    2280 Miccosukee Rd. Tallahassee, FL 32308-5310
    Ph# (850)606-1516 Home Page

Similar Threads

  1. Pass vba selection set to lisp or command line?
    By KevinBarnett in forum VBA/COM Interop
    Replies: 11
    Last Post: 2019-02-15, 04:23 PM
  2. 2014: Selection Sets mapped to multiple tasks in timeliner
    By markfo in forum NavisWorks - General
    Replies: 0
    Last Post: 2015-08-31, 08:42 PM
  3. Selection sets in multiple drawings..re-visit
    By okonforti.91529 in forum AutoLISP
    Replies: 8
    Last Post: 2010-10-29, 10:42 PM
  4. selection sets in multiple drawings
    By mdsalman2003 in forum AutoLISP
    Replies: 6
    Last Post: 2010-06-21, 05:01 PM
  5. Keep multiple selection sets in memory
    By IanR in forum AutoCAD Wish List
    Replies: 0
    Last Post: 2005-10-11, 03:50 PM

Posting Permissions

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