Author Topic: acad_data_types  (Read 2448 times)

0 Members and 1 Guest are viewing this topic.

ribarm

  • Gator
  • Posts: 3327
  • Marko Ribar, architect
acad_data_types
« on: December 13, 2015, 09:36:50 AM »
Hi, by inspecting (atoms-family) function and from my experiences till now I've found these 12 data types :

DATA TYPES IN ACAD :

- ENAME
- EXRXSUBR
- FILE
- INT
- LIST
- REAL
- STR
- SUBR
- SYM
- VLA-OBJECT
- NIL (VLR-REACTOR.GETDICTKEY)
- RANDOM (*LAST-VALUE*)

Have I missed something ?
M.R.
« Last Edit: December 13, 2015, 09:47:26 AM by ribarm »
Marko Ribar, d.i.a. (graduated engineer of architecture)

:)

M.R. on Youtube

roy_043

  • Water Moccasin
  • Posts: 1895
  • BricsCAD 18
Re: acad_data_types
« Reply #1 on: December 13, 2015, 11:55:50 AM »
exsubr
pickset
safearray
variant
vlr-*-reactor (Multiple reactor types)
usubr

You should remove 'Random' from the list.
I don't recognise VLR-REACTOR.GETDICTKEY.

roy_043

  • Water Moccasin
  • Posts: 1895
  • BricsCAD 18
Re: acad_data_types
« Reply #2 on: December 13, 2015, 12:13:37 PM »

ribarm

  • Gator
  • Posts: 3327
  • Marko Ribar, architect
Re: acad_data_types
« Reply #3 on: December 13, 2015, 12:40:54 PM »
Thanks, Roy... That link was what I was looking for...
Marko Ribar, d.i.a. (graduated engineer of architecture)

:)

M.R. on Youtube

Lee Mac

  • Seagull
  • Posts: 12937
  • London, England
Re: acad_data_types
« Reply #4 on: December 13, 2015, 12:46:05 PM »
FWIW, here's a link to the latest documentation: type

ribarm

  • Gator
  • Posts: 3327
  • Marko Ribar, architect
Re: acad_data_types
« Reply #5 on: December 13, 2015, 02:18:16 PM »
Thank you Lee, but I don't see the difference - I count them to 15...

To reply to @Roy :
Code: [Select]
Command: (atoms-family 1 '("VLR-REACTOR.GETDICTKEY"))
("VLR-REACTOR.GETDICTKEY")

Command: (type VLR-REACTOR.GETDICTKEY)
nil

Command: (type *LAST-VALUE*)
nil

Command: (princ 1)
11

Command: (type *LAST-VALUE*)
INT

Thanks, M.R.
Marko Ribar, d.i.a. (graduated engineer of architecture)

:)

M.R. on Youtube

MP

  • Seagull
  • Posts: 17750
  • Have thousands of dwgs to process? Contact me.
Re: acad_data_types
« Reply #6 on: December 13, 2015, 02:42:30 PM »
OP may find this interesting ... atoms16.vlx

Related thread: http://www.theswamp.org/index.php?topic=4201.0
Engineering Technologist CAD Automation Practitioner
Automation ▸ Design ▸ Drafting ▸ Document Control ▸ Client
cadanalyst@gmail.com http://cadanalyst.slack.com http://linkedin.com/in/cadanalyst

roy_043

  • Water Moccasin
  • Posts: 1895
  • BricsCAD 18
Re: acad_data_types
« Reply #7 on: December 14, 2015, 03:01:02 AM »
*LAST-VALUE* is really a default symbol name. And like any Lisp argument or variable it does not have a fixed type.

ribarm

  • Gator
  • Posts: 3327
  • Marko Ribar, architect
Re: acad_data_types
« Reply #8 on: December 14, 2015, 03:17:01 AM »
*LAST-VALUE* is really a default symbol name. And like any Lisp argument or variable it does not have a fixed type.

So to conclude :

Quote
DATA TYPES IN ACAD :

- ENAME
- EXRXSUBR
- FILE
- INT
- LIST
- PAGETB
- PICKSET
- REAL
- SAFEARRAY
- STR
- SUBR
- SYM (*LAST-VALUE*; any variable or argument)
- VARIANT
- USUBR
- VLA-OBJECT
- NIL (NIL; VLR-REACTOR.GETDICTKEY)

Thanks, Roy...
Marko Ribar, d.i.a. (graduated engineer of architecture)

:)

M.R. on Youtube