FrameManagerGetSnapString Method |
Namespace: VIZCore3D.NET.Manager
public string GetSnapString( Axis axis, float point )
// 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 }