Select Last Created Object

/ Published in: Maxscript
Save to your folder(s)

Select last created object using "getNodeByHandle" fn

Copy this code and paste it in your HTML
  1. fn selectLastCreatedObj =
  2. (
  3. objID = amax (for o in objects collect o.inode.handle)
  4. select (maxOps.getNodeByHandle objID)
  5. )

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.