Message 1 of 5
spline_ik_control helper creation problem via script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
using spline_IK_Control modifier in max 2010. Given a spline called cur_spline, I'm running the following code:
For some reason the helpers are created at the origin instead of at each spline vertex location. Also, they do not move the vertices, nor do all of them show up in the control objects box in the spline_ik_control modifier.
However, if I click the create helper button in the interface, it works correctly. I need to get it working correctly via maxscript. Secondly, I would like to rename the helper objects using maxscript. Is there a way to get them to be created correctly in the script as well as then access them and name them in the same script?
Thanks in advance!
Adnan
using spline_IK_Control modifier in max 2010. Given a spline called cur_spline, I'm running the following code:
addmodifier cur_spline (spline_Ik_Control())
cur_spline.spline_ik_control.helper_size=2.5
cur_spline.spline_ik_control.linkTypes=2
cur_spline.spline_ik_control.createHelper (cur_spline.spline_ik_control.getKnotCount())
For some reason the helpers are created at the origin instead of at each spline vertex location. Also, they do not move the vertices, nor do all of them show up in the control objects box in the spline_ik_control modifier.
However, if I click the create helper button in the interface, it works correctly. I need to get it working correctly via maxscript. Secondly, I would like to rename the helper objects using maxscript. Is there a way to get them to be created correctly in the script as well as then access them and name them in the same script?
Thanks in advance!
Adnan