mirror of https://gitee.com/cf-fz/WebCAD.git
parent
538f62b638
commit
a64504124a
@ -1,22 +0,0 @@
|
||||
import { app } from '../ApplicationServices/Application';
|
||||
import { Command } from '../Editor/CommandMachine';
|
||||
import { PromptStatus } from '../Editor/PromptResult';
|
||||
|
||||
export class Command_Ssget implements Command
|
||||
{
|
||||
constructor()
|
||||
{
|
||||
|
||||
}
|
||||
async exec()
|
||||
{
|
||||
let ss = await app.Editor.GetSelection();
|
||||
if (ss.Status === PromptStatus.OK)
|
||||
{
|
||||
for (let en of ss.SelectSet.SelectEntityList)
|
||||
{
|
||||
en.ColorIndex = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in new issue