Spline field
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 13/12/2002 at 08:18, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 8.012
Platform: Windows ;
Language(s) : C++ ;---------
How can I retrieve the different values of a SPLINE description field?
I have found the customgui_splinecontrol.h headerfile but I don´t know how to get any values.
Thanks for any help into the right direction. -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 13/12/2002 at 09:17, xxxxxxxx wrote:
First, get a pointer to the SplineData (SplineCustomGui::GetSplineData).
To get an array of all knots, call SplineData::GetKnots. You can get the coordinates of any spline point with GetPoint and GetPointFromX. r must be in the range [0, 1]. Increase lMaxIter or decrease rMaxEps if the result is not as excat as you need.
Good luck -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 13/12/2002 at 09:50, xxxxxxxx wrote:
I just want to add that in a description, SplineCustomGui::GetSplineData() will be replaced by static_cast<SplineData*>(BaseContainer::GetCustomDataType(id, CUSTOMDATATYPE_SPLINE)).
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 13/12/2002 at 11:08, xxxxxxxx wrote:
hui, thanks both of you. I will try to make it. Good Luck is exactly what I need.
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 13/12/2002 at 12:23, xxxxxxxx wrote:
Works like a charm. Thanks again.