🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

Question about reset custom property in configtimestep()

User: "Raheem Sterling_22160"
Altair Community Member
Updated by Raheem Sterling_22160

Hi,

To reset the custom property in the contactmodel API. I pretend to use the  resetCustomProperty() in  ISimulationManagerApi_1_1.h.

Firstly, I defined a m_mngr in the header file with NApiCore::ISimulationManagerApi_1_1* m_mngr, and then initialized m_mngr in the starting(), but when I want to use it the configForTimeStep(), it can not work, I don't know if configForTimeStep() only contains particleManager and geometryManager. 

I also noticed that resetCustomproperty() also exists in the particlemanngerApi, but for contact model, I guess ISimulationManager is the one appropriate.

Or I missed something?

Thanks

Find more posts tagged with