Jump to content
Andy@LamteqSolutions

Hypermesh - selecting components with names containing a certain string

Recommended Posts

Hi all,

 

Am trying to find a line of code which will select a component / assembly / set etc, when the name contains a certain string... for instance the assembly name may read "apples-001001a" but I want a script to select that assembly if the name contains "apples" as the number could change in the future.

 

Any ideas?

 

Cheers

Andy

Share this post


Link to post
Share on other sites

What I would like to do is createmark elements by assembly name where assemblies contain the word Apples...

 

*createmark elements 1 "by assembly name" Apples

 

I've tried *createmark elements 1 "by assembly name" "contains value" Apples* 1 but that's not it....

 

Any ideas?

 

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.


×
×
  • Create New...