Jump to content
Sign in to follow this  
JAMIE

reading node grid comments

Recommended Posts

hi,

I need to mark all the nodes with comment. Iam using  hm_getentityvalue for finding the comments. For a biw it taking almost 2.5 mins to read.Is their any other method so that I can reduce the time taken.

Share this post


Link to post
Share on other sites
22 hours ago, harishgj said:

hi,

I need to mark all the nodes with comment. Iam using  hm_getentityvalue for finding the comments. For a biw it taking almost 2.5 mins to read.Is their any other method so that I can reduce the time taken.

 

 

Hi, it costs much time to loop through nodes and filter which is commented. looping by tcl need to be avoid always. instead, let hm C code do that (much faster):

*createmark nodes 1 "equal to value" \$COMMENT_OPTION 2

=> will select all nodes that has comment option by "Show in menu/export"

 

Share this post


Link to post
Share on other sites

hi tinh

,thanks for the reply.but I need to mark the GRIDS COMMENTED . OPTION BY HIDE IN MENU/EXPORT.

I have attached the snapshot for more clarity.

 

REGRDS,

JAMIE

QUERY_3.PNG

Share this post


Link to post
Share on other sites

hi tinh,

*createmark nodes 1 "equal to value" \$GRID_COMMENT_OPTION 1

*createmark nodes 2 "displayed"

*markintersection nodes 1 nodes 2

 

 

how do I get the intersection node ids

 

regards,

JAMIE

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
You are posting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...