Jump to content
Sign in to follow this  
sonu kumar

MACRO TO DIFFERENTIATE SOLID AND SHEET METAL

Recommended Posts

hi everyone,

I need help to find out if there is a command or macro that can find and categorise sheet metal with no thickness and solids with some thickness? does it exist. If so , please let me know. I really need it

Share this post


Link to post
Share on other sites
Guest

Hi Sonu,

From the mask browser you can show. hide or isolate all points, lines, surfaces and solids within any displayed components.

 

mask.PNG

Share this post


Link to post
Share on other sites

Hi johnson,

tq for the reply. I might have nt asked the right question. I have some components with just surfaces ( as in midsurfaces) and some comps with some thickness. How to differentiate those two ?

 

Tq for reply in advance...

Share this post


Link to post
Share on other sites
Guest

Hi Sonu,

You can differentiate solids and surfaces by keeping the Geometry color mode to by topo, so that HyperMesh will differentiate entities on geometrical properties.

topo.PNG

Share this post


Link to post
Share on other sites

Hi,

You can do like this

#assume that you displayed comps you want to check on screen

*settopologyedgedisplay 1 0

*settopologyedgedisplay 2 0

*settopologyedgedisplay 3 0

*settopologyedgedisplay 0 1; #turn on free-edge and turn off others

*createmark lines 1 displayed;# solid comps will not have free-edge

puts "non-thickness comps: [set NonThickness [hm_getmarkvalue lines 1 collector.id 0]]"

*settopologyedgedisplay 1 1

*settopologyedgedisplay 2 1

*settopologyedgedisplay 3 1

*createmark comps 1 displayed

eval *createmark comps 2 $NonThickness

*markdifference comps 1 comps 2

puts "with-thickness comps: [hm_getmark comps 1]"

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