Operation Result Codes

MbResultType Enumeration

rt_Success = 0 – Normal completion.

Curve contour error types

rt_Empty – Empty result.

rt_ToManyAxis – Too many axes.

rt_ToFewAxis – Not enough axes.

rt_ToManyContours – Too many contours.

rt_Stars – A “star” configuration is detected.

rt_SelfIntersection – Contour self-intersection.

rt_SelfIntWhenExtended – Self-intersection in the contour extension.

rt_Intersection – Contour intersection.

rt_NoIntersectSolid – Generating contour does not intersect solids.

rt_NoIntersectSection – Generating contour does not intersect sections (for the solid-by-sections operation).

rt_LibNotFound – Fragment not found in the library.

rt_MustBeClosed – Must be closed.

rt_MustBeOpen – Must be open.

rt_AxisIntersection – Intersection with the axis.

rt_DegenerateAxis – Degenerate axis.

Solid error types

rt_MultiSolid – The solid consists of separate parts.

rt_CurveError – Invalid curve.

rt_ContourError – Invalid contour.

rt_SurfaceError – Invalid surface.

rt_SolidError – Invalid solid.

rt_ParameterError – Invalid parameter.

rt_ThicknessError – Incorrect thickness value.

rt_NoSequenceCurveAndSections – Nonsequential arrangement of sections along the curve (for the solid-by-sections operation).

rt_SelfIntersect – Object self-intersection.

rt_NoIntersect – Objects do not intersect.

rt_OffsetIntersectError – It is impossible to construct an offset with the given parameters.

rt_BooleanError – Boolean operation error.

rt_NoEdges – Edges not found.

rt_PrepareError – Error while preparing the operation.

rt_ChamferError – Error while creating an edge chamfer.

rt_FilletError – Error while creating an edge fillet.

rt_PartlyChamfer – Chamfers were not created on all edges.

rt_PartlyFillet – Not all edges were filleted.

rt_ChamferSurfaceError – Error while creating the chamfer surface.

rt_FilletSurfaceError – Error while creating the fillet surface.

rt_TooLargeChamfer – Chamfer legs are too large.

rt_TooLargeFillet – Fillet radius is too large.

rt_SemiChamfer – Chamfers were not created for all edges.

rt_SemiFillet – Not all edges were filleted.

rt_CuttingError – Error while cutting by a surface.

rt_ThinError – Error while creating a thin-walled solid.

rt_OffsetError – Wall thickness is too large when creating a thin-walled solid.

rt_FaceError – Invalid face.

rt_RibError – Unknown error while placing a stiffening rib.

rt_DraftError – Unknown draft error on solid faces.

rt_NoObjectForDirection – No face is present in the selected direction.

rt_AbsorptionSolid – A local solid absorbs the result.

rt_Error – Unknown error.

rt_None – No messages.

rt_Intersect – Objects intersect.

rt_InvalidType – Improper curve type.

rt_NoConvertTextToNurbs – Text cannot be converted to NURBS.

rt_SplitWireNotSplitFace – The contour does not split any face or coincides with a face edge.

rt_SplitWireNotIntersectFace – The contour does not intersect the selected set of faces or coincides with a face edge.

rt_MustBeOnlyOnePoint – For this operation, the sketch must contain only one point.

rt_InvalidPoleUsage – A sketch with one point can be used only for an end section.

rt_ThinWithPole – Thin-wall construction is impossible if one of the sections is a point.

rt_TopologyError – Invalid topology.

rt_NoObjectInDirNormal – No object in the forward direction.

rt_NoObjectInDirReverse – No object in the reverse direction.

rt_SolidAffectedByBoolean – Solids have been modified by a Boolean operation.

rt_HaveDegenerateSegment – The curve contains zero-length segments.

rt_NotAllSourcesFound – One or more source operations were not found.

rt_InvalidEmptyContour – The contour consists of two segments lying one over another.

rt_UnnecessaryVariables – Redundant number of variables.

rt_DomainMismatch – Domain does not match the specified values.

rt_UnknownTranslatorError – Unknown error in the translator.

rt_UnknownParserError – Unknown error in the parser.

