Iterate properties of a class.

Discussion in 'AutoCAD' started by ntaylor, Sep 11, 2003.

  1. ntaylor

    ntaylor Guest

    Is it possible to iterate all properties of a class?
    I wish to list the names and values of all properties in the AcadPreferencesFiles object.



    Regards - Nathan
     
    ntaylor, Sep 11, 2003
    #1
  2. ntaylor

    ntaylor Guest

    I would like to know the current value for each property without explicitly specifying each property. Something like:
    For Each Property in Preferences
    I want to record all my AutoCAD Preferences and Map System & Project options. I could then use that record with another VBA program for setting up other computers.



    Regards - Nathan
     
    ntaylor, Sep 11, 2003
    #2
  3. ntaylor

    ntaylor Guest

    Thanks Mark, vlax-dump-object works a treat. I can copy the information from the textscreen to a text file and do what I need with that. Regards - Nathan
     
    ntaylor, Sep 11, 2003
    #3
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.