Notifications
Clear all
[Closed] Get the List of Selection in API
6 Replies
1 Reply
Aug 26, 2009 2:41 am
I can’t help, i don’t know anything about the SDK
I wish you luck!
Cheers.
Aug 26, 2009 2:41 am
You need to use the CoreInterface. Here’s how:
int iNbOfSelectedNodes = GetCOREInterface()->GetSelNodeCount();
for (int i = 0; i < iNbOfSelectedNodes; ++i)
{
INode* pCurrentNode = GetCOREInterface()->GetSelNode(i);
// Your code here
}
Hope it’s helping.
Aug 26, 2009 2:41 am
You need to use the CoreInterface. Here’s how:
int iNbOfSelectedNodes = GetCOREInterface()->GetSelNodeCount();
for (int i = 0; i < iNbOfSelectedNodes; ++i)
{
INode* pCurrentNode = GetCOREInterface()->GetSelNode(i);
// Le reste du code ici.
}
Aug 26, 2009 2:41 am
You need to pass through the COREInterface. Here’s an example:
int iNbOfSelectedNodes = GetCOREInterface()->GetSelNodeCount();
for (int i = 0; i < iNbOfSelectedNodes; ++i)
{
INode* pCurrentNode = GetCOREInterface()->GetSelNode(i);
// Your code here.
}