Gets the customization file name where the menu group is located.
Supported platforms: Windows only
Read-only: Yes
Type: String
A user-specified variable declared as a string type.
No additional remarks.
VBA:
Sub Example_MenuFileName() ' This example finds the file name for all loaded menu groups. Dim fileNames As String Dim menuGroup As acadMenuGroup fileNames = "" For Each menuGroup In ThisDrawing.Application.MenuGroups fileNames = fileNames & menuGroup.name & " " & menuGroup.MenuFileName & vbCrLf Next menuGroup MsgBox fileNames End Sub
Visual LISP:
(vl-load-com) (defun c:Example_MenuFileName() ;; This example finds the file name for all loaded menu groups. (setq acadObj (vlax-get-acad-object)) (setq fileNames "") (vlax-for mnuGroup (vla-get-MenuGroups acadObj) (setq fileNames (strcat fileNames (vla-get-Name mnuGroup) " " (vla-get-MenuFileName mnuGroup) "\n")) ) (alert fileNames) )