Author Topic: Copy from dbconnect Dataview to AutoCad Table  (Read 2096 times)

0 Members and 1 Guest are viewing this topic.

fervour

  • Guest
Copy from dbconnect Dataview to AutoCad Table
« on: January 05, 2015, 06:03:23 PM »
Hi there,

When I copy a selection of data from dbconnect's Dataview, I cannot paste the copied selections respectively to into autocad table cells? All the data are lump together, similar to when you copy selection from Excel.

Do you know if there is a solution to this? Maybe a Lisp for pasting into Autocad table?

Thanks very much. :)

See Capture image

adalea03

  • Guest
Re: Copy from dbconnect Dataview to AutoCad Table
« Reply #1 on: February 07, 2015, 07:35:31 AM »
I don't have ACAD, but maybe "paste special" will offer some options.
Good luck.

fervour

  • Guest
Re: Copy from dbconnect Dataview to AutoCad Table
« Reply #2 on: February 10, 2015, 05:53:37 PM »
When pasting the copied content to autocad, it is mtext formatted with tab-delimited between columns.

I would like to know how this could work. The dbconnect can be your BOM database when you can create your AutoCAD BOM Table from copy and paste.

I think this is a great idea, but I do not understanding why it is so hard to work with AutoCad Tables.

please share your thoughts and ideas.

roy_043

  • Water Moccasin
  • Posts: 1895
  • BricsCAD 18
Re: Copy from dbconnect Dataview to AutoCad Table
« Reply #3 on: February 11, 2015, 08:16:48 AM »
What you want can be achieved with Lisp code:
1. Read text (=string) from the clipboard.
2. Split the string into a list of strings.
3. Insert the list of strings in a row in the table.
You will be able to find good examples for all 3 steps in this forum.
So my first thought is: why not start coding!