Hi All,
It's a very very old post but i try save WP in MI with right button menu context.
I wrote that for menu:
(sd-browser-add-popup-entry
"parcel-gbrowser"
:entry-type
ush
:label (sd-multi-lang-string "Save WP as..." :french "Enregister PdT sous..." )
:is-entry-applicable 'IsWPObj
:menu-action 'saveWP
:new-group t
)
and then, the function:
(defun saveWP (obj name)
(mi_out :filename (format nil "~A.mi" (string-upcase (sd-inq-obj-basename obj)))
verwrite :select (BrowserNode-objPath obj))
)
Doesn't works ! And Modeling crash....Any idea ??