View Full Version : Current nodes position in current hypershade view ?

03 March 2011, 10:19 AM

I'm wondering where are stored the current nodes positions of the hypershade current view ?

I found out there is a hyperLayout node created when I create a bookmark, which has a hyperPosition array attribute containing hyperPosition[x].positionX and positionY, but I don't know how to access nodes position for the current work area.

I'd like to create a custom duplicate function which doesn't mess up the position of new nodes.

Thanks a lot

03 March 2011, 10:32 AM
there may be some way to query the current layout, I have no idea... but either way, can't you just create a bookmark yourself (via code) read it's values then delete it?


03 March 2011, 10:41 AM
Thanks for the quick reply. Well yes that's what I'll do I guess!

CGTalk Moderation
03 March 2011, 10:41 AM
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.