lisux Posted January 18, 2006 Share Posted January 18, 2006 Hi there Is there any way to know, trough scripting, the actual node displayed in a network editor, it is say, the node that has the display flag on in a network editor pane. It is possible to know the node displayed in a viwere pane too? Thanks. Quote Link to comment Share on other sites More sharing options...
edward Posted January 18, 2006 Share Posted January 18, 2006 You can loop through all the nodes and query their display flags using the opflag() expression. Quote Link to comment Share on other sites More sharing options...
Jason Posted January 18, 2006 Share Posted January 18, 2006 You can loop through all the nodes and query their display flags using the opflag() expression. 23878[/snapback] This is a popular whine around here, actually. Wouldn't it be nice to have a query for this, like opselect()? Quote Link to comment Share on other sites More sharing options...
edward Posted January 19, 2006 Share Posted January 19, 2006 As soon as we add one, someone will want a specialized loop for something else. It'll be a neverending RFE. Quote Link to comment Share on other sites More sharing options...
Jason Posted January 19, 2006 Share Posted January 19, 2006 As soon as we add one, someone will want a specialized loop for something else. It'll be a neverending RFE. 23892[/snapback] Isn't software development wonderful? Quote Link to comment Share on other sites More sharing options...
malexander Posted January 19, 2006 Share Posted January 19, 2006 Isn't software development wonderful? Certainly gives good job security There are node types (CHOPs, COPs) that support multiple display flags, so an 'opdisplay()' expression would have to report all displayed nodes, I would think. Something to be aware of if such an expression happened to appear... Quote Link to comment Share on other sites More sharing options...
lisux Posted January 19, 2006 Author Share Posted January 19, 2006 Thanks to edward and jason for their replies. For my pourposes the opflag() do the job, because I want to use the script in SOP context wher you have only one node with the display flag at the same time. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.