EnJoeNeer
Mechanical
- Nov 27, 2006
- 17
Hi,
I am looking to automate an assembly, but I'm trying to do it without interpart expressions in the lower level components looking up to the master assembly. I am doing this because IPEs don't always update, I don't want them looking at the same assembly post save-as, and I'd like a cleaner way to do a 1-time assertion of value and then not have an IPE connection. All of the journaling I have recorded myself has gone through "make displayed part" operations and then "workPart.Expressions.EditWithUnits(expression3, unit2, """COMPONENT/01""::EXPRESSION_NAME")" type operations to identify the expression and the value to assign. Does anybody know of a means of identifying a part number, an expression, and a value to assert in one operation without changing part files? I am also looking to do something similar with a save-as. I would like to identify the current part number and do a save-as to a number part number I identify, similar to a clone, not with dissimilar string values.
Does anybody have some familiarity with this?
I could do all of this through IPEs and manual save-as, but I'd like to try something a little new and cleaner.
Thank you!
I am looking to automate an assembly, but I'm trying to do it without interpart expressions in the lower level components looking up to the master assembly. I am doing this because IPEs don't always update, I don't want them looking at the same assembly post save-as, and I'd like a cleaner way to do a 1-time assertion of value and then not have an IPE connection. All of the journaling I have recorded myself has gone through "make displayed part" operations and then "workPart.Expressions.EditWithUnits(expression3, unit2, """COMPONENT/01""::EXPRESSION_NAME")" type operations to identify the expression and the value to assign. Does anybody know of a means of identifying a part number, an expression, and a value to assert in one operation without changing part files? I am also looking to do something similar with a save-as. I would like to identify the current part number and do a save-as to a number part number I identify, similar to a clone, not with dissimilar string values.
Does anybody have some familiarity with this?
I could do all of this through IPEs and manual save-as, but I'd like to try something a little new and cleaner.
Thank you!