ExportProfile Method

Back to Methods Reference

Exports the active profile so it can be shared with other users.

Signature

VBA : object.ExportProfile Profile, RegFile

VL : (vla-ExportProfile object Profile RegFile)

(vla-ExportProfile acadprofiles "Afralisp" "c:/afralisp.arg")

  • Object : PreferencesProfiles
    The object or objects this property applies to.
  • Profile : String; input-only
    The name of the profile to be exported.
  • RegFile : String; input-only
    The name of the file the profile will be exported to. The extension of the file should be arg.

Example :


(defun c:al-exportprofile ()

(vl-load-com)

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

(vla-ExportProfile acadprofiles 
            "Afralisp" "c:/afralisp.arg")


(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