- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Google says:
Your search - "InternalValidationError" "bBody" - did not match any documents.
So, frustratingly, this worked manually in the vscode console a few days ago, and I foolishly didn't take good notes or code it up then (in my defence - it *was* midnight...). To make matters worse, the vscode console history irritatingly seems to have lost part of my work (seems if you hit up-arrow later, it overwrites former commands - a bug in vscode - arrgh)
Anyhow - Now, my code fails, so I'm trying again to do this in the console, but this time: no luck. Grrr.
myloft
<adsk.fusion.LoftFeature; proxy of <Swig Object of type 'adsk::core::Ptr< adsk::fusion::LoftFeature > *' at 0x1a16034b0> >
surfaces = adsk.core.ObjectCollection.create()
surfaces.add(myloft)
True
section[8]['foil']['patch']
<adsk.fusion.PatchFeature; proxy of <Swig Object of type 'adsk::core::Ptr< adsk::fusion::PatchFeature > *' at 0x1a2bf6360> >
surfaces.add(section[8]['foil']['patch'])
True
stitchInput = stitches.createInput(surfaces, tolerance, adsk.fusion.FeatureOperations.NewBodyFeatureOperation)
stitch = stitches.add(stitchInput)
RuntimeError: 2 : InternalValidationError : bBody
Does anyone have any suggestions?
I'm assuming that the LoftFeature and the PatchFeature objects are the correct things to put into the surfaces collection? Although the "bBody" word is making me wonder if I'm supposed to get/use something else for one of those?
Solved! Go to Solution.