Hello,
Thank you so much for your work on these scripts and tutorials! I was trying to use the CV-Apply Weights To Selection script, but I got this in the Console:
AttributeError: 'module' object has no attribute 'ID_CA_WEIGHT_TOOL_APPLY_SELECTED'
Perhaps this would work?
"""
Name-US: CV-Apply Weights To Selection
Description-US: Apply the current strength Weights to your component selection
"""
import c4d
from c4d import gui,modules,documents
def main():
doc = c4d.documents.GetActiveDocument()
weightManager = c4d.modules.character.CAWeightMgr
weightManager.ApplyWeightFunction(doc)
c4d.EventAdd()
if __name__=='__main__':
main()
Thanks again!