pycatia.hybrid_shape_interfaces.hybrid_shape_factory¶
Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-07-06 14:02:20.222384
Warning
The notes denoted “CAA V5 Visual Basic Help” are to be used as reference only. They are there as a guide as to how the visual basic / catscript functions work and thus help debugging in pycatia.
- class pycatia.hybrid_shape_interfaces.hybrid_shape_factory.HybridShapeFactory(com_object)¶
Note
CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectMecModInterfaces.FactoryHybridShapeFactoryInterface to create all kinds of HybridShape objects that may be needed inwireframe and surface design.Note:This interface concern GSD/GSO/DL1 feature creation via VBUse of the creation methods requires to have granted license configuration forfeature creationi.e:- Bump, Develop,WrapCurve,WrapSurface require GSO license.- Unfold, Develop require DL1 license.- Other require GSD license.Note2:For all methods creating datums AddNew*Datum,the object passed as parameter to create the datum has to be in the currentcontainer.Otherwise, an error occurs.- add_new_3d_corner(i_element1: Reference, i_element2: Reference, i_direction: HybridShapeDirection, i_radius: float, i_orientation1: int, i_orientation2: int, i_trim: bool) HybridShapeCorner ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNew3DCorner(Reference iElement1,Reference iElement2,HybridShapeDirection iDirection,double iRadius,long iOrientation1,long iOrientation2,boolean iTrim) As HybridShapeCornerCreates a new 3D Corner within the current body.Create a 3D corner curve between a point and a curve or 2 curves along adirection.Parameters:iElement1First reference curve.iElement2Second reference curve.iDirectionDirection.iRadiusRadius of the corner.iOrientation1Manage the corner center position. Value can be 1 or -1iOrientation2Manage the corner center position. Value can be 1 or -1iTrimValue can be FALSE or TRUEif TRUE the 2 curves are trimed and asembled with the corner.oCornerCreated corner.
- Parameters:
i_element1 (Reference) –
i_element2 (Reference) –
i_direction (HybridShapeDirection) –
i_radius (float) –
i_orientation1 (int) –
i_orientation2 (int) –
i_trim (bool) –
- Return type:
- add_new_3d_curve_offset(i_curve_to_offset: Reference, i_direction: HybridShapeDirection, i_offset: float, i_corner_radius: float, i_corner_tension: float) HybridShape3DCurveOffset ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNew3DCurveOffset(Reference iCurveToOffset,HybridShapeDirection iDirection,double iOffset,double iCornerRadius,double iCornerTension) As HybridShape3DCurveOffsetCreates a 3D Curve Offset.Parameters:iCurveThe curve to offsetiDirectionOffset pulling direction.iOffsetValueOffset Value.iCornerRadiusRadius of the 3D corners.iCornerTensionTension of the 3D corners.Returns:CATIGSM3DCurveOffset_var created 3DCurveOffset.
- Parameters:
i_curve_to_offset (Reference) –
i_direction (HybridShapeDirection) –
i_offset (float) –
i_corner_radius (float) –
i_corner_tension (float) –
- Return type:
- add_new_affinity(i_element: Reference, i_x_ratio: float, i_y_ratio: float, i_z_ratio: float) HybridShapeAffinity ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewAffinity(Reference iElement,double iXRatio,double iYRatio,double iZRatio) As HybridShapeAffinityCreates a new Affinity within the current body.Parameters:iElementpoint, curve, surface or solid.Sub-element(s) supported (seeBoundary object): see Face, TriDimFeatEdge, BiDimFeatEdge and Vertex.iXRatioRatio of affinity in iX direction.iYRatioRatio of affinity in iY direction.iZRatioRatio of affinity in iZ direction.oAffinityCreated affinity
- Parameters:
i_element (Reference) –
i_x_ratio (float) –
i_y_ratio (float) –
i_z_ratio (float) –
- Return type:
- add_new_axis_line(i_element: Reference) HybridShapeAxisLine ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewAxisLine(Reference iElement) AsHybridShapeAxisLineCreates a new AxisLine within the current body.Parameters:iElementCircle, Ellipse, Oblong, Sphere, Revolution surface. Axis iscomputed for this elementoAxisLineCreated axis line
- Parameters:
i_element (Reference) –
- Return type:
- add_new_axis_to_axis(i_object: Reference, i_reference_axis: Reference, i_target_axis: Reference) HybridShapeAxisToAxis ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewAxisToAxis(Reference iObject,Reference iReferenceAxis,Reference iTargetAxis) As HybridShapeAxisToAxisCreates a new axis to axis transformation within the currentbody.Parameters:iObjectPoint, curve, surface or solid to transform.iReferenceAxisreference axis systemiTargetAxistarget axis systemoAxisToAxisCreated axis to axis transformation.
- Parameters:
- Return type:
- add_new_blend() HybridShapeBlend ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewBlend() As HybridShapeBlendCreates a new blend surface within the current body.Parameters:oBlendThe Blend object if succeded
- Return type:
- add_new_boundary(i_initial_element: Reference, i_support: Reference, i_typede_propagation: int) HybridShapeBoundary ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewBoundary(Reference iInitialElement,Reference iSupport,long iTypedePropagation) As HybridShapeBoundaryCreates a new Boundary within the current body.Parameters:iInitialElementthe element used to initialise the propagation around thesurfaceSub-element(s) supported (seeBoundary object): see BiDimFeatEdge.iSupportthe surface used to compute the boundary around itSub-element(s) supported (see Boundary object): seeFace.iTypedePropagationPropagation type the values are: 0 for Boundary for all edges 1 forBoundary propagation for edges on connexe point 2 for Boundary propagation foredges tangent at point breaks 3 for Boundary not propagation from the currentedgeoBoundaryThe computed element
- Parameters:
- Return type:
- add_new_boundary_of_surface(surface: Reference) HybridShapeBoundary ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewBoundaryOfSurface(Reference Surface) AsHybridShapeBoundaryCreates a Boundary within the current body.Parameters:iSurfacethe feature on which all the boundaries will be computedoBoundarythe whole boundary of the Surface given in firstparameter
- Parameters:
surface (Reference) –
- Return type:
- add_new_bump(i_body_to_bump: Reference) HybridShapeBump ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewBump(Reference iBodyToBump) As HybridShapeBumpCreates a new Bump within the current body.Note: require GSO license.Parameters::iBodyToBump Body to deform witn a Bump:oBump Bump result
- Parameters:
i_body_to_bump (Reference) –
- Return type:
- add_new_circle2_points_rad(i_point1: Reference, i_point2: Reference, i_support: Reference, i_geodesic: bool, i_radius: float, i_ori: int) HybridShapeCircle2PointsRad ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewCircle2PointsRad(Reference iPoint1,Reference iPoint2,Reference iSupport,boolean iGeodesic,double iRadius,long iOri) As HybridShapeCircle2PointsRadCreates a new Circle passing through 2 points with a radius within thecurrent body.Parameters:iPoint1first passing point.Sub-element(s) supported (seeBoundary object): see Vertex.iPoint2second passing point.Sub-element(s) supported (see Boundary object): seeVertex.iSupportsupport surface.Sub-element(s) supported (see Boundary object): seeFace.iGeodesicPuts the circle on the surface.iRadiusValue specified is considered as radius. To use this value as diameter,set DiameterMode using SetDiameterMode methodiOricircle orientation. Defines the side where circle is computed using thenormal direction of line between the 2 passing points.oCircleThe Circle object if succeeded
- Parameters:
- Return type:
- add_new_circle3_points(i_point1: Reference, i_point2: Reference, i_point3: Reference) HybridShapeCircle3Points ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewCircle3Points(Reference iPoint1,Reference iPoint2,Reference iPoint3) As HybridShapeCircle3PointsCreates a new circle passing through 3 points within the currentbody.Parameters:iPoint1first passing point.Sub-element(s) supported (seeBoundary object): see Vertex.iPoint2second passing point.Sub-element(s) supported (see Boundary object): seeVertex.iPoint3third passing point.Sub-element(s) supported (see Boundary object): seeVertex.oCircleCreated circle
- Parameters:
- Return type:
- add_new_circle_bitangent_point(i_curve1: Reference, i_curve2: Reference, i_point: Reference, i_support: Reference, i_ori1: int, i_ori2: int) HybridShapeCircleBitangentPoint ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewCircleBitangentPoint(Reference iCurve1,Reference iCurve2,Reference iPoint,Reference iSupport,long iOri1,long iOri2) As HybridShapeCircleBitangentPointCreates a new circle tangent to 2 curves and passing through one pointwithin the current body.Parameters:iCurve1first curve to which the circle will be tangent.Sub-element(s) supported (seeBoundary object): see TriDimFeatEdge and BiDimFeatEdge.iCurve2second curve to which the circle will be tangent.Sub-element(s) supported (see Boundary object): see TriDimFeatEdge andBiDimFeatEdge.iPointpassing point. This point must lie on second curve.Sub-element(s) supported (see Boundary object): seeVertex.iSupportsupport surface.Sub-element(s) supported (see Boundary object): seeFace.iOri1first curve orientation for circle computation.iOri2second curve orientation for circle computation.oCircleCreated circle
- Parameters:
- Return type:
- add_new_circle_bitangent_radius(i_curve1: Reference, i_curve2: Reference, i_support: Reference, i_radius: float, i_ori1: int, i_ori2: int) HybridShapeCircleBitangentRadius ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewCircleBitangentRadius(Reference iCurve1,Reference iCurve2,Reference iSupport,double iRadius,long iOri1,long iOri2) As HybridShapeCircleBitangentRadiusCreates a new circle tangent to 2 curves and with a radius within thecurrent body.Parameters:iCurve1first curve to which the circle will be tangent.Sub-element(s) supported (seeBoundary object): see TriDimFeatEdge and BiDimFeatEdge.iCurve2second curve to which the circle will be tangent.Sub-element(s) supported (see Boundary object): see TriDimFeatEdge andBiDimFeatEdge.iSupportsupport surface.Sub-element(s) supported (see Boundary object): seeFace.iRadiusValue specified is considered as radius. To use this value as diameter,set DiameterMode using SetDiameterMode methodiOri1first curve orientation for circle computation.iOri2second curve orientation for circle computation.oCircleCreated circle
- Parameters:
- Return type:
- add_new_circle_center_axis(i_axis: Reference, i_point: Reference, i_value: float, i_projection: bool) HybridShapeCircleCenterAxis ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewCircleCenterAxis(Reference iAxis,Reference iPoint,double iValue,boolean iProjection) As HybridShapeCircleCenterAxisCreates a circle from point and axis.Parameters:iAxisAxis of plane in which circle is lyingiPointPoint used for center computation. It will be the center if ProjectionMode is False.If ProjectionMode = True, this point will be projected on to axis/lineiValueValue specified is considered as radius. To use this value asdiameter, set DiameterMode propertyiProjectionSets Projection Mode. ProjectionMode = TRUE implies point will be projected on toaxis/line, ProjectionMode = FALSE implies that point will be center of the circle.oCircleCreated circle
- Parameters:
- Return type:
- add_new_circle_center_axis_with_angles(i_axis: Reference, i_point: Reference, i_value: float, i_projection: bool, i_start_angle: float, i_end_angle: float) HybridShapeCircleCenterAxis ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewCircleCenterAxisWithAngles(Reference iAxis,Reference iPoint,double iValue,boolean iProjection,double iStartAngle,double iEndAngle) As HybridShapeCircleCenterAxisCreates a circle from point and axis.Parameters:iAxisAxis of plane in which circle is lyingSub-element(s) supported (seeBoundary object):iPointPoint used for center computation. It will be the center if ProjectionMode is False.If ProjectionMode = True, this point will be projected on to axis/lineSub-element(s) supported (see Boundary object):iValueValue specified is considered as radius. To use this value as diameter,set DiameterMode propertyiProjectionSets Projection Mode. ProjectionMode = TRUE implies point will be projected on to axis/line,ProjectionMode = FALSE implies that point will be center of the circle.iStartAnglestart angleiEndAngleend angleoCircleCreated circle
- Parameters:
- Return type:
- add_new_circle_center_tangent(i_center_elem: Reference, i_tangent_curve: Reference, i_support: Reference, i_radius: float) HybridShapeCircleCenterTangent ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewCircleCenterTangent(Reference iCenterElem,Reference iTangentCurve,Reference iSupport,double iRadius) As HybridShapeCircleCenterTangentCreates a new circle with given center element and tangentcurve.Parameters:iCenterElemCan be either curve or point.iTangentCurveCurve to which the circle will be tangent.iSupportsupport surface or plane.iRadiuscircle radius, valid only if center element is curve. Valuespecified is considered as radius. To use this value as diameter, setDiameterMode using SetDiameterMode methodoCircleCreated circle
- Parameters:
- Return type:
- add_new_circle_ctr_pt(i_center: Reference, i_crossing_point: Reference, i_support: Reference, i_geodesic: bool) HybridShapeCircleCtrPt ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewCircleCtrPt(Reference iCenter,Reference iCrossingPoint,Reference iSupport,boolean iGeodesic) As HybridShapeCircleCtrPtCreates a new whole circle defined by its center, a passing point withinthe current body.Parameters:iCentercircle center.Sub-element(s) supported (seeBoundary object): see Vertex.iCrossingPointpassing point.Sub-element(s) supported (see Boundary object): seeVertex.iSupportsupport surface.Sub-element(s) supported (see Boundary object): seeFace.iGeodesicPuts the circle on the surface.oCircleCreatedCircle
- Parameters:
- Return type:
- add_new_circle_ctr_pt_with_angles(i_center: Reference, i_crossing_point: Reference, i_support: Reference, i_geodesic: bool, i_start_angle: float, i_end_angle: float) HybridShapeCircleCtrPt ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewCircleCtrPtWithAngles(Reference iCenter,Reference iCrossingPoint,Reference iSupport,boolean iGeodesic,double iStartAngle,double iEndAngle) As HybridShapeCircleCtrPtCreates a new circle defined by its center, a passing point and angleswithin the current body.Parameters:iCentercircle center.Sub-element(s) supported (seeBoundary object): see Vertex.iCrossingPointpassing point.Sub-element(s) supported (see Boundary object): seeVertex.iSupportsupport surface.Sub-element(s) supported (see Boundary object): seeFace.iGeodesicPuts the circle on the surface.iStartAnglestart angleiEndAngleend angleoCircleCreated circle
- Parameters:
- Return type:
- add_new_circle_ctr_rad(i_center: Reference, i_support: Reference, i_geodesic: bool, i_radius: float) HybridShapeCircleCtrRad ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewCircleCtrRad(Reference iCenter,Reference iSupport,boolean iGeodesic,double iRadius) As HybridShapeCircleCtrRadCreates a new whole circle defined by its center and a radius within thecurrent body.Parameters:iCentercircle center.Sub-element(s) supported (seeBoundary object): see Vertex.iSupportsupport surface.Sub-element(s) supported (see Boundary object): seeFace.iGeodesicPuts the circle on the surface.iRadiusValue specified is considered as radius. To use this value as diameter,set DiameterMode using SetDiameterMode methodoCircleCreated circle
- Parameters:
- Return type:
- add_new_circle_ctr_rad_with_angles(i_center: Reference, i_support: Reference, i_geodesic: bool, i_radius: float, i_start_angle: float, i_end_angle: float) HybridShapeCircleCtrRad ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewCircleCtrRadWithAngles(Reference iCenter,Reference iSupport,boolean iGeodesic,double iRadius,double iStartAngle,double iEndAngle) As HybridShapeCircleCtrRadCreates a new circle defined by its center, a radius and angles within thecurrent body.Parameters:iCentercircle center.Sub-element(s) supported (seeBoundary object): see Vertex.iSupportsupport surface.Sub-element(s) supported (see Boundary object): seeFace.iGeodesicPuts the circle on the surface.iRadiusValue specified is considered as radius. To use this value as diameter,set DiameterMode using SetDiameterMode methodiStartAnglestart angleiEndAngleend angleoCircleCreated circle
- Parameters:
- Return type:
- add_new_circle_datum(i_object: Reference) HybridShapeCircleExplicit ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewCircleDatum(Reference iObject) AsHybridShapeCircleExplicitCreates a new datum of circle within the current body.Parameters:iObjectThe object whose topological body will be duplicated and put intocreated datumoCircleCreated datum Note2: the object passed as parameter to create thedatum has to be in the current container. Otherwise, an erroroccurs.
- Parameters:
i_object (Reference) –
- Return type:
- add_new_circle_tritangent(i_curve1: Reference, i_curve2: Reference, i_curve3: Reference, i_support: Reference, i_ori1: int, i_ori2: int, i_ori3: int) HybridShapeCircleTritangent ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewCircleTritangent(Reference iCurve1,Reference iCurve2,Reference iCurve3,Reference iSupport,long iOri1,long iOri2,long iOri3) As HybridShapeCircleTritangentCreates a new tritangent circle within the current body.Parameters:iCurve1first curve to which the circle will be tangent.Sub-element(s) supported (seeBoundary object): see TriDimFeatEdge and BiDimFeatEdge.iCurve2second curve to which the circle will be tangent.Sub-element(s) supported (see Boundary object): see TriDimFeatEdge andBiDimFeatEdge.iCurve3third curve to which the circle will be tangent.Sub-element(s) supported (see Boundary object): see TriDimFeatEdge andBiDimFeatEdge.iSupportsupport surface.Sub-element(s) supported (see Boundary object): seeFace.iOri1first curve orientation for circle computation.iOri2second curve orientation for circle computation.iOri3third curve orientation for circle computation.oCircleCreated circle
- Parameters:
- Return type:
- add_new_combine(i_first_curve: Reference, i_second_curve: Reference, i_nearest_solutions: int) HybridShapeCombine ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewCombine(Reference iFirstCurve,Reference iSecondCurve,long iNearestSolutions) As HybridShapeCombineCreates a new Combine within the current body. By default, the combinedirection is the normal of each curve. If you want to change seeCATIAHybridShapeCombine interfaces.Parameters:iFirstCurveFirst curve to combineSub-element(s) supported (seeBoundary object): see TriDimFeatEdge and BiDimFeatEdge.iSecondCurveSecond curve to combineSub-element(s) supported (see Boundary object): see TriDimFeatEdge andBiDimFeatEdge.iNearestSolutionIf more than one solution, to choose the nearest solution of the firstcurveoCombineThe combine object if succeded
- Parameters:
- Return type:
- add_new_conic(i_support: Reference, i_starting_point: Reference, i_end_point: Reference) HybridShapeConic ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewConic(Reference iSupport,Reference iStartingPoint,Reference iEndPoint) As HybridShapeConicCreates a new conic within the current body.Parameters:iSupportThe conic support (always a plane).Sub-element(s) supported (seeBoundary object): see PlanarFace.iStartingPointStarting Point.Sub-element(s) supported (see Boundary object): seeVertex.iEndPointEnd PointSub-element(s) supported (see Boundary object): seeVertex.oConicThe Conic object if succeded
- Parameters:
- Return type:
- add_new_conical_reflect_line_with_type(i_support: Reference, i_origin: Reference, i_angle: float, i_orientation_support: int, i_type: int) HybridShapeReflectLine ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewConicalReflectLineWithType(Reference iSupport,Reference iOrigin,double iAngle,long iOrientationSupport,long iType) As HybridShapeReflectLineCreates a new conical ReflectLine within the current body.Create a conical reflectline curve on a support surface from an originpoint with an angle.Parameters:iSupportSupport surface.iOriginOrigin point.iAngleAngle of the reflectline.iOrientationSupportManage the angle used to compute the reflectline. Value can be 1 or-1iTypeManage the type used to compute the reflectline. Value can be 0 or1 Returns or sets whether the reflectline curve is or should be created withthe normal to the support or the tangent plane to thesupport.Role: The TypeSolution indicates whether the created reflectlinecurve is compute with the angle between the normale to the support and thedirection or with the angle between the tangent plane to the support and thedirection..Legal values: 0 for the normal and 1 for the tangent plane.oReflectLineCreated conical reflectline.
- Parameters:
- Return type:
- add_new_connect(i_curve1: Reference, i_point1: Reference, i_orient1: int, i_continuity1: int, i_tension1: float, i_curve2: Reference, i_point2: Reference, i_orient2: int, i_continuity2: int, i_tension2: float, trim: bool) HybridShapeConnect ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewConnect(Reference iCurve1,Reference iPoint1,long iOrient1,long iContinuity1,double iTension1,Reference iCurve2,Reference iPoint2,long iOrient2,long iContinuity2,double iTension2,boolean Trim) As HybridShapeConnectCreates a new Connect within the current body.Parameters:iCurve1First curve.Sub-element(s) supported (seeBoundary object): see TriDimFeatEdge and BiDimFeatEdge.iPoint1First point (lying on the first curve)Sub-element(s) supported (see Boundary object): seeVertex.iOrient1Orientation on the first curveiContinuity1Continuity on first curveiTension1Tension on first curveiCurve2Second curve.Sub-element(s) supported (see Boundary object): see TriDimFeatEdge andBiDimFeatEdge.iPoint2Second point (lying on the second curve)Sub-element(s) supported (see Boundary object): seeVertex.iOrient2Orientation on the second curveiContinuity2Continuity on second curveiTension2Tension on second curveiTrimTrim the two curves with the connectoConnectThe connect object
- Parameters:
- Return type:
- add_new_corner(i_element1: Reference, i_element2: Reference, i_support: Reference, i_radius: float, i_orientation1: int, i_orientation2: int, i_trim: bool) HybridShapeCorner ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewCorner(Reference iElement1,Reference iElement2,Reference iSupport,double iRadius,long iOrientation1,long iOrientation2,boolean iTrim) As HybridShapeCornerCreates a new Corner within the current body.Create a corner curve between a point and a curve or 2 curves on a supportsurface.Parameters:iElement1First reference curve.Sub-element(s) supported (seeBoundary object): see TriDimFeatEdge, BiDimFeatEdge and Vertex.iElement2Second reference curve.Sub-element(s) supported (see Boundary object): see TriDimFeatEdge,BiDimFeatEdge and Vertex.iSupportSupport surface.Sub-element(s) supported (see Boundary object): seeFace.iRadiusRadius of the corner.iOrientation1Manage the corner center position. Value can be 1 or -1iOrientation2Manage the corner center position. Value can be 1 or -1iTrimValue can be FALSE or TRUEif TRUE the 2 curves are trimed and asembled with the corner.oCornerCreated corner.
- Parameters:
- Return type:
- add_new_curve_datum(i_object: Reference) HybridShapeCurveExplicit ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewCurveDatum(Reference iObject) AsHybridShapeCurveExplicitCreates a new datum of curve within the current body.Parameters:iObjectThe object whose topological body will be duplicated and put intocreated datumoCurveCreated curve Note2: the object passed as parameter to create thedatum has to be in the current container. Otherwise, an erroroccurs.
- Parameters:
i_object (Reference) –
- Return type:
- add_new_curve_par(curve: Reference, support: Reference, distance: float, invert_direction: bool, geodesic: bool) HybridShapeCurvePar ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewCurvePar(Reference Curve,Reference Support,double Distance,boolean InvertDirection,boolean Geodesic) As HybridShapeCurveParCreates a new CurvePar within the current body.Parameters:iCurveReference curve.Sub-element(s) supported (seeBoundary object): see TriDimFeatEdge and BiDimFeatEdge.iSupportSupport on which the curve is lying onSub-element(s) supported (see Boundary object): seeFace.iDistanceDistance valueiInvertDirectionOrientationiGeodesicGeodesic modeoCurveParParallel curve
- Parameters:
- Return type:
- add_new_curve_smooth(ip_ia_curve: Reference) HybridShapeCurveSmooth ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewCurveSmooth(Reference ipIACurve) AsHybridShapeCurveSmoothCreates a new CurveSmooth within the current body.Parameters:iCurveReference curve to be smoothenedoCurveSmoothSmoothened curve
- Parameters:
ip_ia_curve (Reference) –
- Return type:
- add_new_cylinder(i_center: Reference, i_radius: float, i_first_length: float, i_second_length: float, i_direction: HybridShapeDirection) HybridShapeCylinder ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewCylinder(Reference iCenter,double iRadius,double iFirstLength,double iSecondLength,HybridShapeDirection iDirection) As HybridShapeCylinderCreates a new Cylinder within the current body.Parameters:iCenterCenter of the Cylinder - Can be Point or Vertex.Sub-element(s) supported (seeVertex object):iRadiusRadius of Cylinder.iFirstLengthLength of Cylinder in the given direction.iSecondLengthLength of Cylinder in the opposite direction.iDirectionDirection of extrusion for Cylinder.oCylinderObjectCreated CylinderObjct.
- Parameters:
i_center (Reference) –
i_radius (float) –
i_first_length (float) –
i_second_length (float) –
i_direction (HybridShapeDirection) –
- Return type:
- add_new_datums(i_elem: Reference) tuple ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewDatums(Reference iElem) As CATSafeArrayVariantCreates datums from a multi-domain result feature, one datum is created byobject domain.Note; Available only for a shape design feature as input ( not for datumfeature ).Parameters:iElemReference elementoArrayOfDatumList of datum objects , one datum is created peromainLevel of availability = V5R14Example:This example converts a hybrid shape object in as much asdatums that the original hybrid shape features contains ofdomainDim HShapeSet reference = part.CreateReferenceFromObject(hybridShapeObject)‘ Convert to DatumsHShape = hybridShapeFactory.AddNewDatums referenceNum =UBound(HShape)For i = 0 to NumhybridBody1.AppendHybridShape HShape (i)Nextpart.InWorkObject = HShape(num)part.Update‘ Delete original featurehybridShapeFactory.DeleteObjectForDatumreference
- Parameters:
i_elem (Reference) –
- Return type:
tuple
- add_new_develop(i_mode: int, i_to_develop: Reference, i_support: Reference) HybridShapeDevelop ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewDevelop(long iMode,Reference iToDevelop,Reference iSupport) As HybridShapeDevelopCreates a new Develop within the current body.Note: require either DL1 or GSO license.Parameters:iModeDevelop method.iToDevelopWire to be developed.Sub-element(s) supported (seeBoundary object): see TriDimFeatEdge and BiDimFeatEdge.iSupportRevolution support surface.Sub-element(s) supported (see Boundary object): seeFace.oExtCreated developed wire.
- Parameters:
- Return type:
- add_new_direction(i_element: Reference) HybridShapeDirection ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewDirection(Reference iElement) AsHybridShapeDirectionCreates a new direction specified by an element within the currentbody.Parameters:iElementLine or plane specifying the direction. In case of plane, the planenormal vector is the directionSub-element(s) supported (seeBoundary object): see RectilinearTriDimFeatEdge,RectilinearBiDimFeatEdge and RectilinearMonoDimFeatEdge.oDirectionCreated direction.
- Parameters:
i_element (Reference) –
- Return type:
- add_new_direction_by_coord(i_x: float, i_y: float, i_z: float) HybridShapeDirection ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewDirectionByCoord(double iX,double iY,double iZ) As HybridShapeDirectionCreates a new Direction specifed by coordinates within the currentbody.Parameters:iXX componentiYY componentiZZ componentoDirectionCreated direction
- Parameters:
i_x (float) –
i_y (float) –
i_z (float) –
- Return type:
- add_new_empty_rotate() HybridShapeRotate ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewEmptyRotate() As HybridShapeRotateCreates a new empty Rotate within the current body.
- Return type:
- add_new_empty_translate() HybridShapeTranslate ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewEmptyTranslate() As HybridShapeTranslateCreates a new empty Translate within the current body.
- Return type:
- add_new_extract(element: Reference) HybridShapeExtract ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewExtract(Reference Element) AsHybridShapeExtractCreates a new Extract within the current body.Parameters:iElementInitial element used to start the extractionSub-element(s) supported (seeBoundary object): see Boundary.oExtThe extracted object
- Parameters:
element (Reference) –
- Return type:
- add_new_extract_multi(element: Reference) HybridShapeExtractMulti ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewExtractMulti(Reference Element) AsHybridShapeExtractMultiCreates a new Multiple Extract within the current body.Parameters:iElementInitial element used to start the extractionSub-element(s) supported (seeBoundary object): see Boundary.oExtThe extracted object
- Parameters:
element (Reference) –
- Return type:
- add_new_extrapol_length(i_boundary: Reference, i_to_extrapol: Reference, i_length: float) HybridShapeExtrapol ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewExtrapolLength(Reference iBoundary,Reference iToExtrapol,double iLength) As HybridShapeExtrapolCreates a new Extrapol (specified by length) within the currentbody.Parameters:iBoundaryBoundary point of curve to extrapolate or boundary curve of surfaceto extrapolate.Sub-element(s) supported (seeBoundary object): see TriDimFeatEdge and BiDimFeatEdge.iToExtrapolCurve or surface to extrapolate.Sub-element(s) supported (see Boundary object): see Face,TriDimFeatEdge and BiDimFeatEdge.iLengthExtrapolation length.oExtrapolCreated Extrapolation.
- Parameters:
- Return type:
- add_new_extrapol_until(i_boundary: Reference, i_to_extrapol: Reference, i_until: Reference) HybridShapeExtrapol ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewExtrapolUntil(Reference iBoundary,Reference iToExtrapol,Reference iUntil) As HybridShapeExtrapolCreates a new Extrapol (until an element) within the currentbody.Parameters:iBoundaryBoundary point of curve to extrapolate or boundary curve of surfaceto extrapolate.Sub-element(s) supported (seeBoundary object): see TriDimFeatEdge and BiDimFeatEdge.iToExtrapolCurve or surface to extrapolate.Sub-element(s) supported (see Boundary object): see Face,TriDimFeatEdge and BiDimFeatEdge.iUntilExtrapolation limit surface.oExtrapolCreated Extrapolation.
- Parameters:
- Return type:
- add_new_extremum(i_objet: Reference, i_dir: HybridShapeDirection, i_min_max: int) HybridShapeExtremum ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewExtremum(Reference iObjet,HybridShapeDirection iDir,long iMinMax) As HybridShapeExtremumCreates a new Extremum within the current body.Parameters:iObjetElement onto extremum is computedSub-element(s) supported (seeBoundary object): see TriDimFeatEdge, BiDimFeatEdge and Face.iDirExtremum directioniMinMaxMaximum (GSMMax) or Minimum (GSMMin)oExtThe extremum object if succeded
- Parameters:
i_objet (Reference) –
i_dir (HybridShapeDirection) –
i_min_max (int) –
- Return type:
- add_new_extremum_polar(i_type: int, ip_ia_contour: Reference) HybridShapeExtremumPolar ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewExtremumPolar(short iType,Reference ipIAContour) As HybridShapeExtremumPolarCreates a new Extremum Polar within the current body.Parameters:iTypeType of extremum polar 0-Min Radius 1-Max Radius 2- Min Angle 3-Maximum AngleipIAContourExtremum Polar Contour. It should be non convexopIAExtPolarThe extremum polar object if succeded
- Parameters:
i_type (int) –
ip_ia_contour (Reference) –
- Return type:
- add_new_extrude(i_object_to_extrude: Reference, i_offset_debut: float, i_offset_fin: float, i_direction: HybridShapeDirection) HybridShapeExtrude ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewExtrude(Reference iObjectToExtrude,double iOffsetDebut,double iOffsetFin,HybridShapeDirection iDirection) As HybridShapeExtrudeCreates a new extrude within the current body.Parameters:iObjectToExtrudeObject to be extruded (point, line ,curve,or face)Sub-element(s) supported (seeBoundary object): see Boundary.iOffsetDebutLength valueiOffsetFinLength value ( iOffsetFin has to be larger than iOffsetDebut)iDirectionExtrusion directionoExtrudeObjectExtruded result
- Parameters:
i_object_to_extrude (Reference) –
i_offset_debut (float) –
i_offset_fin (float) –
i_direction (HybridShapeDirection) –
- Return type:
- add_new_fill() HybridShapeFill ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewFill() As HybridShapeFillCreates a new Fill within the current body.Parameters:oFillFill object
- Return type:
- add_new_fillet_bi_tangent(i_element1: Reference, i_element2: Reference, i_radius: float, i_orientation1: int, i_orientation2: int, i_supports_trim_mode: int, i_ribbon_relimitation_mode: int) HybridShapeFilletBiTangent ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewFilletBiTangent(Reference iElement1,Reference iElement2,double iRadius,long iOrientation1,long iOrientation2,long iSupportsTrimMode,long iRibbonRelimitationMode) As HybridShapeFilletBiTangentCreates a new a sphere bitangent fillet between two skins.Parameters:iElement1First support of fillet.Sub-element(s) supported (seeBoundary object): see Face.iElement2Second support of fillet.Sub-element(s) supported (see Boundary object): seeFace.iRadiusRadius of the fillet.iOrientation1Manage the fillet center position.iOrientation2Manage the fillet center position.iSupportsTrimModeThe 2 supports can be trimmed and assembled with the fillet. Value canbe 0 (No trim ) or 1 (Trim)iRibbonRelimitationModeManage the relimition of fillet extremities.Value can be : 0 (Smooth), 1 (Straight), 2 (Maximum) or 3 (Minimum)oFilletCreated fillet.
- Parameters:
- Return type:
- add_new_fillet_tri_tangent(i_element1: Reference, i_element2: Reference, i_remove_elem: Reference, i_orientation1: int, i_orientation2: int, i_remove_orientation: int, i_supports_trim_mode: int, i_ribbon_relimitation_mode: int) HybridShapeFilletTriTangent ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewFilletTriTangent(Reference iElement1,Reference iElement2,Reference iRemoveElem,long iOrientation1,long iOrientation2,long iRemoveOrientation,long iSupportsTrimMode,long iRibbonRelimitationMode) As HybridShapeFilletTriTangentCreates a new a tritangent fillet between three skins.Parameters:iElement1First support of fillet.Sub-element(s) supported (seeBoundary object): see Face.iElement2Second support of fillet.Sub-element(s) supported (see Boundary object): seeFace.iRemoveElemSupport to remove of fillet.Sub-element(s) supported (see Boundary object): seeFace.iOrientation1Manage the fillet center position.iOrientation2Manage the fillet center position.iRemoveOrientationManage the fillet center position.iSupportsTrimModeThe 2 supports can be trimmed and assembled with the fillet. Value canbe 0 (No trim ) or 1 (Trim)iRibbonRelimitationModeManage the relimition of fillet extremities.Value can be : 0 (Smooth), 1 (Straight), 2 (Maximum) or 3 (Minimum)oFilletCreated fillet.
- Parameters:
- Return type:
- add_new_healing(i_body_toheal: Reference) HybridShapeHealing ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewHealing(Reference iBodyToheal) AsHybridShapeHealingCreates a new healing within the current body.Parameters:iBodyToHealThe body to healoHealingThe created healing
- Parameters:
i_body_toheal (Reference) –
- Return type:
- add_new_helix(i_axis: Reference, i_invert_axis: bool, i_starting_point: Reference, i_pitch: float, i_height: float, i_clockwise_revolution: bool, i_starting_angle: float, i_taper_angle: float, i_taper_outward: bool) HybridShapeHelix ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewHelix(Reference iAxis,boolean iInvertAxis,Reference iStartingPoint,double iPitch,double iHeight,boolean iClockwiseRevolution,double iStartingAngle,double iTaperAngle,boolean iTaperOutward) As HybridShapeHelixCreates a new Helix within the current body.Parameters:iAxisThe helix axis (always a line).Sub-element(s) supported (seeBoundary object): see RectilinearTriDimFeatEdge andRectilinearBiDimFeatEdge.iInvertAxisiStartingPointStarting Point.Sub-element(s) supported (see Boundary object): seeVertex.iPitchPitch.iHeightHelix height.iClockwiseRevolutionRevolutions are clockwise if TRUE, counterclockwise if FALSE.iStartingAngleStarting angle from starting point measured on the helix itself. If nostarting angle is wanted, set it to 0.0.iTaperAngle0 <= Taper Angle < Pi/2 If no taper angle is wanted, set it to 0.0(constant helix radius).iTaperOutwardHelix radius increases if TRUE, decreases if FALSE.oHelixThe Helix object if succeded
- Parameters:
- Return type:
- add_new_hybrid_scaling(i_elem_to_scale: Reference, i_center: Reference, i_ratio: float) HybridShapeScaling ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewHybridScaling(Reference iElemToScale,Reference iCenter,double iRatio) As HybridShapeScalingCreates a new scaling within the current body.Parameters:iElemToScalePoint, curve, surface or solid to transform.Sub-element(s) supported (seeBoundary object): see Face, TriDimFeatEdge, BiDimFeatEdge and Vertex.iCenterReference point or reference plane.Sub-element(s) supported (see Boundary object): see PlanarFace andVertex.iRatioScaling ratio.oScalingCreated scaling.
- Parameters:
- Return type:
- add_new_hybrid_split(i_element1: Reference, i_element2: Reference, i_orientation: int) HybridShapeSplit ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewHybridSplit(Reference iElement1,Reference iElement2,long iOrientation) As HybridShapeSplitCreates a new Split within the current body.Parameters:iElement1The feature to cut (curve or surface).Sub-element(s) supported (seeBoundary object): see Face, TriDimFeatEdge and BiDimFeatEdge.iElement2The cutting feature (point, curve, surface).Sub-element(s) supported (see Boundary object): see Face,TriDimFeatEdge, BiDimFeatEdge and Vertex.iOrientationManage the kept side of the feature to cut (value can be 1 or -1)oSplitCreated split
- Parameters:
- Return type:
- add_new_hybrid_trim(i_element1: Reference, i_orientation1: int, i_element2: Reference, i_orientation2: int) HybridShapeTrim ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewHybridTrim(Reference iElement1,long iOrientation1,Reference iElement2,long iOrientation2) As HybridShapeTrimCreates a new Trim within the current body by cutting and joining twoelements.You can trim a surface by a surface or a curve by a curve.Parameters:iElement1The feature to trim (curve or surface).iOrientation1Manage the kept side of iElement1 (value can be 1 or -1).iElement2The second feature to trim (curve or surface).iOrientation2Manage the kept side of iElement2 (value can be 1 or -1).oTrimCreated trim.
- Parameters:
- Return type:
- add_new_integrated_law(i_type: int) HybridShapeIntegratedLaw ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewIntegratedLaw(long iType) AsHybridShapeIntegratedLawCreates Integrated Law.Parameters:iTypeType of law =0 : None | 1 : Constant | 2 : Linear | 3 : SType | 4 : Advanced | 5 : Implicit
- Parameters:
i_type (int) –
- Return type:
- add_new_intersection(i_object1: Reference, i_object2: Reference) HybridShapeIntersection ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewIntersection(Reference iObject1,Reference iObject2) As HybridShapeIntersectionCreates a new Intersection within the current body.Parameters:iObject1First element ( line, curve, plane, surface.Sub-element(s) supported (seeBoundary object): see Face, RectilinearTriDimFeatEdge andRectilinearBiDimFeatEdge.iObject2Second element ( line , curve, plane, surface.Sub-element(s) supported (see Boundary object): see Face,RectilinearTriDimFeatEdge andRectilinearBiDimFeatEdge.oIntersectionIntersection
- Parameters:
- Return type:
- add_new_inverse(element: Reference, inverse: int) HybridShapeInverse ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewInverse(Reference Element,long Inverse) As HybridShapeInverseCreates a new Inverse within the current body.Parameters:iElementThe objet to inverseiInversethe type of inversion (see CATGSMOrientation.h) 1 for no inversion-1 for inversionoInvThe inverted object
- Parameters:
element (Reference) –
inverse (int) –
- Return type:
- add_new_join(element1: Reference, element2: Reference) HybridShapeAssemble ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewJoin(Reference Element1,Reference Element2) As HybridShapeAssembleCreates a new Join within the current body.Parameters:iElement1First element to join ( curve or surface.Sub-element(s) supported (seeBoundary object): see Face, TriDimFeatEdge and BiDimFeatEdge.iElement2Second element to join ( same type of the firstelement)Sub-element(s) supported (see Boundary object): see Face,TriDimFeatEdge and BiDimFeatEdge.oExtJoin result The default value used to join element is0.001mm
- Parameters:
- Return type:
- add_new_law_dist_proj(i_reference: Reference, i_definition: Reference) HybridShapeLawDistProj ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewLawDistProj(Reference iReference,Reference iDefinition) As HybridShapeLawDistProjCreates a new law within the current body.Parameters:iReferenceReference line of the law.Sub-element(s) supported (seeBoundary object): see RectilinearTriDimFeatEdge andRectilinearBiDimFeatEdge.iDefinitionDefinition curve of the law.Sub-element(s) supported (see Boundary object): see TriDimFeatEdge andBiDimFeatEdge.oLawThe Law object if succeded
- Parameters:
- Return type:
- add_new_line_angle(i_curve: Reference, i_surface: Reference, i_point: Reference, i_geodesic: bool, i_begin_offset: float, i_end_offset: float, i_angle: float, i_orientation: bool) HybridShapeLineAngle ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewLineAngle(Reference iCurve,Reference iSurface,Reference iPoint,boolean iGeodesic,double iBeginOffset,double iEndOffset,double iAngle,boolean iOrientation) As HybridShapeLineAngleCreates a new angle line within the current body.Parameters:iCurveReference curve.Sub-element(s) supported (seeBoundary object): see TriDimFeatEdge and BiDimFeatEdge.iSurfaceReference surface.Sub-element(s) supported (see Boundary object): seeFace.iPointreference point.Sub-element(s) supported (see Boundary object): seeVertex.iGeodesicPuts the line on the surfaceiBeginOffsetstart offsetiEndOffsetend offsetiAngleangle to reference curveiOrientationOrientation allows to reverse the line direction from the referencepoint. For a line of L length, it is the same as creating this line with -Llength.oLineCreated line
- Parameters:
- Return type:
- add_new_line_bi_tangent(i_curve1: Reference, i_element2: Reference, i_support: Reference) HybridShapeLineBiTangent ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewLineBiTangent(Reference iCurve1,Reference iElement2,Reference iSupport) As HybridShapeLineBiTangentCreates a new bitangent line within the current body.Parameters:iCurve1First tangency curve lying on the support surface.Sub-element(s) supported (seeBoundary object): see TriDimFeatEdge and BiDimFeatEdge.iCurve2Second tangency element (point, curve) lying on the supportsurface.Sub-element(s) supported (see Boundary object): see TriDimFeatEdge,BiDimFeatEdge and Vertex.iSupportThe support surface of the two elements.Sub-element(s) supported (see Boundary object): seeFace.oLineCreated line
- Parameters:
- Return type:
- add_new_line_bisecting(i_line1: Reference, i_line2: Reference, i_begin_offset: float, i_end_offset: float, i_orientation: bool, solution_nb: int) HybridShapeLineBisecting ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewLineBisecting(Reference iLine1,Reference iLine2,double iBeginOffset,double iEndOffset,boolean iOrientation,long SolutionNb) As HybridShapeLineBisectingCreates a new bisecting line within the current body.Parameters:iLine1First line.Sub-element(s) supported (seeBoundary object): see RectilinearTriDimFeatEdge andRectilinearBiDimFeatEdge.iLine2Second line.Sub-element(s) supported (see Boundary object): seeRectilinearTriDimFeatEdge andRectilinearBiDimFeatEdge.iBeginOffsetstart offsetiEndOffsetend offsetiOrientationOrientation allows to reverse the line direction from the referencepoint. For a line of L length, it is the same as creating this line with -Llength.oLineCreated line
- Parameters:
- Return type:
- add_new_line_bisecting_on_support(i_line1: Reference, i_line2: Reference, i_surface: Reference, i_begin_offset: float, i_end_offset: float, i_orientation: bool, solution_nb: int) HybridShapeLineBisecting ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewLineBisectingOnSupport(Reference iLine1,Reference iLine2,Reference iSurface,double iBeginOffset,double iEndOffset,boolean iOrientation,long SolutionNb) As HybridShapeLineBisectingCreates a new bisecting line on a support within the currentbody.Parameters:iLine1First line.Sub-element(s) supported (seeBoundary object): see RectilinearTriDimFeatEdge andRectilinearBiDimFeatEdge.iLine2Second line.Sub-element(s) supported (see Boundary object): seeRectilinearTriDimFeatEdge andRectilinearBiDimFeatEdge.iSurfaceReference surface.Sub-element(s) supported (see Boundary object): seeFace.iBeginOffsetstart offsetiEndOffsetend offsetiOrientationOrientation allows to reverse the line direction from the referencepoint. For a line of L length, it is the same as creating this line with -Llength.oLineCreated line
- Parameters:
- Return type:
- add_new_line_bisecting_on_support_with_point(i_line1: Reference, i_line2: Reference, i_ref_point: Reference, i_surface: Reference, i_begin_offset: float, i_end_offset: float, i_orientation: bool, solution_nb: int) HybridShapeLineBisecting ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewLineBisectingOnSupportWithPoint(ReferenceiLine1,Reference iLine2,Reference iRefPoint,Reference iSurface,double iBeginOffset,double iEndOffset,boolean iOrientation,long SolutionNb) As HybridShapeLineBisectingCreates a new bisecting line on a support with a atarting point within thecurrent body.Parameters:iLine1First line.Sub-element(s) supported (seeBoundary object): see RectilinearTriDimFeatEdge andRectilinearBiDimFeatEdge.iLine2Second line.Sub-element(s) supported (see Boundary object): seeRectilinearTriDimFeatEdge andRectilinearBiDimFeatEdge.iRefPointStarting point of the bisecting line.Sub-element(s) supported (see Boundary object): seeVertex.iSurfaceReference surface.Sub-element(s) supported (see Boundary object): seeFace.iBeginOffsetstart offsetiEndOffsetend offsetiOrientationOrientation allows to reverse the line direction from the referencepoint. For a line of L length, it is the same as creating this line with -Llength.oLineCreated line
- Parameters:
- Return type:
- add_new_line_bisecting_with_point(i_line1: Reference, i_line2: Reference, i_ref_point: Reference, i_begin_offset: float, i_end_offset: float, i_orientation: bool, solution_nb: int) HybridShapeLineBisecting ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewLineBisectingWithPoint(Reference iLine1,Reference iLine2,Reference iRefPoint,double iBeginOffset,double iEndOffset,boolean iOrientation,long SolutionNb) As HybridShapeLineBisectingCreates a new bisecting line with a starting point within the currentbody.Parameters:iLine1First line.Sub-element(s) supported (seeBoundary object): see RectilinearTriDimFeatEdge andRectilinearBiDimFeatEdge.iLine2Second line.Sub-element(s) supported (see Boundary object): seeRectilinearTriDimFeatEdge andRectilinearBiDimFeatEdge.iRefPointStarting point of the bisecting line.Sub-element(s) supported (see Boundary object): seeVertex.iBeginOffsetstart offsetiEndOffsetend offsetiOrientationOrientation allows to reverse the line direction from the referencepoint. For a line of L length, it is the same as creating this line with -Llength.oLineCreated line
- Parameters:
- Return type:
- add_new_line_datum(i_object: Reference) HybridShapeLineExplicit ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewLineDatum(Reference iObject) AsHybridShapeLineExplicitCreates a new datum of line within the current body.Parameters:iObjectThe object whose topological body will be duplicated and put intocreated datumoLineCreated datum Note2: the object passed as parameter to create thedatum has to be in the current container. Otherwise, an erroroccurs.
- Parameters:
i_object (Reference) –
- Return type:
- add_new_line_normal(i_surface: Reference, i_point: Reference, i_begin_offset: float, i_end_offset: float, i_orientation: bool) HybridShapeLineNormal ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewLineNormal(Reference iSurface,Reference iPoint,double iBeginOffset,double iEndOffset,boolean iOrientation) As HybridShapeLineNormalCreates a new normal line within the current body.Parameters:iSurfaceReference surface.Sub-element(s) supported (seeBoundary object): see Face.iPointReference point.Sub-element(s) supported (see Boundary object): seeVertex.iBeginOffsetstart offsetiEndOffsetend offsetiOrientationOrientation allows to reverse the line direction from the referencepoint. For a line of L length, it is the same as creating this line with -Llength.oLineCreated line
- Parameters:
- Return type:
- add_new_line_pt_dir(i_pt: Reference, i_direction: HybridShapeDirection, i_begin_offset: float, i_end_offset: float, i_orientation: bool) HybridShapeLinePtDir ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewLinePtDir(Reference iPt,HybridShapeDirection iDirection,double iBeginOffset,double iEndOffset,boolean iOrientation) As HybridShapeLinePtDirCreates a new point-direction line within the currentbody.Parameters:iPtreference point.Sub-element(s) supported (seeBoundary object): see Vertex.iDirectionDirectioniBeginOffsetstart offsetiEndOffsetend offsetiOrientationOrientation allows to reverse the line direction from the referencepoint. For a line of L length, it is the same as creating this line with -Llength.oLineCreated line
- Parameters:
i_pt (Reference) –
i_direction (HybridShapeDirection) –
i_begin_offset (float) –
i_end_offset (float) –
i_orientation (bool) –
- Return type:
- add_new_line_pt_dir_on_support(i_pt: Reference, i_direction: HybridShapeDirection, i_support: Reference, i_begin_offset: float, i_end_offset: float, i_orientation: bool) HybridShapeLinePtDir ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewLinePtDirOnSupport(Reference iPt,HybridShapeDirection iDirection,Reference iSupport,double iBeginOffset,double iEndOffset,boolean iOrientation) As HybridShapeLinePtDirCreates a new point-direction line within the currentbody.Parameters:iPtreference point.Sub-element(s) supported (seeBoundary object): see Vertex.iDirectionDirectioniSupportSupport element (surface or plane)Sub-element(s) supported (see Boundary object): seeFace.iBeginOffsetstart offsetiEndOffsetend offsetiOrientationOrientation allows to reverse the line direction from the referencepoint. For a line of L length, it is the same as creating this line with -Llength.oLineCreated line
- Parameters:
i_pt (Reference) –
i_direction (HybridShapeDirection) –
i_support (Reference) –
i_begin_offset (float) –
i_end_offset (float) –
i_orientation (bool) –
- Return type:
- add_new_line_pt_pt(i_pt_origine: Reference, i_pt_extremite: Reference) HybridShapeLinePtPt ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewLinePtPt(Reference iPtOrigine,Reference iPtExtremite) As HybridShapeLinePtPtCreates a new point-point line within the current body.Parameters:iPtOrigineOrigin point.Sub-element(s) supported (seeBoundary object): see Vertex.iPtExtremiteExtremity point.Sub-element(s) supported (see Boundary object): seeVertex.oLineCreated line
- Parameters:
- Return type:
- add_new_line_pt_pt_extended(i_pt_origine: Reference, i_pt_extremite: Reference, i_begin_offset: float, i_end_offset: float) HybridShapeLinePtPt ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewLinePtPtExtended(Reference iPtOrigine,Reference iPtExtremite,double iBeginOffset,double iEndOffset) As HybridShapeLinePtPtCreates a new point-point line with extensions within the currentbody.Parameters:iPtOrigineOrigin point.Sub-element(s) supported (seeBoundary object): see Vertex.iPtExtremiteExtremity point.Sub-element(s) supported (see Boundary object): seeVertex.iBeginOffsetstart offsetiEndOffsetend offsetoLineCreated line
- Parameters:
- Return type:
- add_new_line_pt_pt_on_support(i_pt_origine: Reference, i_pt_extremite: Reference, i_support: Reference) HybridShapeLinePtPt ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewLinePtPtOnSupport(Reference iPtOrigine,Reference iPtExtremite,Reference iSupport) As HybridShapeLinePtPtCreates a new point-point line with support within the currentbody.Parameters:iPtOrigineOrigin point.Sub-element(s) supported (seeBoundary object): see Vertex.iPtExtremiteExtremity point.Sub-element(s) supported (see Boundary object): seeVertex.iSupportSupport element (surface or plane)Sub-element(s) supported (see Boundary object): seeFace.oLineCreated line
- Parameters:
- Return type:
- add_new_line_pt_pt_on_support_extended(i_pt_origine: Reference, i_pt_extremite: Reference, i_support: Reference, i_begin_offset: float, i_end_offset: float) HybridShapeLinePtPt ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewLinePtPtOnSupportExtended(Reference iPtOrigine,Reference iPtExtremite,Reference iSupport,double iBeginOffset,double iEndOffset) As HybridShapeLinePtPtCreates a new point-point line with extensions and with support within thecurrent body.Parameters:iPtOrigineOrigin point.Sub-element(s) supported (seeBoundary object): see Vertex.iPtExtremiteExtremity point.Sub-element(s) supported (see Boundary object): seeVertex.iSupportSupport element (surface or plane)Sub-element(s) supported (see Boundary object): seeFace.iBeginOffsetstart offsetiEndOffsetend offsetoLineCreated line
- Parameters:
- Return type:
- add_new_line_tangency(i_curve: Reference, i_point: Reference, i_begin_offset: float, i_end_offset: float, i_orientation: bool) HybridShapeLineTangency ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewLineTangency(Reference iCurve,Reference iPoint,double iBeginOffset,double iEndOffset,boolean iOrientation) As HybridShapeLineTangencyCreates a new tangent line within the current body.Parameters:iCurveReference curve.Sub-element(s) supported (seeBoundary object): see TriDimFeatEdge and BiDimFeatEdge.iPointReference point.Sub-element(s) supported (see Boundary object): seeVertex.iBeginOffsetstart offsetiEndOffsetend offsetiOrientationOrientation allows to reverse the line direction from the referencepoint. For a line of L length, it is the same as creating this line with -Llength.oLineCreated line
- Parameters:
- Return type:
- add_new_line_tangency_on_support(i_curve: Reference, i_point: Reference, i_support: Reference, i_begin_offset: float, i_end_offset: float, i_orientation: bool) HybridShapeLineTangency ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewLineTangencyOnSupport(Reference iCurve,Reference iPoint,Reference iSupport,double iBeginOffset,double iEndOffset,boolean iOrientation) As HybridShapeLineTangencyCreates a new tangent line within the current body.Parameters:iCurveReference curve.Sub-element(s) supported (seeBoundary object): see TriDimFeatEdge and BiDimFeatEdge.iPointReference point.Sub-element(s) supported (see Boundary object): seeVertex.iSupportSupport element (surface or plane)Sub-element(s) supported (see Boundary object): seeFace.iBeginOffsetstart offsetiEndOffsetend offsetiOrientationOrientation allows to reverse the line direction from the referencepoint. For a line of L length, it is the same as creating this line with -Llength.oLineCreated line
- Parameters:
- Return type:
- add_new_loft() HybridShapeLoft ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewLoft() As HybridShapeLoftCreates a new Loft within the current body.Parameters:oExtCATIAHybridShapeLoft created
- Return type:
- add_new_mid_surface(i_support: Reference, i_creation_mode: int, i_threshold: float) HybridShapeMidSurface ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewMidSurface(Reference iSupport,long iCreationMode,double iThreshold) As HybridShapeMidSurfaceCreates a new MidSurface in Automatic Creation Mode Only.Parameters:iSupportsupport BodyiCreationModeCreation Mode (Only Automatic Accepted)iThresholdThreshold ThicknessReturns:oMidSurface Created MidSurface
- Parameters:
i_support (Reference) –
i_creation_mode (int) –
i_threshold (float) –
- Return type:
- add_new_mid_surface_with_auto_threshold(i_support: Reference, i_creation_mode: int, i_threshold: float, i_auto_thickness_threshold: int) HybridShapeMidSurface ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewMidSurfaceWithAutoThreshold(Reference iSupport,long iCreationMode,double iThreshold,long iAutoThicknessThreshold) As HybridShapeMidSurfaceCreates a new MidSurface in Automatic Creation Mode Only.Parameters:iSupportsupport BodyiCreationModeCreation Mode (Only Automatic Accepted)iThresholdThreshold ThicknessiAutoThicknessThresholdAutomatic Thickness ThresholdReturns:oMidSurface Created MidSurface
- Parameters:
i_support (Reference) –
i_creation_mode (int) –
i_threshold (float) –
i_auto_thickness_threshold (int) –
- Return type:
- add_new_near(multi_element: Reference, reference_element: Reference) HybridShapeNear ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewNear(Reference MultiElement,Reference ReferenceElement) As HybridShapeNearCreates a new Near within the current body.Parameters:iMultiElementNon connex element (point,curve,surface.Sub-element(s) supported (seeBoundary object): see Face, TriDimFeatEdge, BiDimFeatEdge and Vertex.iReferenceElementReference elementSub-element(s) supported (see Boundary object): see Face,TriDimFeatEdge, BiDimFeatEdge and Vertex.oNearThe result is the connex component that is the nearest from thereference element
- Parameters:
- Return type:
- add_new_offset(i_object_to_offset: Reference, i_offset: float, i_orientation: bool, i_precision: float) HybridShapeOffset ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewOffset(Reference iObjectToOffset,double iOffset,boolean iOrientation,double iPrecision) As HybridShapeOffsetCreates a new offset within the current body.Parameters:iObjectToOffsetSurface to offset.Sub-element(s) supported (seeBoundary object): see Face.iOffsetOffset valueiOrientationOffset orientationiPrecisionThis variable is no longer in use and any change in it’s value does notimpact the output.oOffsetObjectOffset Surface
- Parameters:
i_object_to_offset (Reference) –
i_offset (float) –
i_orientation (bool) –
i_precision (float) –
- Return type:
- add_new_plane1_curve(i_planar_curve: Reference) HybridShapePlane1Curve ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewPlane1Curve(Reference iPlanarCurve) AsHybridShapePlane1CurveCreates a new plane passing through one planar curve within the currentbody.Parameters:iPlanarCurvepassing curve.Sub-element(s) supported (seeBoundary object): see TriDimFeatEdge and BiDimFeatEdge.oPlaneCreated plane
- Parameters:
i_planar_curve (Reference) –
- Return type:
- add_new_plane1_line1_pt(i_ln: Reference, i_pt: Reference) HybridShapePlane1Line1Pt ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewPlane1Line1Pt(Reference iLn,Reference iPt) As HybridShapePlane1Line1PtCreates a new plane passing through 1 line and 1 point within the currentbody.Parameters:iLnpassing line.Sub-element(s) supported (seeBoundary object): see RectilinearTriDimFeatEdge,RectilinearBiDimFeatEdge and RectilinearMonoDimFeatEdge.iPtpassing point.Sub-element(s) supported (see Boundary object): seeVertex.oPlaneCreated plane
- Parameters:
- Return type:
- add_new_plane2_lines(i_ln1: Reference, i_ln2: Reference) HybridShapePlane2Lines ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewPlane2Lines(Reference iLn1,Reference iLn2) As HybridShapePlane2LinesCreates a new plane passing through 2 lines within the currentbody.Parameters:iLn1first passing line.Sub-element(s) supported (seeBoundary object): see RectilinearTriDimFeatEdge,RectilinearBiDimFeatEdge and RectilinearMonoDimFeatEdge.iLn2second passing line.Sub-element(s) supported (see Boundary object): seeRectilinearTriDimFeatEdge, RectilinearBiDimFeatEdge andRectilinearMonoDimFeatEdge.oPlaneCreated line
- Parameters:
- Return type:
- add_new_plane3_points(i_pt1: Reference, i_pt2: Reference, i_pt3: Reference) HybridShapePlane3Points ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewPlane3Points(Reference iPt1,Reference iPt2,Reference iPt3) As HybridShapePlane3PointsCreates a new plane passing through 3 points within the currentbody.Parameters:iPt1first passing point.Sub-element(s) supported (seeBoundary object): see Vertex.iPt2second passing point.Sub-element(s) supported (see Boundary object): seeVertex.iPt3third passing point.Sub-element(s) supported (see Boundary object): seeVertex.oPlaneCreated plane
- Parameters:
- Return type:
- add_new_plane_angle(i_plane: Reference, i_revol_axis: Reference, i_angle: float, i_orientation: bool) HybridShapePlaneAngle ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewPlaneAngle(Reference iPlane,Reference iRevolAxis,double iAngle,boolean iOrientation) As HybridShapePlaneAngleCreates a new angle plane within the current body.Parameters:iPlanereference planeSub-element(s) supported (seeBoundary object): see PlanarFace.iRevolAxisrotation axisSub-element(s) supported (see Boundary object): seeRectilinearTriDimFeatEdge, RectilinearBiDimFeatEdge andRectilinearMonoDimFeatEdge.iAngleangleiOrientationOrientation to reverse the plane from the reference plane.oPlaneCreated plane
- Parameters:
- Return type:
- add_new_plane_datum(i_object: Reference) HybridShapePlaneExplicit ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewPlaneDatum(Reference iObject) AsHybridShapePlaneExplicitCreates a new datum of plane within the current body.Parameters:iObjectThe object whose topological body will be duplicated and put intocreated datumoPlaneCreated datum Note2: the object passed as parameter to create thedatum has to be in the current container. Otherwise, an erroroccurs.
- Parameters:
i_object (Reference) –
- Return type:
- add_new_plane_equation(i_a_coeff: float, i_b_coeff: float, i_c_coeff: float, i_d_coeff: float) HybridShapePlaneEquation ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewPlaneEquation(double iA_Coeff,double iB_Coeff,double iC_Coeff,double iD_Coeff) As HybridShapePlaneEquationCreates a new equation plane within the current body. Plane equation is Ax+By+Cz = D.Parameters:iA_CoeffA coefficientiB_CoeffB coefficientiC_CoeffC coefficientiD_CoeffD coefficientoPlaneCreated plane
- Parameters:
i_a_coeff (float) –
i_b_coeff (float) –
i_c_coeff (float) –
i_d_coeff (float) –
- Return type:
- add_new_plane_mean(i_list_of_points: tuple, nb_point: int) HybridShapePlaneMean ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewPlaneMean(CATSafeArrayVariant iListOfPoints,long NbPoint) As HybridShapePlaneMeanCreates a new mean through points plane within the currentbody.Parameters:oIListOfPointslist of passing points Warning : Input and Output parameter for CATScript applications,procedural typeiNbPointNumber of pointsoPlaneCreated plane
- Parameters:
i_list_of_points (tuple) –
nb_point (int) –
- Return type:
- add_new_plane_normal(i_curve: Reference, i_pt: Reference) HybridShapePlaneNormal ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewPlaneNormal(Reference iCurve,Reference iPt) As HybridShapePlaneNormalCreates a new normal plane within the current body.Parameters:iCurveReference curve.Sub-element(s) supported (seeBoundary object): see TriDimFeatEdge and BiDimFeatEdge.iPtReference point.Sub-element(s) supported (see Boundary object): seeVertex.oPlaneCreated plane
- Parameters:
- Return type:
- add_new_plane_offset(i_plane: Reference, i_offset: float, i_orientation: bool) HybridShapePlaneOffset ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewPlaneOffset(Reference iPlane,double iOffset,boolean iOrientation) As HybridShapePlaneOffsetCreates a new offset plane within the current body.Parameters:iPlanereference planeSub-element(s) supported (seeBoundary object): see PlanarFace.iOffsetoffset valueiOrientationOrientation to reverse the plane from the reference plane.oPlaneCreated plane
- Parameters:
i_plane (Reference) –
i_offset (float) –
i_orientation (bool) –
- Return type:
- add_new_plane_offset_pt(i_plane: Reference, i_pt: Reference) HybridShapePlaneOffsetPt ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewPlaneOffsetPt(Reference iPlane,Reference iPt) As HybridShapePlaneOffsetPtCreates a new offset trough point plane within the currentbody.Parameters:iPlanereference planeSub-element(s) supported (seeBoundary object): see PlanarFace.iPtReference point.Sub-element(s) supported (see Boundary object): seeVertex.oPlaneCreated plane
- Parameters:
- Return type:
- add_new_plane_tangent(i_surface: Reference, i_pt: Reference) HybridShapePlaneTangent ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewPlaneTangent(Reference iSurface,Reference iPt) As HybridShapePlaneTangentCreates a new tangent plane within the current body.Parameters:iSurfacereference surface.Sub-element(s) supported (seeBoundary object): see Face.iPtreference point.Sub-element(s) supported (see Boundary object): seeVertex.oPlaneCreated plane
- Parameters:
- Return type:
- add_new_point_between(i_point1: Reference, i_point2: Reference, i_ratio: float, i_orientation: int) HybridShapePointBetween ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewPointBetween(Reference iPoint1,Reference iPoint2,double iRatio,long iOrientation) As HybridShapePointBetweenCreates a new PointBetween within the current body.Parameters:iPoint1Reference point to compute the barycenter.Sub-element(s) supported (seeBoundary object): see Vertex.iPoint2Second point.Sub-element(s) supported (see Boundary object): seeVertex.iRatiobarycenter parameteriOrientationTo compute the barycenter of the segment [Pt1 - Pt2]oPointPointBetween if succeded
- Parameters:
- Return type:
- add_new_point_center(i_curve: Reference) HybridShapePointCenter ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewPointCenter(Reference iCurve) AsHybridShapePointCenterCreates a new circle center point within the current body.Parameters:iCurveReference circleSub-element(s) supported (seeBoundary object): see Edge.oPointCreated point
- Parameters:
i_curve (Reference) –
- Return type:
- add_new_point_coord(i_x: float, i_y: float, i_z: float) HybridShapePointCoord ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewPointCoord(double iX,double iY,double iZ) As HybridShapePointCoordCreates a new point defined by its cartesian coordinates within the currentbody.Parameters:iXX coordinate for the pointiYY coordinate for the pointiZZ coordinate for the pointoPointCreated point
- Parameters:
i_x (float) –
i_y (float) –
i_z (float) –
- Return type:
- add_new_point_coord_with_reference(i_x: float, i_y: float, i_z: float, i_pt: Reference) HybridShapePointCoord ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewPointCoordWithReference(double iX,double iY,double iZ,Reference iPt) As HybridShapePointCoordCreates a new point defined its the cartesian coordinates regarding areference point.Parameters:iXX coordinate for the pointiYY coordinate for the pointiZZ coordinate for the pointiPtReference point.Sub-element(s) supported (seeBoundary object): see Vertex.oPointCreated point
- Parameters:
i_x (float) –
i_y (float) –
i_z (float) –
i_pt (Reference) –
- Return type:
- add_new_point_coords(coord_list)¶
coord_list must be a list of iterables of length 3. Example: coord_list = [[0, 0, 1], [0, 1, 0]] :param list() coord_list: :returns: list[HybridShapePointCoord]
- add_new_point_datum(i_object: Reference) HybridShapePointExplicit ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewPointDatum(Reference iObject) AsHybridShapePointExplicitCreates a new datum of point within the current body.Parameters:iObjectThe object whose topological body will be duplicated and put intocreated datumoPointCreated datum Note2: the object passed as parameter to create thedatum has to be in the current container. Otherwise, an erroroccurs.
- Parameters:
i_object (Reference) –
- Return type:
- add_new_point_on_curve_along_direction(i_crv: Reference, i_long: float, i_orientation: bool, i_direction: HybridShapeDirection) HybridShapePointOnCurve ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewPointOnCurveAlongDirection(Reference iCrv,double iLong,boolean iOrientation,HybridShapeDirection iDirection) As HybridShapePointOnCurveCreates a new point on a curve with a deafult origin point and from adistance along direction.Parameters:iCrvsupport curve.Sub-element(s) supported (seeBoundary object): see TriDimFeatEdge and BiDimFeatEdge.iLongdistance to default origin point.(origin of acurrent axis system)iOrientationOrientation = TRUE means that distance is measured in the other orientation of the curve.iDirectionDirection = The distance at which point is created is measured in this direction.oPointCreated point
- Parameters:
i_crv (Reference) –
i_long (float) –
i_orientation (bool) –
i_direction (HybridShapeDirection) –
- Return type:
- add_new_point_on_curve_from_distance(i_crv: Reference, i_long: float, i_orientation: bool) HybridShapePointOnCurve ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewPointOnCurveFromDistance(Reference iCrv,double iLong,boolean iOrientation) As HybridShapePointOnCurveCreates a new point on a curve from a distance to an extremity within thecurrent body.Parameters:iCrvsupport curve.Sub-element(s) supported (seeBoundary object): see TriDimFeatEdge and BiDimFeatEdge.iLongdistance to extremityiOrientationOrientation = TRUE means that distance is measured in the other orientation of the curve andfrom the other extremity.oPointCreated point
- Parameters:
i_crv (Reference) –
i_long (float) –
i_orientation (bool) –
- Return type:
- add_new_point_on_curve_from_percent(i_crv: Reference, i_long: float, i_orientation: bool) HybridShapePointOnCurve ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewPointOnCurveFromPercent(Reference iCrv,double iLong,boolean iOrientation) As HybridShapePointOnCurveCreates a new point on a curve from a ratio of distance to an extremitywithin the current body.Parameters:iCrvsupport curve.Sub-element(s) supported (seeBoundary object): see TriDimFeatEdge and BiDimFeatEdge.iLongRatio of curve lengthiOrientationOrientation = TRUE means that ratio is measured in the other orientation of the curve andfrom the other extremity.oPointCreated point
- Parameters:
i_crv (Reference) –
i_long (float) –
i_orientation (bool) –
- Return type:
- add_new_point_on_curve_with_reference_along_direction(i_crv: Reference, i_pt: Reference, i_long: float, i_orientation: bool, i_direction: HybridShapeDirection) HybridShapePointOnCurve ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewPointOnCurveWithReferenceAlongDirection(ReferenceiCrv,Reference iPt,double iLong,boolean iOrientation,HybridShapeDirection iDirection) As HybridShapePointOnCurveCreates a new point on a curve with a reference point and from a distancealong direction.Parameters:iCrvsupport curve.Sub-element(s) supported (seeBoundary object): see TriDimFeatEdge and BiDimFeatEdge.iPtreference point.Sub-element(s) supported (see Boundary object): seeVertex.iLongdistance (length) to reference pointiOrientationOrientation = TRUE means that distance is measured in the other orientation of the curveiDirectionDirection = The distance at which point is created is measured in this direction.oPointCreated point
- Parameters:
i_crv (Reference) –
i_pt (Reference) –
i_long (float) –
i_orientation (bool) –
i_direction (HybridShapeDirection) –
- Return type:
- add_new_point_on_curve_with_reference_from_distance(i_crv: Reference, i_pt: Reference, i_long: float, i_orientation: bool) HybridShapePointOnCurve ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewPointOnCurveWithReferenceFromDistance(ReferenceiCrv,Reference iPt,double iLong,boolean iOrientation) As HybridShapePointOnCurveCreates a new point on a curve with a reference point and from a distancewithin the current body.Parameters:iCrvsupport curve.Sub-element(s) supported (seeBoundary object): see TriDimFeatEdge and BiDimFeatEdge.iPtreference point.Sub-element(s) supported (see Boundary object): seeVertex.iLongdistance (length) to reference pointiOrientationOrientation = TRUE means that distance is measured in the other orientation of the curveoPointCreated point
- Parameters:
- Return type:
- add_new_point_on_curve_with_reference_from_percent(i_crv: Reference, i_pt: Reference, i_long: float, i_orientation: bool) HybridShapePointOnCurve ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewPointOnCurveWithReferenceFromPercent(ReferenceiCrv,Reference iPt,double iLong,boolean iOrientation) As HybridShapePointOnCurveCreates a new point on a curve with a reference point and from a ratio ofdistance within the current body.Parameters:iCrvSupport curve.Sub-element(s) supported (seeBoundary object): see TriDimFeatEdge and BiDimFeatEdge.iPtreference point.Sub-element(s) supported (see Boundary object): seeVertex.iLongRatio of curve lengthiOrientationOrientation = TRUE means that ratio is measured in the other orientation of the curveoPointCreated point
- Parameters:
- Return type:
- add_new_point_on_plane(i_plane: Reference, i_x: float, i_y: float) HybridShapePointOnPlane ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewPointOnPlane(Reference iPlane,double iX,double iY) As HybridShapePointOnPlaneCreates a new point on a plane within the current body.Parameters:iPlaneSupport planeSub-element(s) supported (seeBoundary object): see PlanarFace.iXX cartesian coordinates in the plane.iYY cartesian coordinates in the plane.oPointCreated point
- Parameters:
i_plane (Reference) –
i_x (float) –
i_y (float) –
- Return type:
- add_new_point_on_plane_with_reference(i_plane: Reference, i_pt: Reference, i_x: float, i_y: float) HybridShapePointOnPlane ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewPointOnPlaneWithReference(Reference iPlane,Reference iPt,double iX,double iY) As HybridShapePointOnPlaneCreates a new point on a plane with a reference point within the currentbody.Parameters:iPlaneSupport planeSub-element(s) supported (seeBoundary object): see PlanarFace.iPtReference planeSub-element(s) supported (see Boundary object): seeVertex.iXX cartesian coordinates in the plane.iYY cartesian coordinates in the plane.oPointCreated point
- Parameters:
- Return type:
- add_new_point_on_surface(i_surface: Reference, i_direction: HybridShapeDirection, i_x: float) HybridShapePointOnSurface ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewPointOnSurface(Reference iSurface,HybridShapeDirection iDirection,double iX) As HybridShapePointOnSurfaceCreates a new point on a surface within the current body.Parameters:iSurfaceSupport surface.Sub-element(s) supported (seeBoundary object): see Face.iDirectionDirection from the reference point in which the point is computed.iXgeodesic length to reference pointoPointCreated point
- Parameters:
i_surface (Reference) –
i_direction (HybridShapeDirection) –
i_x (float) –
- Return type:
- add_new_point_on_surface_with_reference(i_surface: Reference, i_pt: Reference, i_direction: HybridShapeDirection, i_x: float) HybridShapePointOnSurface ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewPointOnSurfaceWithReference(Reference iSurface,Reference iPt,HybridShapeDirection iDirection,double iX) As HybridShapePointOnSurfaceCreates a new point on a surface with a reference point within the currentbody.Parameters:iSurfaceSupport surface.Sub-element(s) supported (seeBoundary object): see Face.iPtreference point.Sub-element(s) supported (see Boundary object): seeVertex.iDirectionDirection from the reference point in which the point is computed.iXgeodesic length to reference pointoPointCreated point
- Parameters:
i_surface (Reference) –
i_pt (Reference) –
i_direction (HybridShapeDirection) –
i_x (float) –
- Return type:
- add_new_point_tangent(i_curve: Reference, i_direction: HybridShapeDirection) HybridShapePointTangent ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewPointTangent(Reference iCurve,HybridShapeDirection iDirection) As HybridShapePointTangentCreates a new tangent to curve point within the currentbody.Parameters:iCurveReference curve.Sub-element(s) supported (seeBoundary object): see Edge.iDirectionDirection in which tangent points are computedoPointCreated point
- Parameters:
i_curve (Reference) –
i_direction (HybridShapeDirection) –
- Return type:
- add_new_polyline() HybridShapePolyline ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewPolyline() As HybridShapePolylineCreates a new Polyline within the current body.Parameters:oPolylineThe Polyline object if succeded
- Return type:
- add_new_position_transfo(i_mode: int) HybridShapePositionTransfo ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewPositionTransfo(long iMode) AsHybridShapePositionTransfoCreates a new PositionTransfo within the current body.Parameters:iModePositioning mode.oExtCreated positioning transformation (i.e. positioned wire /profile).
- Parameters:
i_mode (int) –
- Return type:
- add_new_project(i_element: Reference, i_support: Reference) HybridShapeProject ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewProject(Reference iElement,Reference iSupport) As HybridShapeProjectCreates a new Project within the current body.Parameters:iElementElement to project (point, curve).Sub-element(s) supported (seeBoundary object): see TriDimFeatEdge, BiDimFeatEdge and Vertex.iSupportCurve or surface support for projection.Sub-element(s) supported (see Boundary object): see Face,TriDimFeatEdge and BiDimFeatEdge.oProjectionCreated projection
- Parameters:
- Return type:
- add_new_reflect_line(i_support: Reference, i_dir: HybridShapeDirection, i_angle: float, i_orientation_support: int, i_orientation_direction: int) HybridShapeReflectLine ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewReflectLine(Reference iSupport,HybridShapeDirection iDir,double iAngle,long iOrientationSupport,long iOrientationDirection) As HybridShapeReflectLineDeprecated:V5R17 CATIAHybridShapeFactory#AddNewReflectLineWithType Creates a newReflectLine within the current body.Create a reflectline curve on a support surface along a direction withan angle.Parameters:iSupportSupport surface.Sub-element(s) supported (seeBoundary object): see Face.iAngleAngle of the reflectline.iOrientationSupportManage the angle used to compute the reflectline. Value can be 1 or -1iOrientationDirectionManage the angle used to compute the reflectline. Value can be 1 or -1oReflectLineCreated reflectline.
- Parameters:
i_support (Reference) –
i_dir (HybridShapeDirection) –
i_angle (float) –
i_orientation_support (int) –
i_orientation_direction (int) –
- Return type:
- add_new_reflect_line_with_type(i_support: Reference, i_dir: HybridShapeDirection, i_angle: float, i_orientation_support: int, i_orientation_direction: int, i_type: int) HybridShapeReflectLine ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewReflectLineWithType(Reference iSupport,HybridShapeDirection iDir,double iAngle,long iOrientationSupport,long iOrientationDirection,long iType) As HybridShapeReflectLineCreates a new ReflectLine within the current body.Create a reflectline curve on a support surface along a direction with anangle.Parameters:iSupportSupport surface.iAngleAngle of the reflectline.iOrientationSupportManage the angle used to compute the reflectline. Value can be 1 or-1iOrientationDirectionManage the angle used to compute the reflectline. Value can be 1 or-1iTypeManage the type used to compute the reflectline. Value can be 0 or1 Returns or sets whether the reflectline curve is or should be created withthe normal to the support or the tangent plane to thesupport.Role: The TypeSolution indicates whether the created reflectlinecurve is compute with the angle between the normale to the support and thedirection or with the angle between the tangent plane to the support and thedirection..Legal values: 0 for the normal and 1 for the tangent plane.oReflectLineCreated reflectline.
- Parameters:
i_support (Reference) –
i_dir (HybridShapeDirection) –
i_angle (float) –
i_orientation_support (int) –
i_orientation_direction (int) –
i_type (int) –
- Return type:
- add_new_revol(i_object_to_extrude: Reference, i_offset_debut: float, i_offset_fin: float, i_axis: Reference) HybridShapeRevol ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewRevol(Reference iObjectToExtrude,double iOffsetDebut,double iOffsetFin,Reference iAxis) As HybridShapeRevolCreates a new revolution within the current body.Parameters:iObjectToExtrudeProfile to be revolvedSub-element(s) supported (seeBoundary object): see Face, TriDimFeatEdge, BiDimFeatEdge and Vertex.iOffsetDebutAngle valueiOffsetFinAngle valueiAxisRevolution axis ( line that has to be in the profilplaneSub-element(s) supported (see Boundary object): seeRectilinearTriDimFeatEdge, RectilinearBiDimFeatEdge andRectilinearMonoDimFeatEdge.oRevolObjectRevolved result
- Parameters:
- Return type:
- add_new_rotate(i_to_rotate: Reference, i_axis: Reference, i_angle: float) HybridShapeRotate ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewRotate(Reference iToRotate,Reference iAxis,double iAngle) As HybridShapeRotateCreates a new Rotate within the current body.Parameters:iToRotatepoint, curve, surface or solid to transform.Sub-element(s) supported (seeBoundary object): see Face, TriDimFeatEdge, BiDimFeatEdge and Vertex.iAxisRotation axis.Sub-element(s) supported (see Boundary object): seeEdge.iAngleRotation angle.oRotateCreated rotation.
- Parameters:
- Return type:
- add_new_section() HybridShapeSection ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewSection() As HybridShapeSectionCreates a new section.Parameters:oSectionCreated Section
- Return type:
- add_new_sphere(i_center: Reference, i_axis: Reference | VBANothing, i_radius: float, i_begin_parallel_angle: float, i_end_parallel_angle: float, i_begin_meridian_angle: float, i_end_meridian_angle: float) HybridShapeSphere ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewSphere(Reference iCenter,Reference iAxis,double iRadius,double iBeginParallelAngle,double iEndParallelAngle,double iBeginMeridianAngle,double iEndMeridianAngle) As HybridShapeSphereCreates a new Sphere within the current body.Parameters:iCenterSphere center.Sub-element(s) supported (seeBoundary object): see Vertex.iAxisSphere axisiRadiusRadiusiBeginParallelAngleAngle valueiEndParallelAngleAngle valueiBeginMeridianAngleAngle valueiEndMeridianAngleAngle valueoSphereObjectSphere result
- Parameters:
- Return type:
- add_new_spine() HybridShapeSpine ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewSpine() As HybridShapeSpineCreates a new spine within the current body.Parameters:oExtCATIAHybridShapeSpine created
- Return type:
- add_new_spiral(i_type: int, i_support: Reference, i_center_point: Reference, i_axis: HybridShapeDirection, i_starting_radius: float, i_clockwise_revolution: bool) HybridShapeSpiral ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewSpiral(long iType,Reference iSupport,Reference iCenterPoint,HybridShapeDirection iAxis,double iStartingRadius,boolean iClockwiseRevolution) As HybridShapeSpiralCreates a new Spiral within the current body.Parameters:iTypeSpiral is defined by AngleRadius, AnglePitch or PitchRadius.iSupportSpiral planar support.iCenterPointCenter point.iAxisAxis.iStartingRadiusDefines the starting point: distance from the center point on theaxis.iClockwiseRevolutionRevolutions are clockwise if TRUE, counterclockwise if FALSE.oSpiralThe Spiral object if succeded
- Parameters:
i_type (int) –
i_support (Reference) –
i_center_point (Reference) –
i_axis (HybridShapeDirection) –
i_starting_radius (float) –
i_clockwise_revolution (bool) –
- Return type:
- add_new_spline() HybridShapeSpline ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewSpline() As HybridShapeSplineCreates a new Spline within the current body.Parameters:oSplineCreated spline.
- Return type:
- add_new_surface_datum(i_object: Reference) HybridShapeSurfaceExplicit ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewSurfaceDatum(Reference iObject) AsHybridShapeSurfaceExplicitCreates a new datum of surface within the current body.Parameters:iObjectThe object whose topological body will be duplicated and put intocreated datumoSurfaceCreated surface Note2: the object passed as parameter to create thedatum has to be in the current container. Otherwise, an erroroccurs.
- Parameters:
i_object (Reference) –
- Return type:
- add_new_sweep_circle(i_guide1: Reference) HybridShapeSweepCircle ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewSweepCircle(Reference iGuide1) AsHybridShapeSweepCircleCreates a new SweepCircle within the current body.Parameters:iGuide1First guide or center curve.Sub-element(s) supported (seeBoundary object): see TriDimFeatEdge and BiDimFeatEdge.oExtCreated swept surface.
- Parameters:
i_guide1 (Reference) –
- Return type:
- add_new_sweep_conic(ip_ia_guide1: Reference) HybridShapeSweepConic ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewSweepConic(Reference ipIAGuide1) AsHybridShapeSweepConicCreates a new SweepConic within the current body.Parameters:iGuide1First guide curve.opIASweepConicCreated swept surface.
- Parameters:
ip_ia_guide1 (Reference) –
- Return type:
- add_new_sweep_explicit(i_profile: Reference, i_guide: Reference) HybridShapeSweepExplicit ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewSweepExplicit(Reference iProfile,Reference iGuide) As HybridShapeSweepExplicitCreates a new SweepExplicit within the current body.Parameters:iProfileProfile.Sub-element(s) supported (seeBoundary object): see TriDimFeatEdge and BiDimFeatEdge.iGuideFirst guide curve.Sub-element(s) supported (see Boundary object): see TriDimFeatEdge andBiDimFeatEdge.oExtCreated swept surface.
- Parameters:
- Return type:
- add_new_sweep_line(i_guide1: Reference) HybridShapeSweepLine ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewSweepLine(Reference iGuide1) AsHybridShapeSweepLineCreates a new SweepLine within the current body.Parameters:iGuide1First guide curve.oExtCreated swept surface.
- Parameters:
i_guide1 (Reference) –
- Return type:
- add_new_symmetry(i_object: Reference, i_reference: Reference) HybridShapeSymmetry ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewSymmetry(Reference iObject,Reference iReference) As HybridShapeSymmetryCreates a new Symmetry within the current body.Parameters:iObjectPoint, curve, surface or solid to transform.Sub-element(s) supported (seeBoundary object): see Face, TriDimFeatEdge, BiDimFeatEdge and Vertex.iReferencePoint, line or reference plane.Sub-element(s) supported (see Boundary object): see PlanarFace, Edgeand Vertex.oSymmetryCreated symmetry.
- Parameters:
- Return type:
- add_new_transfer(i_element_to_transfer: Reference, i_type_of_transfer: int) HybridShapeTransfer ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewTransfer(Reference iElementToTransfer,long iTypeOfTransfer) As HybridShapeTransferCreates a new Transfer within the current body.Note: require DL1 license.Parameters:iElementToTransferThe element to transferiTypeOfTransferThe type of transferoExtCreated Transfer operation.
- Parameters:
i_element_to_transfer (Reference) –
i_type_of_transfer (int) –
- Return type:
- add_new_translate(i_element: Reference, i_direction: HybridShapeDirection, i_distance: float) HybridShapeTranslate ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewTranslate(Reference iElement,HybridShapeDirection iDirection,double iDistance) As HybridShapeTranslateCreates a new Translate within the current body.Parameters:iElementPoint, curve, surface or solid to translate.iDirectionTranslation direction.iDistanceTranslation Distance.oTranslateCreated translationoTranslateCreated Translate (Empty feature)Note: Then translate mode and inputs has to be initializedSee also:HybridShapeTranslate
- Parameters:
i_element (Reference) –
i_direction (HybridShapeDirection) –
i_distance (float) –
- Return type:
- add_new_unfold() HybridShapeUnfold ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewUnfold() As HybridShapeUnfoldCreates a new Unfold within the current body.Note: require DL1 license.Parameters:oExtCreated unfold operation.
- Return type:
- add_new_volume_datum(i_object: Reference) HybridShapeVolumeExplicit ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewVolumeDatum(Reference iObject) AsHybridShapeVolumeExplicitCreates a new datum of volume within the current body.Note: requires GSO LicenseParameters:iObjectThe object whose topological body will be duplicated and put intocreated datumoVolumeCreated Volume Note2: the object passed as parameter to create thedatum has to be in the current container. Otherwise, an erroroccurs.
- Parameters:
i_object (Reference) –
- Return type:
- add_new_wrap_curve() HybridShapeWrapCurve ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewWrapCurve() As HybridShapeWrapCurveCreates a new Wrap Curve Surface within the current body.Note: require GSO license.Parameters:oWrapCurveThe Wrap Curve object if succeded
- Return type:
- add_new_wrap_surface(i_body_to_deform: Reference) HybridShapeWrapSurface ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewWrapSurface(Reference iBodyToDeform) AsHybridShapeWrapSurfaceCreates a new Wrap Surface within the current body.Note: require GSO license.Parameters::iBodyToDeform Body to deform with a Wrap SurfaceoWrapSurfaceThe Wrap Surface object if succeded
- Parameters:
i_body_to_deform (Reference) –
- Return type:
- change_feature_name(i_elem: Reference, name: str) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub ChangeFeatureName(Reference iElem,CATBSTR Name)Set display name for Shape Design Features.Parameters:iElemElement to renameNameUser name
- Parameters:
i_elem (Reference) –
name (str) –
- Return type:
None
- delete_object_for_datum(i_object: Reference) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub DeleteObjectForDatum(Reference iObject)Deletes an object within the current body.Parameters:iObjectObject to delete
- Parameters:
i_object (Reference) –
- Return type:
None
- get_geometrical_feature_type(i_elem: Reference) int ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func GetGeometricalFeatureType(Reference iElem) As shortReturns type of “geometrical” shape Design feature .Parameters:iElemReference elementoTypeType of feature0 = Unknown, 1 = Point, 2 = Curve, 3 = Line, 4 = Circle,5 = Surface, 6 = Plane, 7 = Solid / VolumeLevel of availability = V5R14
See enumeration.enumeration_types.geometrical_feature_type() for enums.
- Parameters:
i_elem (Reference) –
- Returns:
0 = Unknown, 1 = Point, 2 = Curve, 3 = Line, 4 = Circle, 5 = Surface, 6 = Plane, 7 = Solid, Volume
- Return type:
int
- gsm_visibility(i_elem: Reference, show: int) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub GSMVisibility(Reference iElem,long Show)Set Visibility attribut for Shape Design Features.Parameters:iElemElement to show/NoShowShow= 0 NoShow , 1= Show
- Parameters:
i_elem (Reference) –
show (int) –
- Return type:
None