Jun 13, 2010 #1 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!
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!
Jul 2, 2010 #2 maweilian Mechanical Joined Sep 22, 2009 Messages 5 Location US 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: http://docs.autodesk.com/ACD/2010/ENU/AutoCAD .NET Developer's Guide/index.html I recommend the Autodesk .NET discussion thread for these type of questions: http://forums.autodesk.com/t5/NET/bd-p/152;jsessionid=B57D29C0130DA03EF3017CF198A6C271 Upvote 0 Downvote
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: http://docs.autodesk.com/ACD/2010/ENU/AutoCAD .NET Developer's Guide/index.html I recommend the Autodesk .NET discussion thread for these type of questions: http://forums.autodesk.com/t5/NET/bd-p/152;jsessionid=B57D29C0130DA03EF3017CF198A6C271