VIZZARD Document Help

프레임-좌표 변환

  • 프레임 - 좌표 변환

if (Connector.IsOpenDocument() == false) return; if (Connector.HasGridSystem() == false) return; Axis axis = Axis.X; string frame = "FR+10"; AxisPosition pt = Connector.GetFramePositionByKeyword(axis, frame); if (pt == null) return; string result = string.Format("Axis: {0}, Positon: {1}", pt.Axis, pt.Postion);
  • 좌표 - 프레임 변환

if (Connector.IsOpenDocument() == false) return; if (Connector.HasGridSystem() == false) return; Axis axis = Axis.X; float point = 3450.0f; FrameVO item = Connector.GetFrameSnapString(point, axis); string AxisStr = item.Axis.ToString(); string GridId = item.GridID.ToString(); string LabelStr = item.LabelStr; string OffsetStr = item.Offset.ToString(); string Str = item.ToString();
Last modified: 04 3월 2024