This video shows how you can "swap a material" on an object using buttons in a 3D PDF. It does this by hiding and showing copies of the object, each with the different material on it. It uses the Takes system to accomplish this.
https://www.plugins4d.com/4dpublish