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