feat: port p-rec-annot ortho status and attribute maintenance

This commit is contained in:
codex
2026-08-07 13:21:32 +03:00
parent d4016237d8
commit b381f83bbd
6 changed files with 167 additions and 2 deletions
@@ -18,6 +18,7 @@ public sealed class EntryPoint : IExtensionApplication
var manifest = CompositeModuleManifest.Validate();
RuntimeDiagnostics.Write("CompositeModulesValidated", resultStatus: "Validated", details: new Dictionary<string, object?> { ["PackageVersion"] = manifest.Version, ["ModuleCount"] = manifest.Modules.Count });
RibbonIntegration.Register();
SwapAttributesContextMenu.Attach();
// Test automation is driven only by the explicitly generated /b script.
// Initialize remains production-equivalent and must not orchestrate commands.
RuntimeDiagnostics.Write("AssemblyInitializeCompleted");
@@ -27,6 +28,7 @@ public sealed class EntryPoint : IExtensionApplication
{
RuntimeDiagnostics.Write("AssemblyTerminateStarted");
RibbonIntegration.Terminate();
SwapAttributesContextMenu.Detach();
RuntimeDiagnostics.Write("AssemblyTerminateCompleted");
}
@@ -49,6 +51,7 @@ public sealed class EntryPoint : IExtensionApplication
[CommandMethod("PXP-IE")] public void InsertElevationCommand() => ElevationCommands.RunManual();
[CommandMethod("PXP-COV")] public void CheckOrthoViewportCommand() => OrthoMaintenanceCommands.CheckViewport();
[CommandMethod("PXP-UOB")] public void UpdateOrthoViewBlocksCommand() => PRecAnnot.Plant3D2026.UpdateOrthoViewBlocksCommand.Run();
[CommandMethod("PXP-AC", CommandFlags.UsePickSet)] public void SwapAttributesCommand() => PRecAnnot.Plant3D2026.SwapAttributesCommand.Run();
[CommandMethod("PHP_REC_AUTOMATION_START", CommandFlags.Session)]
public void AutomationStartCommand() => FirstLimitedApplyAutomationBootstrap.Arm();