fix: add assembly filtering to AnalyzeShellFeaturesEnhanced function

- Add missing assembly (.asm) component filtering in result building phase
- Ensure assembly components are excluded from both analysis and results
- Fix issue where assemblies appeared in safeDeletions list

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
sladro 2025-09-19 21:31:19 +08:00
parent 5a1d0386a9
commit 5291bfc765

View File

@ -1656,6 +1656,12 @@ CreoManager::ShellAnalysisResult CreoManager::AnalyzeShellFeaturesEnhanced(const
comp_name = "COMPONENT_" + std::to_string(i + 1);
}
// Skip assembly components - only analyze parts
if (comp_name.find(".asm") != std::string::npos ||
comp_name.find(".ASM") != std::string::npos) {
continue;
}
// Get stable feature ID from component path - use the leaf component ID
int stableFeatureId = -1;
xintsequence_ptr componentIds = wPath->GetComponentIds();