all AutoCad COMMANDS

all AutoCad COMMANDS

Anonymous
Not applicable
538 Views
4 Replies
Message 1 of 5

all AutoCad COMMANDS

Anonymous
Not applicable
I was just wondering if someone has a list that shows all BASIC AutoCad commands for VBCODE? Example:

Thisdrawing.ZOOMEXTENTS
Thisdrawing.LINE
Thisdrawing.ERASE
Thisdrawing.Circle

I am just guessing on the above. But I feel like there should be a list someone. Please post.
0 Likes
539 Views
4 Replies
Replies (4)
Message 2 of 5

Anonymous
Not applicable
In the VBA IDE if your IDE is set to autolist members (Tools, Options, and check Auto List Members) you can see a list.
0 Likes
Message 3 of 5

Anonymous
Not applicable
There are no basic AutoCAD commands for VB code.

You can only execute commands using the SendCommand() method of the AcadDocument.

--
http://www.caddzone.com

AcadXTabs: MDI Document Tabs for AutoCAD 2008
Supporting AutoCAD 2000 through 2008
http://www.acadxtabs.com

wrote in message news:5870422@discussion.autodesk.com...
I was just wondering if someone has a list that shows all BASIC AutoCad commands for VBCODE? Example:

Thisdrawing.ZOOMEXTENTS
Thisdrawing.LINE
Thisdrawing.ERASE
Thisdrawing.Circle

I am just guessing on the above. But I feel like there should be a list someone. Please post.
0 Likes
Message 4 of 5

dgorsman
Consultant
Consultant
Help file lists both method and property members for the various objects. You need to adjust your direction of thinking away from command-line intput and into the programmatic methods.
----------------------------------
If you are going to fly by the seat of your pants, expect friction burns.
"I don't know" is the beginning of knowledge, not the end.


0 Likes
Message 5 of 5

Anonymous
Not applicable
Hi,

While what Tony advised is true and sending AutoCAD commands is an
inefficient way of programming the basic Zoom commands are available in VBA
and can be run directly without have to reference the Object they refer to
in the code.

ZoomAll

ZoomCenter

ZoomExtents

ZoomPickWindow

ZoomPrevious

ZoomScaled

ZoomWindow


--


Regards

Laurie Comerford
"Tony Tanzillo" wrote in message
news:5870435@discussion.autodesk.com...
There are no basic AutoCAD commands for VB code.

You can only execute commands using the SendCommand() method of the
AcadDocument.

--
http://www.caddzone.com

AcadXTabs: MDI Document Tabs for AutoCAD 2008
Supporting AutoCAD 2000 through 2008
http://www.acadxtabs.com

wrote in message
news:5870422@discussion.autodesk.com...
I was just wondering if someone has a list that shows all BASIC AutoCad
commands for VBCODE? Example:

Thisdrawing.ZOOMEXTENTS
Thisdrawing.LINE
Thisdrawing.ERASE
Thisdrawing.Circle

I am just guessing on the above. But I feel like there should be a list
someone. Please post.
0 Likes