rt_UnknownSymbol – Unknown symbol in the string.

rt_NoClosingBracket – Closing bracket is missing.

rt_NoOpeningBracket – Opening bracket is missing.

rt_ImpossibleOperation – Impossible operation.

rt_LostObject – Operation lost its reference objects.

rt_NotAllBendsProcessed – Not all bends were folded or unfolded.

rt_ValueScalingError – Scaling with the specified factor is impossible.

rt_RatioScalingError – Scaling with the specified ratio of factors is impossible.

rt_MultiSolidDeflected – This operation is not applicable to multipart solids.

rt_MultiSolidDefused – The result of this operation cannot be a multipart solid.

rt_TransitionError – Boundary condition of blending is no longer satisfied.

rt_MeshCrossingError – Curve intersection points do not form a regular grid.

rt_ClosedError – Closure cannot be performed.

rt_TooGreatCurve – The curve used for blending is longer than the surface itself.

rt_ClosedOrUnClosedError – All curves must be either closed or open.

rt_SketchNoSheet – The sketch must lie only on an outer or inner planar face of a sheet solid.

rt_BadSketch – The sketch does not meet the operation requirements.

rt_ConnectionError – Object connectivity is broken.

rt_MeshSmoothError – At intersection points, curves from opposite families are tangent.

rt_NoIntersectContour – No intersection contours.

rt_ErShMtHeight – Total height must be greater than sheet thickness.

rt_DegenerateSurface – Surface is degenerate.

rt_SurfaceEdgesIntersect – Surface cannot be created: internal partition edges order is violated.

rt_TooLargeExtension – Extension length is too large.

rt_TooSmallExtension – Extension length is too small.

rt_VertexExtensionError – Failed to extend the surface to the given vertex.

rt_SurfaceExtensionError – Failed to extend the surface to the given surface.

rt_NoEdgesConection – Edges do not form a connected chain.

rt_TooManyPoints – Too many points. Reduce their number.

rt_TooManyPoints_1 – Too many points.

rt_DirectionExtensionError – Failed to extend the surface in the given direction.

rt_ExtensionPoleError – The face contains a pole: select another edge or another extension type.

rt_MustBeOpenOrClosed – All contours must be either closed or open.

rt_TooComplicatedItemsSet – Too complex set of items for processing.

rt_NoAxesIntersection – Axes do not intersect.

rt_TooFarItems – Objects are too far apart.

rt_ProcessIsStopped – Process was stopped.

rt_ContourSweptError – The contour cannot be used for the specified motion.

rt_SomeContourError – One of the contours cannot be used for the specified construction.

rt_SplitWireNotAllFaces – Split lines (intersection edges) are not created on all selected faces or do not reach face boundaries.

rt_GeneratrixColinearGuide – In some points, the generatrix is parallel to the guide.

rt_NotEnoughMemory – Not enough memory.

rt_BorderColinearCurve – Side boundary direction is parallel to the tangent at the end of the generating curve.

rt_ObjectNotFound – Object not found.

rt_PoleBrokenError – In the spline surface, some pole points were moved and some remained coincident.

rt_ApproxError – Approximation failed.

rt_AccuracyError – Construction accuracy requirements are not satisfied.

rt_BadVariable – Invalid variable value.

rt_BadEdgesForChamfer – Impossible to create a chamfer on the specified edges.

rt_RevokeStopFillet – Stopping the fillet is impossible; fillet was created without stopping.

rt_AdjacentTransitionError – Blends on adjacent boundaries are inconsistent.

rt_ObjectAccessDenied – Object access denied.

rt_TooManySegments – Number of segments is too large.

rt_GapShiftError – Invalid gap position of the shell.

rt_CutBySilhouetteError – Silhouette edge line does not split the face.

rt_DegeneratedProjection – Degenerate projection of the reference object.

rt_NotAllContoursUsed – Not all contours (curves) are used.

rt_ChangedParameter – Operation parameter has been changed.

rt_NotAllObjectsUsed – Not all objects are used.

rt_ZeroJumperError – Error due to forming a zero-thickness jumper.

rt_FullFilletError – Error while creating a face fillet.

