View Full Version : Using Python to create ports on Xpresso Object Nodes

09 September 2012, 04:57 PM
C4D R13


I've finished browsing an old Plugin-Cafe ( post that discusses this concept, but can't seem to figure it out.

What I CAN do: create an object node in XPresso, and 'fill' it with an object.
What I CANNOT do: Create an object port on said node.

The previously mentioned post says that you can use the IDs used in gvobject.res, in a fashion such as this:


However, while this doesn't cause an error to come up in my script, a port is not created - If I try to run a print command on OBJ_IN, I get 'None'. I've tried to create several other ports listed on gvobject.res, but no dice.

The only port I was able to create was a c4d.ID_BASEOBJECT_POSITION port, but it's an ID not listed in gvobject.res.

Does anyone know where I might find the correct id for an object port?


CGTalk Moderation
09 September 2012, 04:57 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.