|
|
|
@ -228,10 +228,9 @@ export class TemplateManage extends React.Component<{ store?: TempalteEditorStor
|
|
|
|
|
if (ptRes.Status === PromptStatus.Keyword)
|
|
|
|
|
{
|
|
|
|
|
app.Editor.GetPointServices.snapServices.FilterErase = false;
|
|
|
|
|
//@ts-ignore 给个id,保证能被捕捉
|
|
|
|
|
//给个id,保证能被捕捉
|
|
|
|
|
for (let e of nens) e.objectId = app.Database.ModelSpace.Id;
|
|
|
|
|
let baseRes = await app.Editor.GetPoint({ Msg: "点取新基点:" });
|
|
|
|
|
//@ts-ignore
|
|
|
|
|
for (let e of nens) e.objectId = undefined;
|
|
|
|
|
app.Editor.GetPointServices.snapServices.FilterErase = true;
|
|
|
|
|
if (baseRes.Status === PromptStatus.OK)
|
|
|
|
|