Message 1 of 10

Not applicable
11-30-2017
12:40 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi all,
I'm writing a node that has an inMesh input created in the initialize function:
RayIntersectNode.inMesh = tAttr.create("inputMesh", "inMesh", om.MFnData.kMesh)
In my compute function I'm retrieving that data with:
inMeshVal = data.inputValue(RayIntersectNode.inMesh).asMesh()
I'm looking for a way to get the DagPath from that variable. I bellive .asMesh() returns an MObject. Thank you in advance.
- Ben
Solved! Go to Solution.