Hello,
I have a written a code which does following-
Copies proe assembly & corresponding part file to new working directory with new name(changing name is mandatory)
Then loads this assemblies into the proe session.
Here issue is sub-assemblies are loading into proe but components associated with that particular sub-assembly are in supressed state because of the different part name in working directory.
Is it possible torenamesub-assembly component?
Please let me how can I unsupress this components without any error?
Rahul
use ProMdlBackup to save the assembly to new location(this function save all components, too)
load this assembly and all the components from new location and rename assembly and components in memory, this keep the relation between the assembly and components.
save renamed assembly and components, remove older version