- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi TF360,
I am receiving validation error:
#
'Traceback (most recent call last):\n File "C:\\Users\\MichaelT\\.vscode\\extensions\\ms-python.python-2023.20.0\\pythonFiles\\lib\\python\\debugpy\\_vendored\\pydevd\\_pydevd_bundle\\pydevd_resolver.py", line 189, in _get_py_dictionary\n attr = getattr(var, name)\n ^^^^^^^^^^^^^^^^^^\n File "C:\\Users/MichaelT/AppData/Local/Autodesk/webdeploy/production/????????????/Api/Python/packages\\adsk\\fusion.py", line 18463, in _get_boundingBox\n return _fusion.CustomGraphicsEntity__get_boundingBox(self)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nRuntimeError: 2 : InternalValidationError : pNode\n'
#
The supplementary calculation of boundingBox from:
- cgEnt.coordinates.coordinates
Any thoughts?
After additional investigation ... the additional info.
Code works on one data but for some reason does not on the another.
Creation of customGraphics line seems to be a problem.
type(vecStrip[0]) = <class 'int'>
type(vecCoords[0]) = <class 'float'>
The only difference that I can spot is that in failed data set vecCoords array contains very small absolute numbers
5.064522930128136e-32
-9.192413888621255e-32
The rest is the same.
Regards
Michael
Solved! Go to Solution.