Community
Maya Forum
Welcome to Autodesk’s Maya Forums. Share your knowledge, ask questions, and explore popular Maya topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

nodeEditor and dotFormat (node placement)

1 REPLY 1
Reply
Message 1 of 2
bolekCG
347 Views, 1 Reply

nodeEditor and dotFormat (node placement)

Hi Guys.

I'am looking for some answer about arranging nodes in nodeEditor... .
Unfortunately I'm not able to do it by using mel/python ""nodeEditor"" command namely

py
dotString = cmds.nodeEditor( "nodeEditorPanel1NodeEditorEd", query=True, dotFormat="-" )
mel
string $dotString = `nodeEditor -q -dotFormat "-" nodeEditorPanel1NodeEditorEd`

commands above gives me graph as string but only with width and height attributes so maybe position is not yet available ??

 

 

digraph scene {
rankdir=LR;
node [shape = rect, fixedsize=true];
"pCube1" [height=0.28, width=1.35];
"pCube3" [height=0.28, width=1.35];
"pCube2" [height=0.28, width=1.35];
"pCube1" -> "pCube3";
}

 

I'am just looking for custom node placement

How to set those values.

 

 

Thanks in advance

1 REPLY 1
Message 2 of 2
bolekCG
in reply to: bolekCG

Just to note that I'am able to get those values by using bookmarks in nodeEditor, but would be cool know more elegant way.

Thanks again

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report