Message 1 of 4

Not applicable
06-15-2018
12:03 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
I used below code for renaming work planes in Sheet metal flatpattern tree but it renaming in model tree but not in flatpattern tree.
Can anyone help me to rename the planes in flatpattern tree?
SyntaxEditor Code Snippet
'Rename work planes oDoc = ThisApplication.activedocument i = 1 For Each oWorkPlane In oDoc.ComponentDefinition.WorkPlanes If oWorkPlane.IsCoordinateSystemElement = False Then oWorkPlane.Name = "WorkPlane" & i i=i+1 End If Next
Solved! Go to Solution.