Xpresso node in Python. Possible?

On 30/05/2014 at 05:51, xxxxxxxx wrote:

Is is possible to create an Xpresso node in Python?

On 30/05/2014 at 06:19, xxxxxxxx wrote:

Hi Rui,

you can create a node with this code:

  XP=c4d.BaseTag(c4d.Texpresso) # create the xpresso tag  
  op.InsertTag(XP) # add the xpresso tag   
  # now create the object node  
  Bas_Node=Node_M.CreateNode(Node_M.GetRoot(), c4d.ID_OPERATOR_OBJECT, None, 330, 200 )  

you´ll find more informations here:


On 30/05/2014 at 07:18, xxxxxxxx wrote:

I don't mean creating an already existing node inside an Xpresso tag.
I mean, is it possible to create a new node, just like I can create new tags and objects plugins?

On 30/05/2014 at 08:01, xxxxxxxx wrote:

With this you have to define your ports an stuff like this by yourself than:

Bas_Node=Node_M.CreateNode(Node_M.GetRoot(), c4d.ID_GV_OPERATOR_DUMMY, None, 330, 200 )

On 30/05/2014 at 08:07, xxxxxxxx wrote:

But how can I create a python plugin that is placed in the plugins folder that will appear as a new node in the nodes list of Xpresso?

On 30/05/2014 at 09:44, xxxxxxxx wrote:

It's not possible with Python (state R15).

On 31/05/2014 at 04:48, xxxxxxxx wrote:

Damn!! :-(

Thank you, Niklas.