点击查看详细介绍

CATGraphicPathElement 問題

catiaNew 19年前 6367 4

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


各位,

請問大家知不知道怎樣從CATPickPath中拿出CATGraphicPathElement 呢. 我用2D Point 來 pick 一點得出CATPickPath, 之後用GeneratePathElementFromPickPath() 來轉換成CATPathElement, 但是我想要的是CATGraphicPathElement.

我亦嘗試自己construct一個CATGraphicPathElement 物件, 但是我不知道第一個參數

0

最新回复 (4)
  • saeba 19年前
    1

    CATGraphicPathElement 可是个好东西。
    我记着好像有很简单的方法得到。。。
    能不能贴一下header?

  • acoka 19年前
    2

    00001 #ifndef CATGraphicPathElement_h
    00002 #define CATGraphicPathElement_h
    00003
    00004 // COPYRIGHT DASSAULT SYSTEMES 1999
    00005
    00012 /*
    00013

  • saeba 19年前
    3

    谢谢acoka,
    原来这么简单;
    CATGraphicPathElement ( const CATPathElement

  • acoka 19年前
    4

    如果是想从agent或CATPathElement里取
    不妨试试看下面的src能不能用。(不太确定是不是可行)

    CATPathElement* pPathElement = ipAgent-

请登录后发表新帖