Toggle navigation
Polycount
News
Forums
Patreon
Challenges
Quarterly Character Art Challenge
Bi-Monthly Environment Art Challenge
Wiki
Moar
Recent
Activity
Badges
Drafts
Store
Sign In
·
Register
Author:
valentin_baguirov
Home
›
Coding, Scripting, Shaders
3DsMax - How to edit evaluated script on my controller
Pegge
Offline /
Send Message
Pegge
Feb 2019
Hello. I have question. I used script on my IK controller and now I want to delete or edit already existing button that I added by that script.
How I can do that?
0
·
Share on Facebook
Share on Twitter
Replies
Offline /
Send Message
monster
polycounter
Feb 2019
If you have a rigging system and several characters using that system then look at the Max help page “
Custom Attributes Version Number Handling”
But if this is just a one off rig you have a few options.
- Delete the CA, evaluate, then add the updated CA.
- Declare an AttribID when evaluating the CA. Then you can update by simply evaluating the CA with the same ID.
- If you don’t have the code you can use custAttributes.source to get it, and custAttributes.redefine to apply the new source code.
It’s explained in depth on the help page Global and Private Custom Attribute Definitions.
1
·
Share on Facebook
Share on Twitter
Sign In
or
Register
to comment.
Replies
But if this is just a one off rig you have a few options.
- Delete the CA, evaluate, then add the updated CA.
- Declare an AttribID when evaluating the CA. Then you can update by simply evaluating the CA with the same ID.
- If you don’t have the code you can use custAttributes.source to get it, and custAttributes.redefine to apply the new source code.
It’s explained in depth on the help page Global and Private Custom Attribute Definitions.