+ Reply to Thread
Results 1 to 7 of 7
  1. #1
    Junior Member
    Using
    AutoCAD 2008
    Join Date
    May 2012
    Posts
    24

    Default lee mac - Lock Objects - Locks Selected - Unlocked Objects

    Registered forum members do not see this ad.

    Hi guys,
    I saw on lee mac' site this lisp - http://lee-mac.com/objectlock.html - and seems to be a very useful lisp. anybody has somethig similar? maybe a lisp like this will be useful to lock only position of two (or many) objects - i mean, to make a connection between two (or many) objects so that when i move one object, the other to move together with the first one... What do you think Lee, can you do that? Thanks!!

  2. #2
    Forum Deity Tharwat's Avatar
    Discipline
    Mechanical
    Tharwat's Discipline Details
    Occupation
    MEP AutoCAD Draftsman
    Discipline
    Mechanical
    Using
    AutoCAD 2014
    Join Date
    Oct 2009
    Location
    Lives in Abu Dhabi
    Posts
    2,632

    Default

    Quote Originally Posted by brams View Post
    Hi guys,
    i mean, to make a connection between two (or many) objects so that when i move one object, the other to move together with the first one... What do you think Lee, can you do that? Thanks!!
    Codes remove ....
    Last edited by Tharwat; 24th May 2012 at 12:14 pm.
    - When aim is being settled in my mind , I have to reach it and get it in hand whatever it costs and wherever it is and will never give up . Tharwat said

  3. #3
    Forum Deity
    Using
    Civil 3D 2013
    Join Date
    Dec 2005
    Location
    GEELONG AUSTRALIA
    Posts
    3,791

    Default

    Constraints may work also an object has to be a certain distance away from the first no real programing required.
    A man who never made mistakes never made anything

  4. #4
    Forum Deity MSasu's Avatar
    Discipline
    Construction
    MSasu's Discipline Details
    Occupation
    engineer
    Discipline
    Construction
    Details
    AutoLISP programmer
    Using
    AutoCAD 2013
    Join Date
    Mar 2009
    Location
    Brasov, Romania
    Posts
    3,007

    Default

    Quote Originally Posted by brams View Post
    i mean, to make a connection between two (or many) objects so that when i move one object, the other to move together with the first one...
    The build-in GROUP command will serve right for this purpose.
    Regards,
    Mircea

    AutoCAD's happy user equation: FILEDIA + PICKADD² + PICKFIRST = 3

  5. #5
    Forum Deity Dadgad's Avatar
    Using
    AutoCAD 2012
    Join Date
    Nov 2011
    Location
    At the confluence of worthlessness & invaluability
    Posts
    3,135

    Default

    Quote Originally Posted by MSasu View Post
    The build-in GROUP command will serve right for this purpose.

    Welcome to the forum.

    I had previously thought that BIGAL's suggestion was good, and it was,

    but as one who has only dabbled in constraints, I think Mircea's idea may just be the path of least resistance for a broader GROUP of users.
    Volume and repetition do not validate opinions forged in the absence of thought.

  6. #6
    Forum Deity
    Using
    Civil 3D 2013
    Join Date
    Dec 2005
    Location
    GEELONG AUSTRALIA
    Posts
    3,791

    Default

    The group is a good idea the real advantage in constraints is you can include rules change the size of the first object say x 2 now distance is x 2

    rad=1/2*circ1
    A man who never made mistakes never made anything

  7. #7
    Super Moderator SLW210's Avatar
    Computer Details
    SLW210's Computer Details
    Operating System:
    Windows 7 PRO
    Computer:
    IBM Lenovo
    Motherboard:
    ACPI x86
    CPU:
    Pentium(R) Dual-Core CPU E5500 @ 2.80GHz
    RAM:
    4 GB RAM
    Graphics:
    Nvidia Quadro 600 1GB
    Primary Storage:
    300 GB
    Secondary Storage:
    650GB
    Monitor:
    ThinkVision 22"
    Discipline
    Multi-disciplinary
    SLW210's Discipline Details
    Occupation
    Design Draftsman
    Discipline
    Multi-disciplinary
    Details
    Mostly do drafting related to manufacturing. From doing site layouts with proposed updates, additions and renovations to be budgeted and submitted for bid, to updating and changing existing drawings to reflect maintenance and repair/revision work done on site.
    Using
    AutoCAD 2011
    Join Date
    May 2007
    Location
    South Florida, USA
    Posts
    9,134

    Default

    Registered forum members do not see this ad.

    The OP appears to use AutoCAD 2008, which AFAIK does not have Constraints.

    Besides GROUP, they could also be made into a block.
    “A narrow mind and a fat head invariably come on the same person” Zig Zigler



Similar Threads

  1. Replies: 18
    Last Post: 29th Oct 2010, 05:55 pm
  2. how to lock objects in drawings (not by layer)
    By maiacad in forum AutoCAD General
    Replies: 5
    Last Post: 18th May 2009, 09:28 am
  3. Selected objects
    By neelima in forum AutoCAD General
    Replies: 1
    Last Post: 26th Feb 2009, 12:46 pm
  4. Get objects selected/VBA
    By Joro-- in forum AutoLISP, Visual LISP & DCL
    Replies: 11
    Last Post: 1st Feb 2008, 04:03 pm
  5. can't edit or select objects in an unlocked layer
    By Statick in forum AutoCAD Beginners' Area
    Replies: 11
    Last Post: 12th Mar 2005, 09:05 pm

Bookmarks

Posting Permissions

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