The Python documentation mentions a
c4d.CallButton, but I cannot find anything similar in the C++ documentation.
What would be the C++ equivalent of the example below (provided in the Python documentation)?
FindPlugin I get, but how to perform the
Or is this something which is only available to Python?
import c4d c4d.CallCommand(c4d.ID_MODELING_TRANSFER_TOOL) # Set Transfer as current Tool tool = plugins.FindPlugin(doc.GetAction(), c4d.PLUGINTYPE_TOOL) # Search Transfer Tool instance if tool is not None: c4d.CallButton(tool, c4d.MDATA_APPLY) c4d.EventAdd()