Click or drag to resize

FrameManagerGetSnapString Method

특정 위치를 좌표계 위치 표시 형식(FR23+100)으로 반환

Namespace:  VIZCore3D.NET.Manager
Assembly:  VIZCore3D.NET (in VIZCore3D.NET.dll) Version: 2.8.24.1104 (2.8.24.1104)
Syntax
C#
public string GetSnapString(
	Axis axis,
	float point
)

Parameters

axis
Type: VIZCore3D.NET.DataAxis
point
Type: SystemSingle
위치

Return Value

Type: String
좌표계 위치
Examples
C#
// VIZCore3D.NET Control
private VIZCore3D.NET.VIZCore3DControl vizcore3d;

private void Example()
{
    string model = "C:\\MODEL\\400.viz";
    string frame = "C:\\MODEL\\F2000.dmp";

    vizcore3d.Model.Open(model);
    vizcore3d.Frame.Open(frame);

    if (vizcore3d.Model.IsOpen() == false) return;
    if (vizcore3d.Frame.HasFrame == false) return;

    string str = vizcore3d.Frame.GetSnapString(Data.Axis.X, 5000.0f);

    // Result 
    // FR7+100
}
See Also