Hi @johnster100. I created a test scenario to test this situation on, but didn't save the bolt out and create work points on it. Then I proceeded to attempt to change the size of the bolt through use of an iLogic rule. Here is what I've got that has been working for me.
'name of your existing component (the one you want to change the size of)
Dim occName As String = "Heavy Hex Bolt - Inch 1/2-13 UNC - 1.25:2"
'Content Center category path down to the Family, but not including the Family
'each category name is seperated by colons (:)
Dim ccPath As String = "Fasteners:Bolts:Hex Head"
Dim familyName As String = "Heavy Hex Bolt - Inch"
'from the Table View, the value in the column who's internal name is 'Designation'
Dim designation As String = "1/2-13 UNC - 1.5"
Components.AddContentCenterPart(occName, ccPath, familyName, designation)
You can see from the names and notes within, what type of bolt I had in my assembly. To change its size, I simply changed something like the length ("1.5") to "1" (as long as it is available in the table), then run the rule, then it changes the size of that bolt, just as if I had right-clicked on it and chose the other length. I hope this is what you were looking for.
If this solved your problem, or answered your question, please click ACCEPT SOLUTION.
Or, if this helped you, please click (LIKE or KUDOS) 👍.
If you want and have time, I would appreciate your Vote(s) for My IDEAS :light_bulb:or you can Explore My CONTRIBUTIONS
Wesley Crihfield
(Not an Autodesk Employee)