GetAllProfileNames Method

Back to Methods Reference

Gets all available profiles for the system.

Signature

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 ()

(vl-load-com)

(setq acadprofiles (vla-get-profiles
                      (vla-get-preferences
                          (vlax-get-Acad-Object))))

(vla-GetAllProfileNames acadprofiles 'thelist)

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

(princ thelist)

(princ)

);defun

 
The AutoLisp/Visual Lisp/VBA Resource Website
Google
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