Save a Copy of Assembly with ProProgramming
Hello all
I have a fairly heavy assembly (700 parts and assemblies) that has programming which calls for different family table instances depending on user inputs. This is used to allow our engineers to easily configure our product as long as it falls within the abilities of the model. All assemblies and parts currently have the suffix following a root number. EX: 111_78, 112_78, 113_78. I need to be able to preform a save as and change the suffix of each file name ever time we process a new order to keep them unique in windchill. When I regenerate the model after preforming a Save As and replace the _78 suffix with _79, the program is still looking for the part/assembly with the _78 suffix and it does not allow me to regenerate.
Is anyone aware of a wildcard character that could be used in the program so it is only looking for the root number and not the root number plus the suffix?
Is there a way to find and replace the suffix in all sub-programs?
Is there something I can add at the beginning of the code to act as a "On-Off" switch for the programming? Something that would keep the program from running during regeneration.
I can not use the Save a copy function because the majority of the parts in the assemblies have flat patterns as a family table instance. Save a copy will not grab family table instances.
We are currently using Creo 4.0

