[Closed] [SDK] Paramblock messages
Anytime a paramblock value is changed, the paramblock sends notifications with PART_ALL as the part.
Anyway to customize which part(s) will be sent for a particular parameter? Ie, can I tell it to just send PART_DISPLAY or PART_MTL etc for certain parameters?
you could send that message yourself in a PBAccessor for that Parameter when it’s changed
you can enable and disable notifications with
IParamBlock2::EnableNotifications(BOOL onOff)
though it’s a “global” switch for params in the block, so you might need to process all param messaging for the block.
sorry yes, all param blocks, I assumed it was just all params in the block
Can you explain in more detail why you need to specify notification messages? Maybe there are some alternative solutions…
It’s not an XY problem. If there’s no way for me to flag certain params as changing only certain PART ids, then I guess I’m out of luck
I just think … the specified notification is not a very common option. Most plugins work well without it. So maybe you can do something like IRefTargMonitor to monitor and modify messages the way you want.