Lisp/AutoCad 2017

Lisp/AutoCad 2017

Anonymous
Not applicable
1,059 Views
7 Replies
Message 1 of 8

Lisp/AutoCad 2017

Anonymous
Not applicable

I am working with Skyline using "crossing" to station... this is the question: I have a thousand GPS Points that I would like to place a crossing line on with a layer that says "Pipeline Weight".... So Skyline will pick it up and station it... Is there a lisp out there that will allow you to copy a line to all points with the description "WT" at once instead of picking each point node? I know I could do this by the point data but I do not have all the attributes for the points so it kicks it out... Just wondering...

1,060 Views
7 Replies
Replies (7)
Message 2 of 8

TheCADnoob
Mentor
Mentor

Im not sure i understand exactly what you are trying to do. 

 

First off i would contact skyline or see if they have a help group. 

 

Aside from that are you trying to connnect lines between nodes? Are your nodes actual nodes or are they blocks with attributes placed at nodes? Have you tried things like QSELECT or select similar?

CADnoob

EESignature

0 Likes
Message 3 of 8

Anonymous
Not applicable
What I want to do in copy a line to all Weight Survey points (blocks with nodes).... That line would say on the layer (Pipeline Saddle Weight) and Skyline would pick up the crossing with the layer name and apply a station for that ..... Thru Q-select I can pick that type of point but copying a line at say midpoint to it so a crossing will be created is the problem... I thought there might be a lisp out there that would copy to an object so I would not have to copy a thousand lines individually.... Thanks
0 Likes
Message 4 of 8

pendean
Community Legend
Community Legend
Any reason you're shy about posting a DWG file sample (with blocks/nodes) and a sample survey file showing the results so everyone here can understand more clearly what you seek?
0 Likes
Message 5 of 8

Anonymous
Not applicable
I am looking for a lisp or a way of copying a line to all of the GPS Survey Points at one time instead of individually using the midpoint of a line (about a thousand points each having a node) designated "WT" and I would like to do this in one shot...
0 Likes
Message 6 of 8

TheCADnoob
Mentor
Mentor

There might be a lisp out there but it probably isn't called RANDYBALL'S lisp so i'm trying to sift down to what you are actually trying to do. If this is something you do frequently enough id def go the lisp route, though id go ask the folks in the lisp forum: https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/bd-p/130

 

 

as for the non lisp route: 

One suggestion is to block edit all your points and add a line to them. I'm not familiar with skyline so that might not work. 

 

another suggestion/method would be; you can WBLOCK all the points out as a single block. then create a "line block" and use BLOCKREPLACE to swap out all the blocks then explode the line blocks so they are geometry and then bring back all your nodes that you wblocked out insert and then explode that. This would give you a line at the node of all your blocks. Its not as pushbutton easy as a lisp, but it should get the job done and fairly quickly. 

CADnoob

EESignature

Message 7 of 8

Anonymous
Not applicable
Yes...thanks... that is pretty much what I did was to take the point blocks out and explode them and then change the description of the node part of the block into a line....that will work...thanks again...
0 Likes
Message 8 of 8

Ranjit_Singh
Advisor
Advisor

Post a sample dwg with some sample data (points, blocks, civil 3d points, etc.) and specify what output is needed. Just like @TheCADnoob, I am not familiar with skyline, so it will be helpful if you explained in AutoCAD terminology.. "Have bunch of points, want to place a block at each point... ......."?

0 Likes