Smooth spline construction errors

rt_IncorrectData – Invalid data.

rt_IncorrectPolylines – Invalid polyline shapes or tangent directions.

rt_IncorrectStructure – Invalid structure of a polyline with straight segments.

rt_TooFewPoints – Too few points.

rt_CoincidentPoints – Coincident points.

rt_TooSharpAngle – Angle between polyline segments is too sharp.

rt_ReverseMotion – Reverse motion of a segment.

rt_SharpTorsion – Sharp torsion of the polyline.

rt_IncorrectFirstDirection – Invalid tangent direction at the start point.

rt_IncorrectLastDirection – Invalid tangent direction at the end point.

rt_FirstTangentVector – First tangent is assigned to a straight segment.

rt_LastTangentVector – Last tangent is assigned to a straight segment.

rt_TangentVectorsUnsuitable – Tangent vectors are invalid for a locally convex region.

rt_IncorrectBezier – Invalid structure of the source Bézier curve.

rt_NoIntersection – Tangents do not intersect; invalid polyline structure.

rt_CriticalConfiguration – Critical configuration for B-spline approximation.

rt_IncorrectInitialData – Invalid initial data.

rt_NotImplemented – This command is not implemented.

rt_InsufficientMemory – Insufficient memory.

rt_IncorrectFirstTangent – Invalid first tangent direction.

rt_IncorrectLastTangent – Invalid last tangent direction.

rt_StraightenLastSite – Final straight segment; tangent vector is not required.

rt_IncorrectPolylineStructure – Invalid structure of a polyline with straight segments.

rt_IncorrectDataStructure – Invalid data structure in the model.

rt_ObjectIsNotPolyline – Object is not a spatial polyline.

rt_MissingKnots – Knot vector is missing.

rt_ClosedSpline – Closed spline in an external file.

rt_ObjectNotSelected – Required object is not selected.

rt_SharpChangeCurvature – Sharp curvature change at an inflection region.

rt_CloseToStraightness – Close to straightness.

rt_TooFewStartPoints – Too few points on the convex part of the initial region.

rt_BanClosedConfiguration – Closed configuration is forbidden when the number of points is less than 5.

rt_IncorrectDeterminant – Invalid structure of the source geometric determinant.

rt_DimensionsPointsArrays – Point array dimensions.

rt_TangentsNotIntersect – Tangents do not intersect.

rt_PointsCoincided – Points coincide.

rt_FewPointsForClosed – Too few points for a closed polyline.

rt_TooFewPointsOnSite – Too few points on a convex region.

rt_PointsOnLine – Points lie on a straight line.

rt_TooManyApexes – Too many points.

rt_SiteNotConvex – Three-segment region is not convex.

rt_CurvatureRange – Curvature is outside the allowed range.

rt_ObjectNotHermiteGD – Object is not a Hermite G¹ object.

rt_ObjectNotNURBS – Object is not a NURBS.

rt_DerivativeContinuityErr – Failure to ensure derivative continuity.

rt_NotEnoughBuildData – Not enough data for construction.

rt_InternalError – Unknown error.

rt_DerivativeGap = 198 – No continuity of curve derivative with respect to parameter.

rt_DerivativeGapU – No continuity of surface derivative with respect to the first parameter.

rt_DerivativeGapV – No continuity of surface derivative with respect to the second parameter.

rt_ContourGapError – The contour has gaps between segments.

rt_ContourSegmentsOverlapError – The contour has overlapping segments.

rt_ContourSegmentsNoTangentJoint – The contour has segments with non-smooth junction.

rt_ExtensionOutOfRange – Extension cannot be limited by the given surface.

rt_BuildSheetBySolidError – Error while constructing a sheet solid from an arbitrary solid.

rt_BendEdgeError – Edge cannot be used as a bend edge.

rt_StampToolPositionError – Invalid tool position relative to the sheet solid.

Variable section surface construction errors

rt_NoEdgesForBuild – No edges for construction.

rt_NoCurvesForBuild – No curves for construction.

rt_NotCorrectDataForBuild – Invalid data.

rt_NotEnoughDataForBuild – Not enough data for construction.

