点击查看详细介绍

UG二次开发中如何根据FACE的TAG值取其EDGE列表

skyphantom 17年前 15274 7

购买与咨询 NX 二次开发视频教程,请联系微信号:13890821008  QQ号:85585969  


呵呵,新手请教各位高手。
在UG二次开发中,我已得到了PART中某个FACE的TAG值,用什么函数可取得该FACE的EDGE的列表或数组。
请高手指导。
谢谢。

0

最新回复 (7)
  • cam-yp 17年前
    1

    UF_MODL_ask_face_edges

    The input to UF_MODL_ask_face_edges is a single solid face. What
    is returned is a list of solid edges associated to that face. The
    handling of this list can be done by using the UF_MODL_*_list* routines.

    If the face is an occurrence, then the return values are relative to the
    occurrence, and not the prototype.



    See Also



    History
    Modified in V15.0 to work relative to the occurrence.




    extern int UF_MODL_ask_face_edges (
    tag_t face,
    uf_list_p_t * edge_list );

    tag_t

  • skyphantom 17年前
    2

    呵呵,已自己解决。
    使用函数UG_MODEL_ASK_FACE_EDGES

  • skyphantom 17年前
    3

    呵呵,已自己解决。
    使用函数UG_MODEL_ASK_FACE_EDGES

  • skyphantom 17年前
    4

    谢谢二楼的哥们详尽解释,另外问一下:If the face is an occurrence,其中的“occurrence”如何理解。
    谢谢。

  • cam-yp 17年前
    5

    面可以是在当前显示部件,也可以使在子装配的部件中

  • tangxu12 17年前
    6

    NXOpen::Face 类里面有GetEdges()函数可以得到

  • skyphantom 17年前
    7

    感谢cam-yp 和tangxu12两位

请登录后发表新帖