internal void StartPlacementCommand(string unparsed = "") { //Create a PlaceRouteCommand object PlacementCommand1 command = new PlacementCommand1(); BCOM.CommandState commandState = Program.MSApp.CommandState; Program.MSApp.CommandState.StartPrimitive(command, false); // Record the name that is saved in the Undo buffer and shown as the prompt. Program.MSApp.CommandState.CommandName = "Placement Command"; }
public static void PlacementCommand1Keyin(string unparsed) { PlacementCommand1 tool = new PlacementCommand1(); tool.StartPlacementCommand(unparsed); }