Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X
Hi guys,
In the migration fro Pro/e to Creo, we have some problems with the code to regenerate models. At the moment I have this code but it doesn't work. Anybody can help me? How can I regenerate generic and instances models?
for (i = 0; i < solids.Count; i++)
{
try
{
var solid = solids.Item (i);
WlWindowRepaint();
if (solid.Genericname== void null)
// if the model to regenerate is a generic or instance model
{
var I_regen = pfcRegenInstructions.SetForceRegen
solid.regenerate(I_regen)
}
else
{
solid.pfcRegenInstructions.UpdateInstances
//WlWindowRepaint();
}
solid.save();
}
}
JC