.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Zoom Extents sample code not working

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
TTIII
951 Views, 2 Replies

Zoom Extents sample code not working

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
2 REPLIES 2
Message 2 of 3
kdub_nz
in reply to: TTIII

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 ??


// Called Kerry in my other life.

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

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

Message 3 of 3
TTIII
in reply to: kdub_nz

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

 

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

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost