Jig and Orthomode
Here is the relevant code:
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);
}
Document.Database.Audit 图纸检查
win10 系统图标。他们在哪里?哪些文件和文件夹?
欢迎关注微信公众账号ByCAD