DeleteProfile Method

Back to Methods Reference

Deletes the specified profile.

Signature

VBA : object.DeleteProfile ProfileName

VL : (vla-DeleteProfile object ProfileName)

(vla-DeleteProfile acadprofiles "Afralisp")

  • Object : PreferencesProfiles
    The object or objects this property applies to.
  • ProfileName : String
    The name of the profile to delete.

Example :


(defun c:al-deleteprofile ()

(vl-load-com)

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

(vla-DeleteProfile acadprofiles "Afralisp")
            
(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