Message 1 of 1
SectionAnalysis
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi TF360,
Could you please check:
sectionAnalysisObj = sectionAnalyses.itemByName(secKey)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File ".../Api/Python/packages\adsk\fusion.py", line 46128, in itemByName
return _fusion.SectionAnalyses_itemByName(self, name)
RuntimeError: 2 : InternalValidationError : res
The alternative:
sectionAnalysisObj = sectionAnalyses.item(secIdx)
produces the correct result with sectionAnalysisObj.name == secKey
Regards
MichaelT
MichaelT