Message 1 of 4

Not applicable
10-24-2018
05:41 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I'm writing a simple feature-rename script.
However i just can't figure out how to derive the solid body name from the selected feature.
example:
For Each oExtrude In oDef.Features.ExtrudeFeatures oBody = oDef.SurfaceBodies.Item(1) 'obviously only gives the first solid as name oExtrude.Name = oBody.Name & " - Ext. " & extCount.ToString("00") extCount = extCount + 1 Next
I want to rename all extruded features to: SolidName - " Ext." followed by an increment.
Solved! Go to Solution.