Looking for examples and documentation of (ade_oddefinetab (ade_odtablelist...

Looking for examples and documentation of (ade_oddefinetab (ade_odtablelist...

Anonymous
Not applicable
1,430 Views
6 Replies
Message 1 of 7

Looking for examples and documentation of (ade_oddefinetab (ade_odtablelist...

Anonymous
Not applicable

Hello everyone,

 

I have spend many hours looking for examples and documentation of

(ade_oddefinetab

(ade_odtablelist 

(ade_odaddrecord 

(ade_odsetfield

and everything related to it

 

The best thing I found it was

https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/objectdata-in-map-3d/td-p/3072564

 

So, if someone has better links to indicate I'll be glad

 

Thanks in advance + regards

Lzucco

0 Likes
Accepted solutions (1)
1,431 Views
6 Replies
Replies (6)
Message 2 of 7

reinaldo_togores
Contributor
Contributor

Hi, I wrote something about this, but it is in spanish. It includes a small example in which the code I suppose can be understood.

http://www.togores.net/vl/herramientasparasistemasdeinformaciongeografica/clasificacion-de-las-entid...

Hope this helps...

Regards.

Message 3 of 7

CodeDing
Advisor
Advisor

@Anonymous ,

 

See attached documentation. I don't recall where I found it originally, but it's VERY useful and explains functions and provides examples.

 

Best,

~DD

Message 4 of 7

cadffm
Consultant
Consultant

The PDF is a print of "AutoCAD Map 3D 2009 AutoLISP Reference" and is the content of the official autodesk help.

I am NOT an MAP3D User, so i don't know about the normal [F1]Help today, but you can find the acmaplisp.chm file as part of the Map 3D API References up to version 2012 from here: Map 3D Help Documentations https://knowledge.autodesk.com/support/autocad-map-3d/getting-started/caas/simplecontent/content/map... and additional informations perhaps however from AutoCAD Map Developer Center https://www.autodesk.com/developer-network/platform-technologies/autocad-map-3d

Sebastian

Message 5 of 7

Anonymous
Not applicable

Thanks!

 

May you share a call examples for the functions DEFINETABLA and REGISTRO?

 

Regards

0 Likes
Message 6 of 7

Anonymous
Not applicable

These are my attempts without success.

 

------- Test1.lsp 

results on

T
(("Tablename" . "UPSDF") ("TableDesc" . "UP CONECTOR") ("Columns" (("ColName" . "altura") ("ColDesc" . "altura edificação") ("ColType" . "Integer") ("DefaultVal" . 9.0))))

 but Autocad Civil 3D 2019 freezes ???

I can use VLIDE (Visual List Editor) but at Autocad Model the mouse pointer is off

 

 

------ Test2.lsp 

I got an error because a wrong syntax on calling the function

 

Help!

0 Likes
Message 7 of 7

Anonymous
Not applicable
Accepted solution

Maybe I found a solution...

For anyone interested check attached file test1.lsp (did not freezes Autocad Model Space)

 

; https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/map-query-through-lisp/td-p/2235108

(setq ade_cmddia_before_qry (getvar "cmddia"))
(setvar "cmddia" 0) 

(mapcar 'ade_dwgdeactivate (ade_dslist))

 

After using any ADE_OD commands run

(setvar "cmddia" ade_cmddia_before_qry)

 

0 Likes