Author Topic: Searching for a lisp  (Read 2196 times)

0 Members and 1 Guest are viewing this topic.

HasanCAD

  • Swamp Rat
  • Posts: 1422
Searching for a lisp
« on: March 22, 2010, 06:52:39 AM »
Hi all

I am searching for a lisp to insert a text (in sequence) then collect the stings and its coordinates in a table

Lisp sequence

pick point (a center of cycle) then insert a point in the same point and a text next to the inserted point and at the end collect the string and X, Y and Z in a table

Regards

Lee Mac

  • Seagull
  • Posts: 12928
  • London, England

HasanCAD

  • Swamp Rat
  • Posts: 1422
Re: Searching for a lisp
« Reply #2 on: March 22, 2010, 07:42:42 AM »
Emmmmm

:$
I don't know what to say?
I am sure that Sorry Word is not enough

Thanks Lee
« Last Edit: March 22, 2010, 07:51:42 AM by asos2000 »

HasanCAD

  • Swamp Rat
  • Posts: 1422
Re: Searching for a lisp
« Reply #3 on: March 28, 2010, 12:25:08 PM »
Hi LEE

In your Lisp
How do you save the points then generate in a table?
I searched for vla-addtable but didnt find results

Thanx

Lee Mac

  • Seagull
  • Posts: 12928
  • London, England
Re: Searching for a lisp
« Reply #4 on: March 28, 2010, 03:00:45 PM »
I store the point values in a list, and then use vla-AddTable to generate the table.

HasanCAD

  • Swamp Rat
  • Posts: 1422
Re: Searching for a lisp
« Reply #5 on: March 29, 2010, 02:11:04 AM »
Could you please give that 2 subroutine?
adding points in a list
creating a table vla-addtable

Lee Mac

  • Seagull
  • Posts: 12928
  • London, England
Re: Searching for a lisp
« Reply #6 on: March 29, 2010, 06:17:09 AM »
I suppose it could be done, but there are so many ways that the table could be populated and how the list could be formatted, you'd be better off reading up about vla-addtable in the help files  :-)

HasanCAD

  • Swamp Rat
  • Posts: 1422
Re: Searching for a lisp
« Reply #7 on: March 29, 2010, 06:30:45 AM »
I did but found some thing related to VBA
Quote
RetVal = object.AddTable(InsertionPoint, NumRows, NumColumns, RowHeight, ColWidth)

I think that we can say
Quote
vla-AddTable(InsertionPoint, NumRows, NumColumns, RowHeight, ColWidth)

Isnt it?

Lee Mac

  • Seagull
  • Posts: 12928
  • London, England
Re: Searching for a lisp
« Reply #8 on: March 29, 2010, 06:47:16 AM »
Yes, the help files are all written for VBA - but the arguments and their order all apply to VLISP

JohnK

  • Administrator
  • Seagull
  • Posts: 10665
Re: Searching for a lisp
« Reply #9 on: March 29, 2010, 09:19:47 AM »
> but the arguments and their order all apply to VLISP
because we share the same object model.

Sorry, dont mind me; im just finishing a sentence.

;P
TheSwamp.org (serving the CAD community since 2003)
Member location map - Add yourself

Donate to TheSwamp.org

Lee Mac

  • Seagull
  • Posts: 12928
  • London, England
Re: Searching for a lisp
« Reply #10 on: March 29, 2010, 09:30:00 AM »
ta