Modify body event

How do I know whether to rebuild or change the body as a result of user actions? Do I need to rebuild for a particular body?

SolidworksApi macros