Updating lightweight extensions after a PTC profile has been updated
If you update a PTC profile that has been extended through lightweight extensions, you must recreate the commands and buttons that are created by those lightweight extensions. You do this by running the Create Scripts command against the PTC profile.
To ensure that all the necessary commands and buttons are created, we recommend that you run the Create Scripts command against all the PTC profiles in the model.
* 
Creating scripts for the SysML profile does not create scripts for the SysML Requirements profile. After creating scripts for the SysML profile, expand the SysML profile, and then create scripts for the Requirements profile it contains.
* 
If you have created Scripts in a PTC Profile and you do not want the Create Scripts command to delete those Scripts, start the names of those Scripts with [DND].
To run the create scripts command for a profile:
Right-click the PTC profile package, and select Tools > Profile Extensions > Create Scripts.