void enuAddSelectObjectByNode() method



void enuAddSelectObjectByNode(

[in] HVIEW hView,

[in] HNODE hNode

};


Parameters

hView [in]

Type:HVIEW

enuSpace View Handle


hNode [in]

Type:HNODE 

그래픽 객체 핸들 (Graphics Object Node Handle)


Return value

Type : void


Remarks

enuSpace SDK를 이용시, 랜더러 뷰 객체의 선택객체를 추가하는 함수. 선택 객체 조작 함수와 조합하여 사용을 수행. 



Examples


enuSpace SDK


HVIEW ViewHandle = NULL;


void CSampleView::OnInitialUpdate()

{

CView::OnInitialUpdate();


enuCreateProject();

enuLoadProjectFile(L"Project\\sample.enup");

ViewHandle = enuCreateView(this->m_hWnd);

enuSelectObjectListClear(ViewHandle);


enuCreatePolyline(pSvg, L"", L"100,100 200,120 300,150", 0, 0);

HNODE hnode = enuCreatePolyline(pSvg, L"", L"100,100 200,120 300,150", 0, 0);


enuAddSelectObjectByNode(ViewHandle, hnode);

enuSetSelectZOrder(ViewHandle, DEF_BRINGTOFRONT);

}


Reference


void enuSelectObjectListClear();

void enuSetSelectZOrder();



+ Recent posts