Author Topic: Help with a lisp  (Read 334 times)

0 Members and 1 Guest are viewing this topic.

Topographer

  • Swamp Rat
  • Posts: 617
Help with a lisp
« on: April 21, 2019, 04:21:34 PM »
Hi . I use when i draw cross sections  an attribiute block .This block contains the name of the cross section , the chainage, Fill area ,Cut Area

The idea is to export this data to a csv file (the chainage must be in the correct position ,not random )  and then with Excel Help to calculate the Volume

The data in the csv file mast have this possition

Name of the cross section , the chainage, Fill area ,Cut Area for example

Code: [Select]
D1,0+000.00,48.52,58.62
D2,0+020.00,32.25,42.59

Can any one help with a lisp

Thanks

Topographer

  • Swamp Rat
  • Posts: 617
Re: Help with a lisp
« Reply #1 on: April 21, 2019, 05:00:12 PM »
Sorry i forget something.  in the export csv fiile the data of each cross section must have an empty row between for example

Code: [Select]
D1,0+000.00,48.52,58.62

D2,0+020.00,32.25,42.59

D3,0+040.00,52.20,49.80

Thanks

BIGAL

  • Bull Frog
  • Posts: 270
  • 30 + years of using Autocad
Re: Help with a lisp
« Reply #2 on: April 21, 2019, 07:14:08 PM »
Why not just do it in autocad ? You have the chainage the end area therom is pretty simple.
A man who never made a mistake never made anything

Topographer

  • Swamp Rat
  • Posts: 617
Re: Help with a lisp
« Reply #3 on: April 21, 2019, 07:21:15 PM »
if you have 50 cross sections how to do it?

Dlanor

  • Newt
  • Posts: 148
Re: Help with a lisp
« Reply #4 on: April 22, 2019, 07:08:03 AM »
Type "export block attribute" into the search at the top right of the page for a list of solutions

BIGAL

  • Bull Frog
  • Posts: 270
  • 30 + years of using Autocad
Re: Help with a lisp
« Reply #5 on: April 23, 2019, 06:14:51 AM »
Like dlanor you make a "LIST" of the block values and just do the maths involved. You would just pick all the blocks but do a sort on the chainage so the "LIST" is in correct order.
A man who never made a mistake never made anything

Topographer

  • Swamp Rat
  • Posts: 617
Re: Help with a lisp
« Reply #6 on: April 23, 2019, 06:56:02 AM »
I FIND IT THANKS  :-D