MDGModifier should create DAG nodes right? A DAG node is a DG node, but not all 
DG nodes are DAG nodes.

Ravi
—
"There are no dumb questions" - Carl Sagan.

> On Aug 1, 2019, at 22:15, David Lantos <[email protected]> wrote:
> 
> Hi guys,
> 
> I'm creating a "createNode(nodeType)" wrapper around maya api 2.0
> 
> How can I decide based on node type which one I need to use, MDGModifier or 
> MDAGModifier?
> 
> If I use MDAGModifier to create DG node it throws error. I didn't find 
> function that tells me based on type is it DG type or DAG type?
> 
> David
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Python Programming for Autodesk Maya" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/python_inside_maya/af2db504-f848-46d4-adda-76645ac382bf%40googlegroups.com.

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/31BA47BA-E367-40E2-886A-695B15383E04%40gmail.com.

Reply via email to