rt_ReferenceCurveError – Invalid reference curve.

rt_GuideCurveError – Invalid guide curve.

rt_ApexCurveError – Invalid apex curve.

rt_DiscriminantFunctionError – Invalid discriminant function.

rt_DiscriminantCurveError – Invalid discriminant curve.

rt_DiscriminantSurfaceError – Invalid discriminant surface.

rt_AngleFunctionError – Invalid angle function.

rt_ReferenceCurveBuildFailed – Failed to construct the reference curve.

rt_GuideCurveBuildFailed – Failed to construct the guide curve.

rt_ApexCurveBuildFailed – Failed to construct the apex curve.

rt_VertexCurveBuildFailed – Failed to construct the control curve.

rt_ApexDiscriminantBuildFailed – Failed to construct the apex curve and the discriminant.

rt_DiscriminantBuildFailed – Failed to construct the discriminant function.

rt_PatternCurveError – Invalid generating curve.

rt_SynchronizeParameterError – Failed to synchronize parameters.

rt_ReparamBuildFailed – Failed to perform reparameterization.

rt_TriangleSectionFailed – Section triangle of the surface cannot be determined.

rt_DiscriminantFunctionWrong – Discriminant function used to define the section shape does not allow the surface to be constructed.

rt_DiscriminantCurveWrong – Curve used to define the section shape does not allow the surface to be constructed.

rt_DiscriminantSurfaceWrong – Tangent surface used to define the section shape does not allow the surface to be constructed.

rt_SectionMovementWrong – Section motion is incompatible with the guides.

rt_DiscriminantSurfaceFar – Discriminant surface is far from the section.

rt_CrossOrderError – Order of mutual curve intersections is violated.

rt_WrongExtensionLength – Invalid extension length.

rt_WrongExtensionWayValue – Unknown extension method.

rt_StampToolHoleError – Error: stamping area must not contain cutouts.

rt_CurveClosedAtStart – Curve is closed at the start.

rt_CurveClosedAtEnd – Curve is closed at the end.

rt_CurveClosedBothSides – Curve is closed on both sides.

rt_BeyondLimitsExtension – Extended surface curve goes beyond the surface bounds.

rt_NonBijectiveFunc – Mapping of function parameter values to curve parameter values is not bijective.

rt_LicenseError – License error: invalid or expired license.

rt_NoRayIntersection – No ray–second object intersection in the selected direction.

rt_ExtremesRequestExceeded – Number of extrema exceeds the number of dimensions.

rt_ConstraintSurfaceDomainError – Invalid situation in the element domain with respect to the external constraint object (surface).

rt_ConstraintCurveEmptyDomain – Empty domain with respect to the external constraint object (curve).

rt_ConstraintCurveDomainError – Invalid situation in the element domain with respect to the external constraint object (curve).

rt_ConstraintCurveNoBijection – Violation of bijection between the trajectory and the external constraint object (curve).

rt_FacesGroupsOverlapError – Arrays of replacement and replaced faces intersect.

rt_StitchShellsError – Shell stitching error.

rt_NoFacesForModification – No faces for modification.

rt_NoReplacementFaces – No replacement faces.

rt_ErrorTotal – General operation error.

MbeStitchResType Enumeration

enum MbeStitchResType {
    stch_Success = 0,
    stch_PrepareError,
    stch_CoorientFaceError,
    stch_SomeEdgesUnstitched,
    stch_OutwardOrientError,
    stch_NoEdgeWasStitched,
    stch_SeparatePartsResult,
    stch_EdgeStitchError,
    stch_InputTopologyError
};

stch_Success = 0 – No errors.

stch_PrepareError – Error while preparing the stitching operation.

stch_CoorientFaceError – Failed to set consistent orientation of faces.

stch_SomeEdgesUnstitched – Some edges remain unstitched.

stch_OutwardOrientError – Failed to orient face normals outward from the solid.

stch_NoEdgeWasStitched – Not a single edge was stitched.

stch_SeparatePartsResult – After stitching, separate unconnected parts remain.

stch_EdgeStitchError – Edge stitching error.

stch_InputTopologyError – Critical topology errors in input shells.