Results 1 to 4 of 4

Thread: help with script 2008 c3d vista lines by point number

  1. #1
    Member
    Join Date
    2008-02
    Posts
    4

    Default help with script 2008 c3d vista lines by point number

    I want to draw lines by point number using a script
    can someone tell me why this wont work?

    _line
    'pn
    288-296
    ;DRIP LINE
    299-310
    ;DRIPLINE
    311-316
    ;EP SHARP
    329-334

    works fine when keyed in but the script always has a problem
    as if autocad cant keep up with the instructions

  2. #2
    Member
    Join Date
    2008-02
    Posts
    4

    Default Re: help with script 2008 c3d vista lines by point number

    I was hoping someone else had tried this and found a solution.
    this script wont run, It appears that the script commands come in too fast for autocad to process
    I worked around it by using cut and paste with distant point number between each range of points (200-212,2500,216-224,2500,240-266....)

    then erasing these long lines then using flatten and a lisp routine to make a polyline out of them

    I've attached a .csv file and the script file if anyone would like to
    help.
    Im using vista autocad 2008 civil 3d

  3. #3
    I could stop if I wanted to
    Join Date
    2007-06
    Posts
    271

    Default Re: help with script 2008 c3d vista lines by point number

    Was this thread edited? I could have sworn that I had a reply to this.
    Anyway, try putting a 'pn before any point group. For some reason, it goes back to the regular _line command while running a script. You can check this if you have the command line open, and check to see what the program does. You'll be able to see where in the script you are by reading the inputs.

  4. #4
    Civil Engineering Moderator MHultgren's Avatar
    Join Date
    2000-12
    Location
    Clyde, NC - USA
    Posts
    1,383

    Default Re: help with script 2008 c3d vista lines by point number

    Maybe if you reissued the _line command before starting your new set?
    Mark Hultgren
    Just a Lurker
    http://www.MKW-Ind.com
    Blog
    Socializing??

Similar Threads

  1. MEP 2008 & Script pro
    By Eddy B in forum AMEP General
    Replies: 4
    Last Post: 2008-10-29, 08:20 PM
  2. Reset next available point number...
    By Coolmo in forum AutoCAD Civil 3D - General
    Replies: 4
    Last Post: 2008-10-20, 08:03 PM
  3. INV 2008 und Vista
    By akaiser in forum Deutsch - Inventor
    Replies: 4
    Last Post: 2007-11-08, 02:43 AM
  4. Map 3D 2008 on Vista 64 bit?
    By kiku in forum AutoCAD Map 3D - General
    Replies: 4
    Last Post: 2007-07-05, 08:36 AM

Posting Permissions

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