Hi
I try to create simply thing via pymel.
I create a curve, than I create 3D container from Fould tab.
First I select my curve, than 3D container to get 2 selections.
Next step is click on Field/Solvers tab and select Volume Curve
the mel looks like that:
volumeAxis -pos 0 0 0 -m 5 -att 0 -ia 0 -afc 1 -afx 1 -arx 0 -alx 0 -drs 0 -dx 1 -dy 0 -dz 0 -trb 0 -trs 0.2 -tfx 1 -tfy 1 -tfz 1 -tox 0 -toy 0 -toz 0 -dtr 0 -mxd -1 -vsh "curveShape1" -vof 0 0 0 -vsw 360 -tsr 0.5 ;
// Result: volumeAxisField1 //
connectDynamic -f volumeAxisField1 fluid1;
// Result: fluidShape1 //
connectAttr time1.outTime volumeAxisField1.time;
// Result: Connected time1.outTime to volumeAxisField1.time. //
I know how to convert that into pymel. But does not work.
also when I copy the mel and I paste that into mel tab to run this 3 lines of code. It works but does not create what was created by clicking the tabs and using the mouse.
I need help, how to recreate a volume through the curve?
thank you