Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 09/12/2002 at 05:41, xxxxxxxx wrote:
User Information: Cinema 4D Version: 8.012 Platform: Language(s) : C.O.F.F.E.E ;
--------- I have a List of some Problems i need to solve quickly,and Nobody (!) at the German "Support-Hotline " was able to help me! - In R8 the obj->SetPrimitiveType() doesn´t work,in R7 no problems !? -Capsule with a TRad under 50 generates a Null-Obj. ?! -how do i move the pivot of an object ? -how can i read out the global position of a point of a deformt object ( deform with bones) ? -is there something like a Xpresso-node object ? -is it possible to generate xpresso-nodes in C++ ? Please help me . Nico
On 09/12/2002 at 07:45, xxxxxxxx wrote:
- In R8 the obj->SetPrimitiveType() doesn´t work,in R7 no problems !? SetPrimitiveType is not supported anymore. You will have to create the primitive type now directly. Like var circle = new(SplineCircleObject); But that´s only a support function. You should wait until COFFEE is updated. -how can i read out the global position of a point of a deformt object ( deform with bones) ? Not possible in COFFEE afaik -is there something like a Xpresso-node object ? No. -is it possible to generate xpresso-nodes in C++ ? Yes, but currently unsupported afaik. Best SAmir
On 09/12/2002 at 08:18, xxxxxxxx wrote:
Hi, Thanks for the quick repy. You talk about a Coffee-Update. When will that be available ? Are there other Coffee-funktions that are not supported anymore. Maybe you should post a list at the SDK-sites?. You didn´t answer my question about move the axis of an object. is that possible in coffee? Greetings, Nico
On 09/12/2002 at 08:30, xxxxxxxx wrote:
Thanks for the quick repy. You talk about a Coffee-Update. When will that be available ? ---------------------------- No date was set yet. I don´t know. But there will be. ---------------------------- Are there other Coffee-funktions that are not supported anymore. Maybe you should post a list at the SDK-sites?. ---------------------------- I don´t know of a complete list and I doubt there will be a "not supported COFFEE Functions" list. You should wait until COFFEE will be updated or use C++ if you have the ability/possibility. ---------------------------- You didn´t answer my question about move the axis of an object. is that possible in coffee? ---------------------------- You will have to do it yourself. Move the object and then set all points back to their original position. For example:
main(doc,op) { var m = op->GetMg(); m->SetV0(vector(100,100,100)); op->SetMg(m); var points = op->GetPoints(),i; for(i=0;i<op->GetPointCount();i++) { op->SetPoint(i,op->GetPoint(i)-vector(100,100,100)); } }
This will set the object axis to position 100,100,100.
On 09/12/2002 at 09:06, xxxxxxxx wrote:
Hi, Thanks again ! I´l try that with the points. I tried to avoid learning C++, but i assume its necessery for what i want . Can you tell me ,will the update come next month or next year. Here hopefully the last question for today: the SetActiveObject does not work in R8? How do i do it ?
On 09/12/2002 at 09:13, xxxxxxxx wrote:
Can you tell me ,will the update come next month or next year. ----------------------------- don´t know. ----------------------------- Here hopefully the last question for today: the SetActiveObject does not work in R8? How do i do it ? ----------------------------- Works fine for me. doc->SetActiveObject(op->GetNext()); You could also use Bits: op->GetNext()->SetBit(BIT_ACTIVE);
On 09/12/2002 at 14:29, xxxxxxxx wrote:
Hello again, I found another Problem: I wrote bc->SetData(CONE_HIGHT,x); inR7 it works, in R8 nothing happens.I don´t get an ERROR massage, but the hight doesnt change either.of course i write back the container after that.
On 09/12/2002 at 14:34, xxxxxxxx wrote:
The Container System isn´t really consistent anymore. Please have a look at the COFFEE Thread by Rui Batista some threads underneath this one (maybe it´s already on site 2). There you will find an answer. Or you only have to write HEIGHT instead of HIGHT (But I guess this is only a spelling mistake while writing in here). Best Samir
On 11/12/2002 at 06:18, xxxxxxxx wrote:
Hi again, Ok i read some .res files so i know the IDs but for example bc->SetData(PRIM_CAPSULE_HEIGHT,200); gets me the Error " funktion or variable expectet"? Another Problem is to set the start and endtimes for an sequence var seq =new(PositionSequence); seq->SetT2(100), gets me " Incompatible value INTERGER/OBJECT" We realy need that Coffee Update ! Greetings, Nico
On 11/12/2002 at 09:49, xxxxxxxx wrote:
You need to copy and paste the definitions in the corresponding .h file to be able to use the constants. (Copy only the enum declaration, not the #ifdefs etc.) And BaseSequence::SetT2() has always required a BaseTime object, so do like this instead:
var t = new(BaseTime); t->SetFrame(200, doc->GetFps()); seq->SetT2(t);