• Blog posts

    Bio

    By Luke Davenport 

    Issue:

    You are using the ‘Make Components’ tool in a multi-solid part file, and you would like to rename the solid bodies (and hence generated part files) to be something more appropriate than Solid1, Solid2 etc…

    Solution:

    This iLogic rule is a variation of one posted by Curtis Waguespack here – thanks Curtis! 

    http://inventortrenches.blogspot.co.uk/2012/02/ilogic-to-rename-all-solid-bodies.html 

    It’s got a few tweaks – 

    • It’ll increment the names 1, 2, 3 if you have up to 9 solid bodies, 01, 02, 03 if you have up to 99 solid bodies, and 001, 002, 003 if you have more than 99 solid bodies in the part.
    • It’ll always rename the solid bodies to be the Filename of the part, with an incremented suffix. So if you have a part called AMAZING_DUCT.ipt, the solid bodies will be called AMAZING_DUCT_Item_01 etc. 

    Here’s the code. I’m finding this particularly useful for the tasty new multi-solid sheet metal part workflows in Inventor 2016.

    As always, when copying and pasting the code be careful not to introduce any unwanted empty lines….

    Download the iLogic Code below: