Results 1 to 2 of 2

Thread: Moving objects / blocks based on a formula or similar

  1. #1
    Join Date
    Sep 2015
    Posts
    1

    Moving objects / blocks based on a formula or similar

    Hi All,

    I'm looking for a way to move an object based on either a formula linked to a table / attributes or similar is this possible? Below is an example to hopefully help explain what I'm trying to achieve in case there is a different way of doing this:

    Imagine a line 1000mm wide. I'd like to insert a block into the drawing and move it relative to the line and it's length. For example, if I tell AutoCAD (somehow) the ratio between the line and the block / object is 2:1 then the block would be moved 2000mm perpendicular to the line.

    Even better would be the ability to provide two ratios between which I can move an object (eg 1.7 - 2.0) meaning I can place the object any distance along this perpendicular line providing the Base point of the object is 1700mm to 2000mm away for the line.

    This might be ambitious but it would be incredibly useful for my field of work.

    Andy


    PS - is it possible to change my forum username as I made a typo?!

  2. #2
    Join Date
    Jan 2008
    Location
    English Lake District
    Posts
    2,734
    I'm sure there will be a lisp on Lee Macs website that will do just what you want.
    If you are not sure about using lisp you will find tutorials there too.

    http://www.lee-mac.com/programs.html

    I will send you an email about the username.
    Im intelligent enough to know that I dont know everything; but I'll tell you all about it anyway.

Similar Threads

  1. How to put a formula into Mtext?
    By AMBIENT in forum Miscellaneous Programming
    Replies: 1
    Last Post: 02-05-2012, 08:37 PM
  2. using AutoHook or similar function within Acad
    By rottie in forum AutoCAD 2009 Help
    Replies: 2
    Last Post: 25-11-2008, 10:22 PM
  3. How do you change multiple values based on one set value??
    By cougar028 in forum AutoCAD 2007 Help
    Replies: 4
    Last Post: 13-10-2008, 12:09 PM
  4. Moving objects
    By icpcrt in forum AutoCAD 2006 Help
    Replies: 10
    Last Post: 03-07-2008, 08:21 PM
  5. Blocks vs 3D objects
    By ~Dramatic~Details~ in forum AutoCAD 2006 Help
    Replies: 10
    Last Post: 01-12-2006, 02:09 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
  •