protected override SamplerStatus Sampler(JigPrompts prompts)
{
JigPromptPointOptions opt = new JigPromptPointOptions();
opt.UserInputControls =
(UserInputControls.Accept3dCoordinates
| UserInputControls.NoNegativeResponseAccepted
| UserInputControls.NullResponseAccepted);
if (m_leader == null)
opt.Message = "\nstart point: ";
else
{
// GovernedByOrthoMode is needed for orthomode
opt.UserInputControls |= UserInputControls.GovernedByOrthoMode;
opt.BasePoint = m_leader.VertexAt(m_leader.NumVertices);
// you can't use opt.UseBasePoint = true
// when ortho is on then not works
if (m_leader.IsSplined)
opt.SetMessageAndKeywords(
"\nSpecify Next point or [Line/Undo]: ",
"Line Undo");
else
opt.SetMessageAndKeywords(
"\nSpecify next point or [Spline/Undo]: ",
"Spline Undo");
}
PromptPointResult res = prompts.AcquirePoint(opt);
}
|  | 
暂时没有评论
| 发表评论 - 不要忘了输入验证码哦! | 
 
 
 
				 用户登陆
 用户登陆 站点日历
 站点日历 站点统计
 站点统计 最新评论
 最新评论 
 
 Jig and Orthomode   [ 日期:2021-03-08 ]   [ 来自:
 Jig and Orthomode   [ 日期:2021-03-08 ]   [ 来自: