I try some ways to ename the cutlist item names wirh macro,but no success,so hope experts can help me do it! thanks!
i'm trying to make a macro that renames cut list folders and sets each partnumber property to be the same. it works, but for structural member items it does not update the "length@@@cut-list-item1@.." property so the cut list on the sheet has 0.0 length. manually renaming the folder by hand automatically changes the length custom property. manually changing the length property doesn't stick, it goes back to cut-list-item1 automatically. help!
Set swApp = Application.SldWorks
Set Part = swApp.ActiveDoc
Set SelMgr = Part.SelectionManager
boolstatus = Part.Extension.SelectByID2("Cut-List-Item1", "SUBWELDFOLDER", 0, 0, 0, False, 0, Nothing, 0)
SelMgr.GetSelectedObject5(1).Name = "NEW NAME"
Retrieving data ...