Message 1 of 5
Delete Selected Objects

Not applicable
02-13-2014
01:19 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi, I am having an issue with a drag and drop macro I created from the listener window. In max 2012 it works correctly but in max 2014 I get an error "-- No "delete" function for undefined". This is what the macroscript looks like:
macroScript Macro2
category:"DragAndDrop"
toolTip:"Delete"
(
actionMan.executeAction 0 "40020" -- Edit: Delete Objects
delete $
)
Any ideas why the script would work fine in 2012 and not 2014?
Also is there anyway to rebind the "delete key" back to its default? When I couldn't get the script to work I bound ~ to delete selected and now I cannot reassign it back to the default "delete key".
Thanks in advance for any help.