ModelDoc2_FileRegenNotfiy ?

Hi

Does anyone know the correct name for the function that runs WithEvents when a model or drawing is regenerated? It will be something like:

*_FileRegenNotfiy (Eg, ModelDoc2_FileRegenNotfiy)

Thanks

SolidworksApi macros
Answers 2
SF
SF 2011-04-14 Best Answer

Ah, it's ok I've got it:

Private Function swAssembly_RegenNotify() As Long

Cheers

FV
FV 2011-04-14

Hi David, good job on figuring it out and sharing with the community.

I've always done this with handlers..so I'm confused as to how you managed to do this, or how it even works...could you upload a sample macro with this implemented please? I would appreciate it very much.

Thank you

Filipe