Click or drag to resize

Object3DManagerCopyNodeNameToClipboard Method

선택된 개체의 노드 이름을 클립보드에 복사

Namespace:  VIZCore3D.NET.Manager
Assembly:  VIZCore3D.NET (in VIZCore3D.NET.dll) Version: 2.8.24.1104 (2.8.24.1104)
Syntax
C#
public void CopyNodeNameToClipboard(
	Object3dFilter filter
)

Parameters

filter
Type: VIZCore3D.NET.DataObject3dFilter
노드 대상 필터
Examples
C#
// VIZCore3D.NET Control
private VIZCore3D.NET.VIZCore3DControl vizcore3d;

private void Example()
{
    if (vizcore3d.Model.IsOpen() == false) return;

    // Case 1)
    vizcore3d.Object3D.CopyNodeNameToClipboard(VIZCore3D.NET.Data.Object3dFilter.SELECTED_PART);

    // Case 2)
    List<VIZCore3D.NET.Data.Node> nodes = vizcore3d.Object3D.FromFilter(VIZCore3D.NET.Data.Object3dFilter.SELECTED_PART);
    if (nodes.Count == 0) return;

    Clipboard.SetText(nodes[0].GetParentName());
}
See Also