A program to recognize and reward our most engaged community members
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
Hi Sonu,
From the mask browser you can show. hide or isolate all points, lines, surfaces and solids within any displayed components.
<?xml version="1.0" encoding="UTF-8"?>
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...
You can differentiate solids and surfaces by keeping the Geometry color mode to by topo, so that HyperMesh will differentiate entities on geometrical properties.
HI johnson,
tq again. I could manually do that , yes. but i needed a macro that differentiatte and categorise the two geometries on its own
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]'