+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Junior Member
    MEP 2009
    Join Date
    Dec 2008

    Default Slope / Invert Lisp Routine?

    Registered forum members do not see this ad.

    I am very new to writting lisp routines and wondered if any one had similar routines that measured slope/invert type calculations based on distance...... this is to determine the invert elevation of a building sewer drainage system for coodination with civil engineers.

    -It should be able to-

    -ask user for starting point
    - ask user for starting point elevation (i.e -18", -24" or -2' etc.)
    - ask user for slope percentage (i.e. 1/8"/ft 1/4"/ft , 1/16"/ft
    - ask user for next point
    - multiply the distance between the two points by the % of slope and offer these options

    -(end run/place ie/next point) default to next point
    -end run would stop the command and place the calculated invert elev. (text) at a user selected point.
    - next point would continue the command and add the total distances between all points selected and loop the options after each point is picked.

    Then if there was a way to convert the fianl invert elevation into the following mtext format I.E. = XX'-XX" B.F.F. (invert elevation = Ft-inches below finish floor).

    I know its a lot to ask, but i though if i mapped it out it might generate some similar lisp routines i could refer to for ideas and help on how to write it.

    P.S. It could use a poly line command to draw a line from point to point.

  2. #2
    Forum Deity
    not specified
    Join Date
    Jul 2004
    Anchorage, Alaska


    "but i though if i mapped it out it might generate some similar lisp routines "

    You're right; look at bottom of this page for related posts, there have been some invert lisp routines posted. Probably not quite the same as your request, though, but may find a starting point for modification.

  3. #3
    Senior Member
    Computer Details
    flowerrobot's Computer Details
    Operating System:
    Windowns 7
    Lenovo W520
    flowerrobot's Discipline Details
    Cad Manger
    Mechanical 2013
    Join Date
    Sep 2007


    Registered forum members do not see this ad.

    I have some thing kinda similar, Will do rize/run from selecting a line. and then creates a little triangle with relavent data- i metric however.

    Purhaps it could help you on your way?

    Attached Files

Similar Threads

  1. slope lisp needed
    By NH3man! in forum AutoLISP, Visual LISP & DCL
    Replies: 70
    Last Post: 23rd Jun 2011, 07:17 pm
  2. Piping Invert Levels
    By Jhun Gonzalo in forum AutoLISP, Visual LISP & DCL
    Replies: 5
    Last Post: 11th May 2009, 06:03 pm
  3. Is it possible to invert polygons?
    By rpniponal in forum AutoCAD General
    Replies: 8
    Last Post: 24th Apr 2009, 02:55 pm
  4. Pipe Invert Level
    By alvin_louis in forum MEP
    Replies: 1
    Last Post: 16th Dec 2008, 05:02 am
  5. Lisp Routine help
    By pryzmm in forum AutoLISP, Visual LISP & DCL
    Replies: 1
    Last Post: 11th May 2008, 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