Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TugboatEng on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Looking for a VB.Net command to do a ZoomAll in acad 2009

Status
Not open for further replies.

Zrob

Structural
Joined
Aug 4, 2007
Messages
47
Anyone doing .net programming in AutoCAD 2009? The examples I see I think are for 2010 or 2011. But I am working in 2009, trying to do a ZoomAll ?

Thanks!
 
Try this:

<CommandMethod("ZoomExtents")> _

Public Sub ZoomExtents()

Zoom(New Point3d(), New Point3d(), New Point3d(), 1.01075)

End Sub

This was taken from the .NET developers guide, found here:

I recommend the Autodesk .NET discussion thread for these type of questions:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top