; error: no function definition: VLAX-GET-ACAD-OBJECT

Discussion in 'AutoCAD' started by Adesu, Jul 2, 2004.

  1. Adesu

    Adesu Guest

    If I got program contained with "VLAX-GET-ACAD-OBJECT",the Computer always
    said
    "; error: no function definition: VLAX-GET-ACAD-OBJECT",can anybody explain
    to me how to understand it
    Best regards
    Ade Suharna

    (if *Select (vla-clear *Select)
    (setq ssColl (vla-get-SelectionSets
    (vla-get-ActiveDocument
    (vlax-get-acad-object)))
    *Select (vla-add ssColl "sel")
    )
    )
    (setq ss (ssget))
    (if SS
    (progn
    (vla-Select *Select acSelectionSetPrevious)
    (vlax-for % *Select
    (vla-copy %)
    )
    )
    )
    )

    _$
     
    Adesu, Jul 2, 2004
    #1
  2. Adesu

    zeha Guest

    (vl-load-com)
     
    zeha, Jul 2, 2004
    #2
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.