Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在模型中有一些选定的节点,两个补丁相隔一定距离。如何使用 ANSYS APDL 代码分离这两个补丁? 该图像显示了在位置创建的选定节点和局部坐标系,假设我只想保留靠近局部坐标系的节点,并且节点距离每次都变化。
我认为您正在寻找从当前设置重新选择。假设您的集合被选中并且 X 方向的补丁大小为xwidth。
你得到最近的集合:
nsel,r,loc,X,-xwidth,xwidth cm,set1,NODE
然后重新全选并取消选择第一组:
alls cmsel,u,set cm,set2,NODE