Author Topic: SET-CAR . . . BCAD new LISP FUNCTION  (Read 1645 times)

0 Members and 1 Guest are viewing this topic.

domenicomaria

  • Swamp Rat
  • Posts: 725
SET-CAR . . . BCAD new LISP FUNCTION
« on: November 29, 2020, 12:43:25 PM »
SET-CAR . . . BCAD new LISP FUNCTION !
. . .
(setq L (list 1 2 3 4 5) )

(SET-CAR "A" L )
returns
("A" 2 3 4 5)

And doesn't work in this way :
(SET-CAR "A" 'L)

« Last Edit: November 29, 2020, 12:47:03 PM by domenicomaria »

roy_043

  • Water Moccasin
  • Posts: 1895
  • BricsCAD 18
Re: SET-CAR . . . BCAD new LISP FUNCTION
« Reply #1 on: November 29, 2020, 03:00:31 PM »
This one of the functions that comes from the underlying Lisp engine BricsCAD uses. There are more. You can use (atoms-family 0) to check.

domenicomaria

  • Swamp Rat
  • Posts: 725
Re: SET-CAR . . . BCAD new LISP FUNCTION
« Reply #2 on: November 30, 2020, 01:11:03 AM »
I used ATOMS-FAMILY function
but
it does not return
ALL the AVAILABLE functions . . .

. . .
for istance
there are the TIN:XXXX functions that are not present in the ATOMS-FAMILY
and the same happens with the BIM:XXXX functions
. . .
What have I to do
to obtain the list of all the available functions ?

And where is the HELP for these functions ?

domenicomaria

  • Swamp Rat
  • Posts: 725
Re: SET-CAR . . . BCAD new LISP FUNCTION
« Reply #3 on: November 30, 2020, 01:29:38 AM »
Sorry . . .
ATOMS-FAMILY returns everything

. . .
I have to load BIM and TIN before . . .
(VL-LOAD-BIM) (VL-LOAD-TIN)
. . .

However, where is the help file ?

roy_043

  • Water Moccasin
  • Posts: 1895
  • BricsCAD 18

domenicomaria

  • Swamp Rat
  • Posts: 725
Re: SET-CAR . . . BCAD new LISP FUNCTION
« Reply #5 on: November 30, 2020, 02:56:12 AM »
thank you !