GetAllProfileNames Method

Back to Methods Reference

Gets all available profiles for the system.


VBA : object.GetAllProfileNames(pNames)

VL : (vla-GetAllProfileNames object pNames)

(vla-GetAllProfileNames acadprofiles 'thelist)

  • Object : PreferencesProfiles
    The object or objects this method applies to.
  • pNames : Variant (array of strings)
    The array of available profile names for the system.

Example :

(defun c:al-getallprofilenames ()


(setq acadprofiles (vla-get-profiles

(vla-GetAllProfileNames acadprofiles 'thelist)

(setq thelist (vlax-safearray->list thelist))

(princ thelist)



The AutoLisp/Visual Lisp/VBA Resource Website
Search the WWW Search AfraLisp

Copyright 1999-Perpetuity by AfraLisp

All rights reserved.
Information in this document is subject to change without notice.
Site created and maintained by Kenny Ramage

The AutoLisp/Visual Lisp/VBA Resource Website