Anuncios

The Autodesk Community Forums has a new look. Read more about what's changed on the Community Announcements board.

Anonymous
527 Vistas, 5 Respuestas

command line version for commands

I want to know how to enter commandline version of all commands in autocad for creating script files.

anybody knows about this pls just reply me.Thanks.

cadffm
en respuesta a: Anonymous

The normal command with "-" in front
IF a commandlineversion exist!
Easy to try.

If you ask for all commands you can Handle in scripts: I dont know about such a list.
All commands with first character "-" sure.
And commands with dialogs works too, but need a Userinput.

command: BLOCK vs.
Command: -BLOCK

In automation like Script Autocad start the commandlineversion as default.
But for testing i use -BLOCK, so i am using -BLOCK in Scripts too.

Variables
FILEDIA for File-chooseing dialogs

 

==============

_.-LAYER

_make

01234

_co

1

01234

 

_.line
0,0
1000,200

;DIALOG-START
_.OPTIONS
;DIALOG-END
;
_.circle
500,100
250
_.ZOOM
_e

 

==============

 

F1 help

example for LAYER commandlineversion = "-LAYER" -> CLICK

Sebastian

ВeekeeCZ
en respuesta a: Anonymous

HERE is a list off all dash* commands available.

 

 

Anonymous
en respuesta a: ВeekeeCZ

ok thanks for your reply but i couldn't find "find" command in that list how to know commandline version for "find"

 

 

 


 

 

 


 

ВeekeeCZ
en respuesta a: Anonymous


@Anonymouswrote:

ok thanks for your reply but i couldn't find "find" command in that list how to know commandline version for "find"

 


Well, sorry to say that, but you either did not search good enough or read good enough. If latter, re-read especially the 2nd line of @cadffm's reply. Then consider to apply the advise on the 3rd line of @cadffm reply.

cadffm
en respuesta a: Anonymous

Not available, only as Dialogversion.

Sebastian