Files
autodesk/migration/audits/p-rec-annot-v1.0.4/plant3d-data-access.md
T

8 lines
1.1 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Plant 3D data access
Используется официальный managed Plant API: `PlantApplication.CurrentProject`, `ProjectManager.Project`, `DataLinksManager`, `PnPDatabase`, `PnPTable.Select`, `PnPRow`, `GetRelatedRowIds`. README указывает `ProcessPower.dcf`, `EngineeringItems`, `P3dLineGroupPartRelationship` и `P3dLineGroup` (`README.md:96-101`).
Типичные таблицы/связи: `PnPDrawings`, `PnPDatalinks`, `EngineeringItems`, `P3dLineGroup`, `P3dLineGroupPartRelationship`, `P3dPartConnection`, а также классы `Support`, `Elbow`, `Pipe`, `Valve`, `TapWeld`. Прямого `SQLiteConnection`/SQL `UPDATE/INSERT/DELETE` writer-а в C# исходниках не найдено. `database-access.csv` содержит агрегированные file/line tokens.
Необходимо вынести adapter: project activation, drawing id/handle mapping, related rows, safe read/write transactions. Прямые ссылки на 2019 SDK нельзя переносить без официальной проверки API 2026.