Anuncios

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

command line version for commands

Anonymous

command line version for commands

Anonymous
No aplicable

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.

0 Me gusta
Responder
529 Vistas
5 Respuestas
Respuestas (5)

cadffm
Consultant
Consultant

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

0 Me gusta

ВeekeeCZ
Consultant
Consultant

HERE is a list off all dash* commands available.

 

 

0 Me gusta

Anonymous
No aplicable

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

 

 

 


 

 

 


 

0 Me gusta

ВeekeeCZ
Consultant
Consultant

@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.

0 Me gusta

cadffm
Consultant
Consultant
Not available, only as Dialogversion.

Sebastian

0 Me gusta