Where to find command arguments (parameters)

Where to find command arguments (parameters)

Anonymous
Not applicable
1,360 Views
4 Replies
Message 1 of 5

Where to find command arguments (parameters)

Anonymous
Not applicable

I am trying to write AutoLisp scripts within AutoCAD Map 3D. I am new to AutoLisp but I am used to write scripts and to programming in other languages. I am sure this is answered somewhere but I just cannot find it.

 

I am having a hard time to find out command documentation for AutoCAD commands. I have done searches with google and within the help section of AutoCAD and I have tried to find similar solved questions in the forums, but failed, for instance I have found:

 

acdmaclt_2013_command_reference_guide.pdf

 

,and the following:

Where to get the AutoCAD Map AutoLISP Reference

 

As an example I would like to find out documentation for "_mapdwgtosdf" (or other commands/functions). I have found documentation by hitting F1 when hovering on the map 3d export button:

Planning And Analysis Workspace, click Output tabMap Data Transfer panelMap 3D Export.

However I have failed to find documentation how to use that funtion within AutoLISP code.

 

Where do you read command/function documentation?

Is it possible within the Visual LISP editor to turn on something like "command argument suggestions"?

Or is there any command/function within AutoCAD that could display the command arguments, like "show_arguments(_mapdwgtosdf)"

 

Any help is appreciated,

Best Regards,

Peter

 

0 Likes
Accepted solutions (1)
1,361 Views
4 Replies
Replies (4)
Message 2 of 5

Alfred.NESWADBA
Consultant
Consultant
Accepted solution

Hi,

 

look to >>>that site<<< that holds documentation material about Map 3D.

In the lower half of the site you find "Developer Documentation" and I just tried the xxx 2012 API References download, within the ZIP you'll find the ACMAPLISP.CHM and I guess that's what you are looking for.

 

HTH, - alfred -

------------------------------------------------------------------------------------
Alfred NESWADBA
ISH-Solutions GmbH / Ingenieur Studio HOLLAUS
www.ish-solutions.at ... blog.ish-solutions.at ... LinkedIn ... CDay 2026
------------------------------------------------------------------------------------

(not an Autodesk consultant)
0 Likes
Message 3 of 5

Anonymous
Not applicable

Thank you for the answer. I am sorry that I have not replied at an earlier point in time. I guess you pointed to the correct source of information, however I was not able to find out how to use the function "_mapdwgtosdf" within an AutoLISP script. Anyway I will mark the question as accepted, thank you!

 

0 Likes
Message 4 of 5

Alfred.NESWADBA
Consultant
Consultant

Hi,

 

just one info to that: _MAPTODWG is different to _MAPEXPORT, which I understood you were looking for.

Both are commands that can be used with LISP

    (command ...

More important wuld now be what do you like to develop, what should your app do.

 

- alfred -

------------------------------------------------------------------------------------
Alfred NESWADBA
ISH-Solutions GmbH / Ingenieur Studio HOLLAUS
www.ish-solutions.at ... blog.ish-solutions.at ... LinkedIn ... CDay 2026
------------------------------------------------------------------------------------

(not an Autodesk consultant)
Message 5 of 5

Anonymous
Not applicable

Hi Alfred,

 

I usually try to be more specific and detailed. However, I am new to AutoCAD, so I haven´t yet found out the best way to find information. I don´t have the right vocabulary and don´t know the right questions yet, but I am working on it!

 

I really appreciate your help,

Best regards

Peter

 

0 Likes