THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 04/01/2004 at 03:46, xxxxxxxx wrote:
Cinema 4D Version: 8.500
Platform: Windows ;
Language(s) : C.O.F.F.E.E ;
i have Problem wie this Code, as Expression it works fine but in my Plugin only a empty Spline Object will be create but no points set, that makes me really wonder and i dont find help with the forum search.
thx a lot for help
var count = 3;
var doc = GetActiveDocument();
if (!spline && !instanceof(doc,SplineObject))
//update new obj/point count
var vc=new(VariableChanged); if(!vc) return FALSE;
On 09/01/2004 at 13:39, xxxxxxxx wrote:
A couple of things to check:
1. What would spline->GetPoints() return, i.e. has it understood that the spline has three elements?
2. Does calling spline->Message(MSG_UPDATE) help?