RhinoInside : Error. Before Solution exception:Starting a transaction from an external application running outside of API context is not allowed

This Error occurs when using “AddDirctShape.ByGeometry” in RhinoInside

“1. Before Solution exception:Starting a transaction from an external application running outside of API context is not allowed.”

Please let me know how to solve this problem.

I think this is the same problem that the object is not credited yet in Revit. What happens if you hit recalculate in the solutions pulldown?

Thank you. failed to check the “BAKE” button in “REVIT”