.NET

Reply
Active Contributor
34 Posts
0 Kudos
Registered: ‎05-12-2014
Post 1 of 3
Accepted Solution

Zoom Extents sample code not working

599 Views, 2 Replies
07-28-2014 05:56 AM

Hello,

 

I got the sample code for Zoom Extents from here:

http://help.autodesk.com/view/ACD/2015/ENU/?guid=GUID-70B3140A-14F1-4F54-AF5F-8DEDB444C3BA

 

However it complains about Zoom()

What does zoom need to be dimensioned as?

 

<CommandMethod("ZoomExtents")> _
Public Sub ZoomExtents()
    '' Zoom to the extents of the current space
    Zoom(New Point3d(), New Point3d(), New Point3d(), 1.01075)
End Sub

What is the 'it' that complains ?

What is the complaint ?

 

Are you using the Zoom function from http://help.autodesk.com/view/ACD/2015/ENU/?guid=GUID-FAC1A5EB-2D9E-497B-8FD9-E11D2FF87B93 ??

Valued Mentor
278 Posts
22 Kudos
Registered: ‎11-29-2008
Post 2 of 3

Re: Zoom Extents sample code not working

07-28-2014 02:30 PM in reply to: tony.tomison.iii

What is the 'it' that complains ?

What is the complaint ?

 

Are you using the Zoom function from http://help.autodesk.com/view/ACD/2015/ENU/?guid=GUID-FAC1A5EB-2D9E-497B-8FD9-E11D2FF87B93 ??

//-------------------------------------------------------

Everything will work just as you expect it to, unless your expectations are incorrect.

class keyThumper<T> : Lazy<T>;      another  Swamper

Active Contributor
34 Posts
0 Kudos
Registered: ‎05-12-2014
Post 3 of 3

Re: Zoom Extents sample code not working

07-29-2014 07:08 AM in reply to: KerryBrown

The "it" was Visual Studio complaining that zoom wasn't definied.

 

However that link you provided solved the issue, thank you.

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Are you interested in helping shape the future of the Autodesk Community? To participate in this brief usability study, please click here. Your time and input is greatly appreciated!