Jump to content
Sign in to follow this  
Mubeen

Add components to mark by clicking in display window (interactively)

Recommended Posts

Hi all,


I am searching for a Tcl command, that can allow me to save the component ids into a mark while I click on the components in HM window/display.


In a model with more than 600 components, I need to create a list  of component ids by clicking, then write those component ids (and property ids they have) to an external text file.


Is it possible to create mark interactively by clicking on entities in display?


 


Best regards,


Mubeen.


 


Share this post


Link to post
Share on other sites
Guest

Try this TCL code:



*createmarkpanel comps 1 "Select Comps to list"
puts "CompID= [hm_getmark comps 1]"
*clearmark comps 1

HTH,


Share this post


Link to post
Share on other sites

Try this TCL code:

*createmarkpanel comps 1 "Select Comps to list"

puts "CompID= [hm_getmark comps 1]"

*clearmark comps 1

HTH,

 

Tons of Thanks !! That worked like a magic :)

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...