Click or drag to resize
SoWinClipboardCopy Method (SoNode, SbTime)

Copies the passed scene graph object (node, path, or pathlist) to the clipboard using the current clipboard format.

Namespace: OIV.Inventor.Win
Assembly: OIV.Inventor.Win (in OIV.Inventor.Win.dll) Version: 2024.1.1.0 (2024.1.1)
Syntax
public void Copy(
	SoNode node,
	SbTime eventTime
)

Parameters

node
Type: OIV.Inventor.NodesSoNode
eventTime
Type: OIV.InventorSbTime
Remarks

The eventTime should be the time returned by the system routine time (), and can be used to insure synchronization of copy and paste requests.

For example,

#include <windows.h>
#include <time.h>
#include <...>
... (necessary Inventor includes)
void SomeFunc(some_args)
{
HWND hwnd;
...
SoNode *the_node
...
SoWinClipboard the_clipboard(hwnd);
...
the_clipboard.copy(the_node, time(NULL));
...
}

See Also