Plugin Cafe Homepage
Forum Home Forum Home > Plugin Cafe > SDK Help
  New Posts New Posts
  FAQ FAQ  Forum Search   Register Register  Login Login

Functions->Connect

 Post Reply Post Reply
Author
Message
Charles View Drop Down
Member
Member


Joined: 2002 Nov 25
Location: Singapore
Online Status: Offline
Posts: 76
Post Options Post Options   Quote Charles Quote  Post ReplyReply Direct Link To This Post Topic: Functions->Connect
    Posted: 2003 Jul 04 at 6:50am

User Information:

Cinema 4D Version:   7.303 
Platform:   Windows  ;   
Language(s):   C.O.F.F.E.E  ;   

---------

Hi

I am trying to exeute Functions->Connect command using COFFEE. I used this code:

vObj=doc->FindObject("Group1");
conSlab = vObj->GetContainer();
SendModelingCommand(MCOMMAND_SELECTCONNECTED, doc, vObj, conSlab, MODIFY_ALL);
GeEventAdd(REDRAW_ALL);


But it doesn't seem to work. Can any one help me?

 

Thanks & Regards,
Charles.
Back to Top
Mikael Sterner View Drop Down
Member
Member


Joined: 2002 Oct 29
Location: Sweden
Online Status: Offline
Posts: 1512
Post Options Post Options   Quote Mikael Sterner Quote  Post ReplyReply Direct Link To This Post Posted: 2003 Jul 07 at 12:42pm
That isn't the right function. Try MCOMMAND_JOIN instead.
Mikael Sterner
Developer Support
Back to Top
Charles View Drop Down
Member
Member


Joined: 2002 Nov 25
Location: Singapore
Online Status: Offline
Posts: 76
Post Options Post Options   Quote Charles Quote  Post ReplyReply Direct Link To This Post Posted: 2003 Jul 15 at 12:45am

Michael,

when I use MCOMMAND_JOIN, I'm getting "Variable of Function expected error". I think this command is not available for Ver.7.303 COFFEE. Is it so? I cannot find MCOMMAND_JOIN in the documentation (COFFEE) also.

I found David O'Reilly's msg from archived : "the command code 246 does work"

Yes, it works now. Thanks.

 

 

Thanks & Regards,
Charles.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Bulletin Board Software by Web Wiz Forums® version 9.61 [Free Express Edition]
Copyright ©2001-2009 Web Wiz

This page was generated in 0.094 seconds.