Results 1 to 10 of 19

Thread: Land Desktop - Label Station/Offset & TIN Elevation

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Administrator BlackBox's Avatar
    Join Date
    2009-11
    Posts
    5,719
    Login to Give a bone
    0

    Default Land Desktop - Label Station/Offset & TIN Elevation

    Hi,

    I've been successful in combining some LDD commands into one command sequence, but this one (I believe) requires one variable be passed to both component routines....

    For example:
    (Hypothetical scenario - this code does not work)
    Code:
    ;;; Label Station/Offset & TIN Elevation (in Plan View)
    (defun c:SOE (/ pt1 sta1 elev1 lbl1 )
      (setq pt1 (getpoint))
      (ad_mnl)
      (zz_sdsk '(f:adcmds 21))     ; List station/offset
      ;; Get the output from LDD, and store
      (setq sta1 (c:LDD))
      (dt_mnl)
      (zz_sdsk '(dt_elevid))    ; List surface elevation
    ;; Get the output from LDD, and store
      (setq elev1 (c:LDD))
      (setq lbl1 (strcat sta1 "//p" elev1))
      ;|Insert leader and text into drawing here|;
      (princ)) ;_end defun
    I pulled the LDD functionality from the command macros found in the CUI. I am unable to find the source LISP in the "land" directory.
    (Platform: AutoCAD 2009 Land Desktop Companion)

    I couldn't find anything in a quick AUGI search. If there is already material documented, I'd be happy to work through myself first (if you can point me the right way), I just couldn't find anything like this.

    Your help is greatly appreciated!
    Last edited by RenderMan; 2010-04-30 at 07:58 PM.
    "How we think determines what we do, and what we do determines what we get."

    Sincpac C3D ~ Autodesk Exchange Apps

    Computer Specs:
    Dell Precision 3660, Core i9-12900K 5.2GHz, 64GB DDR5 RAM, PCIe 4.0 M.2 SSD (RAID 0), 16GB NVIDIA RTX A4000

Similar Threads

  1. Autolisp program to label station and offset.
    By aaronic_abacus in forum AutoLISP
    Replies: 7
    Last Post: 2020-09-16, 01:36 AM
  2. Crossing Pipe Label Style with Elevation and Station at crossing
    By Wish List System in forum Civil 3D Wish List
    Replies: 3
    Last Post: 2020-03-03, 05:27 AM
  3. Station Offset Label Question
    By bryanf in forum AutoCAD Civil 3D - General
    Replies: 1
    Last Post: 2011-01-27, 12:45 PM
  4. Label Station & Offset
    By td729 in forum AutoCAD Civil 3D - General
    Replies: 1
    Last Post: 2008-06-17, 04:55 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
  •