Highlighting selected nodes over mesh

Sherlock007
Sherlock007 Member Posts: 4
First Comment
**
edited June 20 in Structures

Hi,

I am new to Ansys and PyMAPDL. I am tyring to figure out a way to highlight selected nodes over the mesh. For example,

rad1 = 17  
rad2 = 20  
AESIZE = 5

mapdl.clear()
mapdl.prep7()
mapdl.pcirc(rad1, rad2, theta1 = 0, theta2 = 90)
mapdl.cm("Pipe_Profile","AREA")

mapdl.aesize("ALL", AESIZE)
mapdl.mshape(0, "2D")  # mesh the area 
mapdl.mshkey(1) 
mapdl.cmsel("S", "Pipe_Profile", "AREA")  
mapdl.amesh("ALL")

mapdl.nsel("S", "LOC", "X", 0)  # Select nodes on top left edge
mapdl.nplot(1)   # This plots only the nodes, but I want the nodes to be highlighted on the mesh created

Any ideas how this could be done?

Tagged:

Comments