User's Guide > ModelItem > Duplicating ModelItems
Duplicating ModelItems
 
Methods Introduced:
You can control the creation of ModelItems more than twice for the same Creo item. The method pfcBaseSession::AllowDuplicateModelItems allows you to turn ON or OFF the option to duplicate model items. By default, this option is OFF. To turn the option ON, set the boolean value to FALSE.
* 
If this option is not handled properly on the application side, it can cause memory corruption. Thus, althought you can turn ON and OFF this option as many times as you want, PTC recommends turning ON and OFF this option only once, right after the session is obtained.
Was this helpful?