Author Topic: DUMP objetc propierties  (Read 2016 times)

0 Members and 1 Guest are viewing this topic.

DEVITG

  • Bull Frog
  • Posts: 481
DUMP objetc propierties
« on: April 18, 2005, 07:54:00 PM »
Hi all , I had done this code , to get all the objects propierties of each entity of a drawing

Code: [Select]
;; TO GET ALL THE object's propierties  ON A DRAWING
(defun get-object  ()
  (setq et (entnext))
  (while et
        (SETQ objet-name (vlax-ename->vla-object et))
;;(prin1 objet-name)
   
   (setq object-propierties (vlax-dump-object objet-name  ) )
 
(prin1 object-propierties)
    (terpri)
    (setq et (entnext et))
  )
)

(get-object)



But this line does  not  PRIN1 the object propierty


Code: [Select]
(prin1 object-propierties)



At the HELP this is stated

Quote
Note that vlax-dump-object displays the information in the window from which you issued the command. However, the function returns T to the calling program, not the information displayed in the Command window.



My question , there is any way I can print or save in a file such OBJECTS-PROPIERTIES???????
Location @ Córdoba Argentina Using ACAD 2019  at Window 10

Kerry

  • Mesozoic relic
  • Seagull
  • Posts: 11654
  • class keyThumper<T>:ILazy<T>
DUMP objetc propierties
« Reply #1 on: April 18, 2005, 08:19:43 PM »
Not EXACTLY what you want < not programmatic >

Search for
Logging Console Window Activity
in the developers help.

Quote
Create a log file by choosing File -> Toggle Console Log from the VLISP menu. Note that the Console window must be active for the Toggle Console Log option to be available.   .... >>>>
kdub, kdub_nz in other timelines.
Perfection is not optional.
Everything will work just as you expect it to, unless your expectations are incorrect.
Discipline: None at all.