Help-(vla-zoomextents (vla-get-activedocument (vlax-get-acad-object)))

Discussion in 'AutoCAD' started by petervose, Jan 21, 2004.

  1. petervose

    petervose Guest

    Could anyone tell me where I'm going wrong with this ?

    (vla-zoomextents (vla-get-activedocument (vlax-get-acad-object)))

    I'm just trying to zoom extents without using (command "zoom" .....etc.) but this throws back an error:
    unknown name: ZoomExtents

    Any assistance would be great
    Thanks
    Peter
     
    petervose, Jan 21, 2004
    #1
  2. (vla-zoomextents (vlax-get-acad-object))

    ruul
     
    ruul morawetz, Jan 21, 2004
    #2
  3. petervose

    BillZ Guest

    (vla-ZoomExtents (vlax-get-acad-object))

    Bill
     
    BillZ, Jan 21, 2004
    #3
  4. petervose

    petervose Guest

    Thanks Gents - Sorry if it seemed a dumb question
    Peter
     
    petervose, Jan 21, 2004
    #4
  5. not at all.
    ruul
     
    ruul morawetz, Jan 21, 2004
    #5
  6. petervose

    BillZ Guest

    Not a dumb question,
    It caused me to learn this at the same time as you.

    I used: (vlax-dump-object (vlax-get-acad-object) t)
    To spill out the objects and the methods onto the screen.
     
    BillZ, Jan 21, 2004
    #6
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.