Results 1 to 6 of 6

Thread: draw a polyline relative to other objects

  1. #1
    Member
    Join Date
    2001-08
    Posts
    5
    Login to Give a bone
    0

    Default draw a polyline relative to other objects

    Hi all,

    I would like a function named "DynPlineCreator" to draw a polyline relative to other objects.

    1 - Selection of a line or polyline (live, on an Xref or block)
    2 - Selecting a starting point on the selected object.
    3 - Dynamic Input points as the great functions (CurveText, ObjectAlign ...) by Lee Mac.

    At each moment, options can be selected:
    - Option 1: Change of object.
    - Option 2: Continue the input by the ends lines or the vertices of a polyline.
    - Option 3: Free Entry of a point on the segments of the object (by the object snaps).

    Thank you in advance.
    Attached Images Attached Images

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

    Default Re: draw a polyline relative to other objects



    Perhaps instead of placing an order as if this was a drive through (which AUGI is not), you might try coding your own routine, and ask for help when you get stuck with a particular aspect of the desired routine. Just saying.
    "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
    Certifiable AUGI Addict ccowgill's Avatar
    Join Date
    2004-08
    Location
    Hartford, Michigan
    Posts
    3,194
    Login to Give a bone
    0

    Default Re: draw a polyline relative to other objects

    I thought I had seen this before. Check this out
    Christopher T. Cowgill, P.E.
    Autodesk Expert Elite
    AEC Collection Civil 3D 2020
    Windows 10

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

    Default Re: draw a polyline relative to other objects

    At least the OP waited a few days before duplicating the post. LoL

    *cough* Now, if only the OP would show some initiative, or effort, perhaps they would get some assistance. *cough*
    "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

  5. #5
    I could stop if I wanted to
    Join Date
    2015-12
    Posts
    383
    Login to Give a bone
    0

    Default Re: draw a polyline relative to other objects

    Sorry for the slight thread hijacking, but I just wanted to say how helpful people have been to me even when i posted the most basic functions of my code. (Even though it was nowhere near close to working)

    Thanks to al those have helped me from day one till now.

    Code:
    (defun c:ty (/ code_text)
    (setq code_text "Thank you all")
    (alert code_text)
    (princ code_text)
    (princ))

  6. #6
    Certifiable AUGI Addict ccowgill's Avatar
    Join Date
    2004-08
    Location
    Hartford, Michigan
    Posts
    3,194
    Login to Give a bone
    0

    Default Re: draw a polyline relative to other objects

    not sure I understand what the end goal is, but I would start here:
    Code:
    (defun c:DynPlineCreator (/)
    (command "pline")
    ;clarification of the basic steps of program
    );_ end defun
    Christopher T. Cowgill, P.E.
    Autodesk Expert Elite
    AEC Collection Civil 3D 2020
    Windows 10

Similar Threads

  1. Draw Polyline from list of points
    By LSElite in forum AutoLISP
    Replies: 1
    Last Post: 2015-04-21, 03:53 AM
  2. Replies: 1
    Last Post: 2015-04-10, 02:57 PM
  3. Replies: 5
    Last Post: 2009-02-26, 07:40 PM
  4. draw polyline on selected layer; help
    By ReachAndre in forum AutoLISP
    Replies: 6
    Last Post: 2007-10-03, 12:15 PM
  5. Moving Text Objects relative to base point as other Objects are moved / scaled
    By William Troeak in forum Dynamic Blocks - Technical
    Replies: 7
    Last Post: 2007-02-06, 02:35 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
  •