|09 September 2012||#1|
Work in Progressportfolio
Portland, Maine, USA
Join Date: Aug 2012
Using Python to create ports on Xpresso Object Nodes
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?
|09 September 2012||#2|
Join Date: Sep 2003
Thread automatically closed
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.
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
|Thread Closed share thread|