THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 04/04/2012 at 23:43, xxxxxxxx wrote:
I'm having all kinds of trouble trying to figure out the proper syntax to execute tools.
Not just the buttons. But even the attributes don't work as expected.
Specifically. I'd like to change the things in the character weights manager.
Example: tool()[c4d.ID_CA_WEIGHT_TOOL_SHOWALL]=False #<-----tool is not defined!!!
And I would also like to execute the various buttons in the manager.
Example:c4d.CallButton(tool(), ID_CA_WEIGHT_TOOL_FN_CLEARWEIGHT) #<----This is wrong!!!
Even the script log in R13 produces code that does not work.
It says "tool" is not defined.
What's the secret to getting at these things?