www.mxdraw.com
内容索引主面
前一个向上下一个
MxDrawXCustomEvent::MxDrawXCustomEntity::getGripPoints 方法

自定义实体事件,得到拖放夹点。

IDL
static VOID MxDrawXCustomEntity::getGripPoints(LONGLONG lEntity, OUT AcGePoint3dArray& gripPoints);
参数 
说明 
LONGLONG lEntity 
自定义实体id. 
OUT AcGePoint3dArray& gripPoints 
返回要拖放的夹点。 

例如: VB

            If sEventName = "MxDrawXCustomEntity::getGripPoints" Then

            Dim param77 As MxDrawResbuf
            Set param77 = MxDrawX1.CustomEventParam()


            Set customEntity = MxDrawX1.CallEx("Mx_GetCustomEntity", param77)


            Set sPt = customEntity.GetPoint("startpoint")
            Set ePt = customEntity.GetPoint("endpoint")



            param77.RemoveAll


            param77.AddPoint sPt
            param77.AddPoint ePt
            MxDrawX1.CallEx "Mx_SetEventRetEx", param77


            End If
Copyright (c) 2010. All rights reserved.
你认为该帮助怎么样? 发送反馈信息!