Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-06-11 12:40:47.360445
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.
pycatia.mec_mod_interfaces.axis_system.AxisSystem(com_object)¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectAxisSystemThe object Axis System A axis system has got one origin point and threeorthogonal axes, crossing at the origin point.
axis_rotation_angle¶Note
Angle
axis_rotation_reference¶Note
Reference
get_euler_angles(o_first_angle=None, o_second_angle=None, third_angle=None)¶Note
get_origin(o_origin=None)¶Note
o_origin (tuple) –
None
get_vectors(o_vector_x=None, o_vector_y=None)¶Note
o_vector_x (tuple) –
o_vector_y (tuple) –
None
get_x_axis(o_x_axis=None)¶Note
o_x_axis (tuple) –
None
get_y_axis(o_y_axis=None)¶Note
o_y_axis (tuple) –
None
get_z_axis(o_z_axis=None)¶Note
o_z_axis (tuple) –
None
is_current¶Note
bool
origin_point¶Note
Reference
origin_type¶Note
enum cat_axis_system_origin_type
put_origin(i_origin=None)¶Note
i_origin (tuple) –
None
put_vectors(i_vector_x=None, i_vector_y=None)¶Note
i_vector_x (tuple) –
i_vector_y (tuple) –
None
put_x_axis(i_x_axis=None)¶Note
i_x_axis (tuple) –
None
put_y_axis(i_y_axis=None)¶Note
i_y_axis (tuple) –
None
put_z_axis(i_z_axis=None)¶Note
i_z_axis (tuple) –
None
type¶Note
enum cat_axis_system_main_type
x_axis_direction¶Note
Reference
x_axis_type¶Note
enum cat_axis_system_axis_type
y_axis_direction¶Note
Reference
y_axis_type¶Note
enum cat_axis_system_axis_type
z_axis_direction¶Note
Reference
z_axis_type¶Note
enum cat_axis_system_axis_type
Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-06-11 12:40:47.360445
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.
pycatia.mec_mod_interfaces.axis_systems.AxisSystems(com_object)¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.CollectionAxisSystemsA collection of all the AxisSystem objects contained in thepart.
add()¶Note
AxisSystem
item(i_index)¶Note
i_index (CATVariant) –
AxisSystem
Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-06-11 12:40:47.360445
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.
pycatia.mec_mod_interfaces.bi_dim_feat_edge.BiDimFeatEdge(com_object)¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectInfInterfaces.ReferenceMecModInterfaces.BoundaryMecModInterfaces.EdgeBiDimFeatEdge1-D boundary belonging to a feature whose topological result is twodimensional.Role: This Boundary object may be, for example, the edge of a surface obtainedthrough the extrusion of a spline.You will create a BiDimFeatEdge object using the Shapes.GetBoundary ,HybridShapes.GetBoundary , Sketches.GetBoundary or Selection.SelectElement2method. Then, you pass it to the operator (such asHybridShapeFactory.AddNewPointOnCurveFromDistance ).The lifetime of a BiDimFeatEdge object is limited, seeBoundary.Example:This example asks the end user to select an edge, and creates a point onthis edge. Here, both TriDimFeatEdge and BiDimFeatEdge objects are proposed tothe user.Dim InputObjectType(1)Set Document = CATIA.ActiveDocumentSet Selection = Document.SelectionSet HybridBodies = Document.Part.HybridBodiesSet HybridBody = HybridBodies.Item(“Geometrical Set.1”)‘We propose to the user that he select an edgeInputObjectType(0)=”TriDimFeatEdge”InputObjectType(1)=”BiDimFeatEdge”Status=Selection.SelectElement2(InputObjectType,”Select anedge”,true)if (Status = “cancel”) then Exit SubSet Curve = Selection.Item(1).ValueSet HybridShapePointOnCurve = HybridShapeFactory.AddNewPointOnCurveFromDistance(Curve,18.0,False)HybridBody.AppendHybridShape HybridShapePointOnCurveDocument.Part.InWorkObject = HybridShapePointOnCurveDocument.Part.UpdateCopyright © 1999-2011, Dassault Systèmes. All rights reserved.
Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-06-11 12:40:47.360445
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.
pycatia.mec_mod_interfaces.bodies.Bodies(collection_com_object)¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.CollectionBodiesA collection of all the Body objects contained in the part.
add()¶Note
Body
item(i_index)¶Note
i_index (CATVariant) –
Body
Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-06-11 12:40:47.360445
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.
pycatia.mec_mod_interfaces.body.Body(com_object)¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectBodyThe object that manages a sequence of shapes, a set of sketches, a set ofhybrid bodies, a set of ordered geometrical sets and a set of hybridshapes.It belongs to the Bodies collection of a Part or HybridBodyobject.
hybrid_bodies¶Note
HybridBodies
hybrid_shapes¶Note
HybridShapes
in_boolean_operation¶Note
bool
insert_hybrid_shape(i_hybrid_shape)¶Note
i_hybrid_shape (HybridShape) –
None
ordered_geometrical_sets¶Note
OrderedGeometricalSets
shapes¶Note
Shapes
sketches¶Note
Sketches
Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-06-11 12:40:47.360445
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.
pycatia.mec_mod_interfaces.boundary.Boundary(com_object)¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectInfInterfaces.ReferenceBoundaryTopological cell, such as a face, an edge or a vertex.Role: The Boundary objects are basic topological objects, such as the edge of aPad. Some of them posess a geometrical feature (planar face, rectilinearedge).You will create a Boundary object (such as the TriDimFeatEdge object, which isderived, indirectly, from the Boundary object) using the Shapes.GetBoundary ,HybridShapes.GetBoundary , Sketches.GetBoundary or Selection.SelectElement2method. Then, you pass it to the operator (such asShapeFactory.AddNewEdgeFilletWithConstantRadius ). Note that, regarding V4sub-elements, once the data of a CATIA Version 4 Model has been copied to a.CATPart, the sub-elements of the resulting .CATPart are supported by theBoundary object.The lifetime of a Boundary object is limited. In particular, after having callPart.Update , the Boundary objects are usually no more valid.See also:Face , PlanarFace , CylindricalFaceEdge , TriDimFeatEdge , RectilinearTriDimFeatEdge , BiDimFeatEdge ,RectilinearBiDimFeatEdge , MonoDimFeatEdge ,RectilinearMonoDimFeatEdgeVertex , TriDimFeatVertexOrBiDimFeatVertex ,NotWireBoundaryMonoDimFeatVertex,ZeroDimFeatVertexOrWireBoundaryMonoDimFeatVertexNote: Boundary objects cannot be selected into the specificationtree.Note:For a Boundary object, the object returned by the AnyObject.Parentproperty is the master shape. For example, if we have:Pad.2!!+ V! +—+! / / !+– Pad.1 / / !! / / one +——+! +—+ / /! <— Pad.1! ! ! / / ++– Pad.2 ! !/ / /! +——+ /! ! /+———-+then, for the PlanarFace number “one”, the AnyObject.Parent property returnsthe Pad.2 automation object (see Pad ).Example:This example asks the end user to select an edge (using the TriDimFeatEdgeobject), and creates an edge fillet on this edge:Dim InputObjectType(0)Set Document = CATIA.ActiveDocumentSet Selection = Document.Selection‘We propose to the user that he select an edgeInputObjectType(0)=”TriDimFeatEdge”Status=Selection.SelectElement2(InputObjectType,”Select anedge”,true)if (Status = “cancel”) then Exit SubSet EdgeFillet = ShapeFactory.AddNewEdgeFilletWithConstantRadius(Selection.Item(1).Value,1,5.0)EdgeFillet.EdgePropagation = 1Document.Part.UpdateCopyright © 1999-2011, Dassault Systèmes. All rights reserved.
Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-06-11 12:40:47.360445
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.
pycatia.mec_mod_interfaces.constraint.Constraint(com_object)¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectConstraintA geometric constraint set for geometric elements of a part, a sketch, or aproduct.
activate()¶Note
None
angle_sector¶Note
enum cat_constraint_angle_sector
deactivate()¶Note
None
dimension¶Note
Dimension
distance_config¶Note
enum cat_constraint_dist_config
distance_direction¶Note
enum cat_constraint_dist_direction
get_constraint_element(i_element_number=None)¶Note
i_element_number (int) –
Reference
get_constraint_visu_location(o_anchor_point=None, o_anchor_vector=None)¶Note
o_anchor_point (tuple) –
o_anchor_vector (tuple) –
None
is_inactive()¶Note
bool
mode¶Note
enum cat_constraint_mode
orientation¶Note
enum cat_constraint_orientation
reference_axis¶Note
enum cat_constraint_ref_axis
reference_type¶Note
enum cat_constraint_ref_type
set_constraint_element(i_element_number=None, i_new_element=None)¶Note
i_element_number (int) –
i_new_element (Reference) –
None
set_constraint_visu_location(i_new_x=None, i_new_y=None, i_new_z=None)¶Note
i_new_x (float) –
i_new_y (float) –
i_new_z (float) –
None
side¶Note
enum cat_constraint_side
status¶Note
enum cat_constraint_status
type¶Note
enum cat_constraint_type
Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-06-11 12:40:47.360445
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.
pycatia.mec_mod_interfaces.constraints.Constraints(com_object)¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.CollectionConstraintsA collection of all geometric constraints set on a part, a sketch, or aproduct.A constraint collection is created with default values for its properties (suchas value, orientation, etc.). Use the constraint properties edition services toset them to appropriate values after constraint creation.See also:Constraint
add_bi_elt_cst(i_cst_type=None, i_first_elem=None, i_second_elem=None)¶Note
add_mono_elt_cst(i_cst_type=None, i_elem=None)¶Note
i_cst_type (CatConstraintType) –
i_elem (Reference) –
Constraint
add_tri_elt_cst(i_cst_type=None, i_first_elem=None, i_second_elem=None, i_third_elem=None)¶Note
broken_constraints_count¶Note
int
item(i_index)¶Note
i_index (CATVariant) –
Constraint
remove(i_index)¶Note
i_index (CATVariant) –
None
un_updated_constraints_count¶Note
int
Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-06-11 12:40:47.360445
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.
pycatia.mec_mod_interfaces.cylindrical_face.CylindricalFace(com_object)¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectInfInterfaces.ReferenceMecModInterfaces.BoundaryMecModInterfaces.FaceCylindricalFace2-D boundary with a cylindrical geometry.Role: This Boundary object may be, for example, the lateral face of acylinder.You will create a CylindricalFace object using the Shapes.GetBoundary ,HybridShapes.GetBoundary , Sketches.GetBoundary or Selection.SelectElement2method. Then, you pass it to the operator (such asShapeFactory.AddNewCircPattern ).The lifetime of a CylindricalFace object is limited, seeBoundary.Example:This example asks the end user to select a shape to pattern and acylindrical face, and creates a circular pattern of the shape. The cylindricalface specifies the rotation axis.Dim InputObjectType(0)Set Document = CATIA.ActiveDocumentSet Selection = Document.Selection‘We propose to the user that he select the shape topatternInputObjectType(0)=”SketchBasedShape”Status=Selection.SelectElement2(InputObjectType,”Select the shape topattern”,true)if (Status = “cancel”) then Exit SubSet Shape = Selection.Item(1).ValueSelection.Clear‘We propose to the user that he select the cylindricalfaceInputObjectType(0)=”CylindricalFace”Status=Selection.SelectElement2(InputObjectType,”Select the cylindricalface”,true)if (Status = “cancel”) then Exit SubSet CylindricalFace = Selection.Item(1).ValueSet RotationCenter = Document.Part.CreateReferenceFromName(“”)Set CircPattern = ShapeFactory.AddNewCircPattern(Shape,1,4,20.0,45.0,1,4,RotationCenter,CylindricalFace,True,0.0,True)Document.Part.Update
get_direction(o_direction=None)¶Note
o_direction (tuple) –
None
get_origin(o_origin=None)¶Note
o_origin (tuple) –
None
Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-06-11 12:40:47.360445
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.
pycatia.mec_mod_interfaces.edge.Edge(com_object)¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectInfInterfaces.ReferenceMecModInterfaces.BoundaryEdge1-D boundary.Role: This Boundary object may be, for example, the edge of acylinder.You will create an Edge object using the Shapes.GetBoundary ,HybridShapes.GetBoundary , Sketches.GetBoundary or Selection.SelectElement2method. Then, you pass it to the operator (such asHybridShapeFactory.AddNewPointTangent ).The lifetime of an Edge object is limited, see Boundary.See also:TriDimFeatEdge , RectilinearTriDimFeatEdge , BiDimFeatEdge ,RectilinearBiDimFeatEdge , MonoDimFeatEdge , RectilinearMonoDimFeatEdge.Example:This example asks the end user to select a planar curve, whose plane isparallel to the XY plane. Then, it creates a point on the tangent to the curvein the X direction:Dim InputObjectType(0)Set Document = CATIA.ActiveDocumentSet Selection = Document.SelectionSet HybridBodies = Document.Part.HybridBodiesSet HybridBody = HybridBodies.Item(“Geometrical Set.1”)‘We propose to the user that he select a planar curve whose plane isparallel to the XY planeInputObjectType(0)=”Edge”Status=Selection.SelectElement2(InputObjectType,”Select a planar curvewhose plane is parallel to the XY plane”,true)if (Status = “cancel”) then Exit SubSet PlanarCurve = Selection.Item(1).ValueSet HybridShapeDirection = HybridShapeFactory.AddNewDirectionByCoord(1.0,0.0,0.0)Set HybridShapePointTangent = HybridShapeFactory.AddNewPointTangent(PlanarCurve,HybridShapeDirection)HybridBody.AppendHybridShape HybridShapePointTangentDocument.Part.InWorkObject = HybridShapePointTangentDocument.Part.UpdateCopyright © 1999-2011, Dassault Systèmes. All rights reserved.
Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-06-11 12:40:47.360445
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.
pycatia.mec_mod_interfaces.face.Face(com_object)¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectInfInterfaces.ReferenceMecModInterfaces.BoundaryFace2-D boundary.Role: This Boundary object may be, for example, the lateral face ofcylinder.You will create a Face object using the Shapes.GetBoundary ,HybridShapes.GetBoundary , Sketches.GetBoundary or Selection.SelectElement2method. Then, you pass it to the operator (such asShapeFactory.AddNewFaceFillet ).The lifetime of a Face object is limited, see Boundary.See also:PlanarFace , CylindricalFace .Example:This example asks the end user to select two faces, and creates a face-facefillet on these faces:Dim InputObjectType(0)Set Document = CATIA.ActiveDocumentSet Selection = Document.Selection‘We propose to the user that he select the first faceInputObjectType(0)=”Face”Status=Selection.SelectElement2(InputObjectType,”Select the firstface”,true)if (Status = “cancel”) then Exit SubSet FirstFace = Selection.Item(1).ValueSelection.Clear‘We propose to the user that he select the second faceInputObjectType(0)=”Face”Status=Selection.SelectElement2(InputObjectType,”Select the secondface”,true)if (Status = “cancel”) then Exit SubSet SecondFace = Selection.Item(1).ValueSet FaceFillet = ShapeFactory.AddNewFaceFillet(FirstFace,SecondFace,5.0)Document.Part.UpdateCopyright © 1999-2011, Dassault Systèmes. All rights reserved.
Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-06-11 12:40:47.360445
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.
pycatia.mec_mod_interfaces.factory.Factory(com_object)¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectFactoryAbstract object gathering behaviours of all objects being afactory.Copyright © 1999-2011, Dassault Systèmes. All rights reserved.
Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-06-11 12:40:47.360445
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.
pycatia.mec_mod_interfaces.fix_together.FixTogether(com_object)¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectFixTogetherThe object that manages a sequence of products orfixTogethers.It belongs to the FixTogether collection of a Product.
add_fix_together(i_fix_together=None)¶Note
i_fix_together (FixTogether) –
None
add_product(i_product=None)¶Note
i_product (Product) –
None
fix_togethers_count¶Note
int
get_fix_together(i_index=None)¶Note
i_index (CATVariant) –
FixTogether
get_product(i_index=None)¶Note
i_index (CATVariant) –
Product
products_count¶Note
int
remove_fix_together(i_index=None)¶Note
i_index (CATVariant) –
None
remove_product(i_index=None)¶Note
i_index (CATVariant) –
None
Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-06-11 12:40:47.360445
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.
pycatia.mec_mod_interfaces.fix_togethers.FixTogethers(com_object)¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.CollectionFixTogethersA collection of all the FixTogether objects contained in theproduct.
add()¶Note
FixTogether
item(i_index)¶Note
i_index (CATVariant) –
FixTogether
remove(i_index=None)¶Note
i_index (CATVariant) –
None
Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-06-11 12:40:47.360445
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.
pycatia.mec_mod_interfaces.geometric_elements.GeometricElements(com_object)¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.CollectionGeometricElementsA collection of all geometric elements contained in a part or asketch.Geometric elements are created with the 2D factory for the sketch and with the3D factory for the part. Geometric elements thus created are then aggregatedeither in the sketch or as part of the geometric elementcollection.See also:Factory2D, HybridShapeFactory
item(i_index)¶Note
i_index (CATVariant) –
GeometricElement
Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-06-11 12:40:47.360445
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.
pycatia.mec_mod_interfaces.hybrid_bodies.HybridBodies(com_object, child_object=<class 'pycatia.mec_mod_interfaces.hybrid_body.HybridBody'>)¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.CollectionHybridBodiesA collection of the HybridBody objects.
add()¶Note
HybridBody
item(i_index)¶Note
i_index (CATVariant) –
HybridBody
Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-06-11 12:40:47.360445
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.
pycatia.mec_mod_interfaces.hybrid_body.HybridBody(com_object)¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectHybridBodyThe object is a hybrid body.The hybrid body manages a set of geometric elements, a set of hybrid shapes, aset of bodies and a set of hybrid bodies.It belongs to the HybridBodies collection of a Part or @ref CATIABody orHybridBody object.
append_hybrid_shape(i_hybrid_shape=None)¶Note
i_hybrid_shape (HybridShape) –
None
append_hybrid_shapes(shapes)¶shapes (list(HybridShape)) –
bodies¶Note
Bodies
geometric_elements¶Note
GeometricElements
hybrid_bodies¶Note
HybridBodies
hybrid_shapes¶Note
HybridShapes
hybrid_sketches¶Note
Sketches
Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-06-11 12:40:47.360445
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.
pycatia.mec_mod_interfaces.hybrid_shape.HybridShape(com_object)¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectHybridShapeRepresents the hybrid shape object.
append_hybrid_shape(i_hybrid_shape=None)¶Note
i_hybrid_shape (HybridShape) –
None
compute()¶Note
None
thickness¶Note
HybridShape
Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-06-11 12:40:47.360445
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.
pycatia.mec_mod_interfaces.hybrid_shape_instance.HybridShapeInstance(com_object)¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectMecModInterfaces.HybridShapeHybridShapeInstanceThe interface to access a CATIAHybridShapeInstance.
get_input(i_index=None)¶Note
i_index (str) –
AnyObject
get_input_data(i_name=None)¶Note
i_name (str) –
AnyObject
get_input_data_from_position(i_position=None)¶Note
i_position (int) –
AnyObject
get_input_from_position(i_position=None)¶Note
i_position (int) –
AnyObject
get_output(i_name=None)¶Note
i_name (str) –
AnyObject
get_output_from_position(i_position=None)¶Note
i_position (int) –
AnyObject
get_parameter(i_name=None)¶Note
i_name (str) –
AnyObject
get_parameter_from_position(i_position=None)¶Note
i_position (int) –
AnyObject
inputs_count¶Note
int
outputs_count¶Note
int
parameters_count¶Note
int
put_input(i_index=None, i_input=None)¶Note
i_index (str) –
i_input (AnyObject) –
None
put_input_data(i_name=None, i_input=None)¶Note
i_name (str) –
i_input (AnyObject) –
None
Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-06-11 12:40:47.360445
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.
pycatia.mec_mod_interfaces.hybrid_shapes.HybridShapes(com_object)¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.CollectionHybridShapesThe collection of the HybridShapes making up a body.
get_boundary(i_label=None)¶Note
i_label (str) –
Boundary
item(i_index)¶Note
i_index (CATVariant) –
HybridShape
Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-06-11 12:40:47.360445
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.
pycatia.mec_mod_interfaces.instance_factory.InstanceFactory(com_object)¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectMecModInterfaces.FactoryInstanceFactoryRepresents the CATIAInstanceFactory.Role: This interface is used to create a new instance of a shape reference(ShapeInstance ) or a hybrid shape reference ( HybridShapeInstance ) in case ofthe instantiation of a User Feature.It is also used to instantiate a Power Copy reference.This interface contains two protocols of instantiation:The first protocol is dedicated to User Feature instantiationonly.It is defined by a single method: AddInstance . It creates a shape orhybrid shape instance depending on the result of the UserFeature.Use this method when you want to perform only one instantiation of thereference. Read the document containing the User Feature reference andinstantiate it.As the document containing the reference is released from the session atthe end of the instantiation, it is not recommmended to use this method if youwant to perform several instantiations of the same reference in aloop.In that case, prefer the second protocol of instantiation.The second protocol is dedicated to both User Feature and Power Copyinstantiations.It is defined by several methods that must be called inorder.For User Feature instantiation, these methods are an alternative way ofthe AddInstance method.It is recommended to use the second protocol to perform severalinstantiations of the same reference in a loop.For Power Copy instantiation, it is the only way of instantiating areference.The instantiation process is composed of three majorsteps:The first step BeginInstanceFactory consists in initializing theInstanceFactory with the reference and the document where it isstored.This step must be called once at the beginning whatever the number ofinstantiations are done.Optional step InstantiationMode allow the user to specify the mode ofthe instantiation, that is to say “After” or “Inside”.If this method is not called, the instantiation mode will be chosenaccording to the BeginInstantiate method.The second step is the instantiation itself: it is composed of fivemethods that must be called in the order.This set of five methods can be called in a loop in order to makeseveral instantiations.The method BeginInstantiate is used to initialize all data of thereference.The method PutInputData is used to set a value to any input of thereference.The method GetParameter is used to retrieve any parameter of thereference in order to modify its value.The method Instantiate is used to duplicate the reference. Itreturns the created instance when it does exist.The method EndInstantiate is used to indicate that theinstantiation is done.The third step EndInstanceFactory consists in ending the instantiationand cleaning the InstanceFactory.When doing several instantiations in a loop, this step must be calledjust once at the end of all instantiations.
add_instance(i_reference=None)¶Note
i_reference (AnyObject) –
AnyObject
begin_instance_factory(i_name_of_reference=None, i_name_of_document=None)¶Note
i_name_of_reference (str) –
i_name_of_document (str) –
None
begin_instantiate()¶Note
None
end_instance_factory()¶Note
None
end_instantiate()¶Note
None
get_parameter(i_name=None)¶Note
i_name (str) –
AnyObject
instantiate()¶Note
AnyObject
instantiation_mode¶Note
False
put_input_data(i_name=None, i_input=None)¶Note
i_name (str) –
i_input (AnyObject) –
None
Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-06-11 12:40:47.360445
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.
pycatia.mec_mod_interfaces.mono_dim_feat_edge.MonoDimFeatEdge(com_object)¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectInfInterfaces.ReferenceMecModInterfaces.BoundaryMecModInterfaces.EdgeMonoDimFeatEdge1-D boundary belonging to a feature whose topological result is onedimensional.Role: This Boundary object may be, for example, in a part containing a Sketchwhich is made up of a circle arc and a spline, the circle arc.You will create a MonoDimFeatEdge object using the Shapes.GetBoundary ,HybridShapes.GetBoundary , Sketches.GetBoundary or Selection.SelectElement2method. Then, you pass it to the operator (such asHybridShapeFactory.AddNewPointTangent ).The lifetime of a MonoDimFeatEdge object is limited, seeBoundary.Copyright © 1999-2011, Dassault Systèmes. All rights reserved.
Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-06-11 12:40:47.360445
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.
pycatia.mec_mod_interfaces.not_wire_boundary_mono_dim_feat_vertex.NotWireBoundaryMonoDimFeatVertex(com_object)¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectInfInterfaces.ReferenceMecModInterfaces.BoundaryMecModInterfaces.VertexNotWireBoundaryMonoDimFeatVertex0-D boundary belonging to a feature whose topological result is onedimensional, the boundary not beeing the extremity of thefeature.Role: This Boundary object may be, for example, in a part containing a Sketchwhich is made up of a circle arc and a spline, the vertex between the circlearc and the spline.You will create a NotWireBoundaryMonoDimFeatVertex object using theShapes.GetBoundary , HybridShapes.GetBoundary , Sketches.GetBoundary orSelection.SelectElement2 method. Then, you pass it to theoperator.The lifetime of a NotWireBoundaryMonoDimFeatVertex object is limited, seeBoundary.Copyright © 1999-2011, Dassault Systèmes. All rights reserved.
Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-06-11 12:40:47.360445
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.
pycatia.mec_mod_interfaces.ordered_geometrical_set.OrderedGeometricalSet(com_object)¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectOrderedGeometricalSetThe object is an ordered geometrical set.The ordered geometrical set manages a set of hybrid shapes, a set of bodies anda set of ordered geometrical sets.It belongs to the OrderedGeometricalSets collection of a Part orOrderedGeometricalSet object.
bodies¶Note
Bodies
hybrid_shapes¶Note
HybridShapes
insert_hybrid_shape(i_hybrid_shape=None)¶Note
i_hybrid_shape (HybridShape) –
None
ordered_geometrical_sets¶Note
OrderedGeometricalSets
ordered_sketches¶Note
Sketches
Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-06-11 12:40:47.360445
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.
pycatia.mec_mod_interfaces.ordered_geometrical_sets.OrderedGeometricalSets(com_object)¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.CollectionOrderedGeometricalSetsA collection of the OrderedGeometricalSet objects.
add()¶Note
OrderedGeometricalSet
item(i_index)¶Note
i_index (CATVariant) –
OrderedGeometricalSet
Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-06-11 12:40:47.360445
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.
pycatia.mec_mod_interfaces.origin_elements.OriginElements(com_object)¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectOriginElementsRepresents the part’s 3D reference axis system.It allows an easy access to 3D reference axis system of a Part object thru thethree planes XY, YZ, and ZX.See Part for parent object.
plane_xy¶Note
AnyObject
plane_yz¶Note
AnyObject
plane_zx¶Note
AnyObject
Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-06-11 12:40:47.360445
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.
pycatia.mec_mod_interfaces.part.Part(com_part_object)¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectPartThe root level object inside a PartDocument object.Role: It aggregates all the objects making up the partdocument.It provides many factories and collections. The collections list only thedirect children of the part. Selection.Search allows to get all objects of onetype.See also:PartDocument
activate(i_object)¶Note
i_object (AnyObject) –
None
annotation_sets¶Note
Collection
axis_systems¶Note
AxisSystems
bodies¶Note
Bodies
constraints¶Note
Constraints
create_reference_from_b_rep_name(i_label, i_object_context)¶Note
i_label (str) –
i_object_context (AnyObject) –
Reference
create_reference_from_name(i_label)¶Note
i_label (str) –
Reference
create_reference_from_object(i_object)¶Note
i_object (AnyObject) –
Reference
density¶Note
float
file_name¶str()
find_object_by_name(i_obj_name)¶Note
i_obj_name (str) –
AnyObject
full_name¶str()
geometric_elements¶Note
GeometricElements
get_customer_factory(i_factory_iid=None)¶Note
i_factory_iid (str) –
Factory
hybrid_bodies¶Note
HybridBodies
hybrid_shape_factory¶Note
HybridShapeFactory
in_work_object¶Note
AnyObject
inactivate(i_object=None)¶Note
i_object (AnyObject) –
None
is_inactive(i_object=None)¶Note
i_object (AnyObject) –
bool
is_up_to_date(i_object)¶Note
i_object (AnyObject) –
bool
main_body¶Note
Body
ordered_geometrical_sets¶Note
OrderedGeometricalSets
origin_elements¶Note
OriginElements
parameters¶Note
Parameters
path()¶Returns the pathlib.Path() object of the document fullname. example e://users//psr//Parts//MyNicePart.CATPart >>> Part.path().name MyNicePart.CATPart >>> Part.path().parent e://users//psr//Parts// >>> Part.path().suffix .CATPart
Path()
relations¶Note
Relations
shape_factory¶Note
ShapeFactory
sheet_metal_factory¶Note
Factory
sheet_metal_parameters¶Note
AnyObject
update()¶Note
None
update_object(i_object)¶Note
i_object (AnyObject) –
None
user_surfaces¶Note
Collection
Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-06-11 12:40:47.360445
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.
pycatia.mec_mod_interfaces.part_document.PartDocument(com_object)¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectInfInterfaces.DocumentPartDocumentRepresents the Document object for parts.Role: When a PartDocument object is created, a Part object is also created.This Part object is the root object of the Part structure.A reference Product object is also created in each PartDocument. It is used toaccess Publications, PartNumber.See also:Product, Part
part¶Note
Part
product¶Note
Product
Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-06-11 12:40:47.360445
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.
pycatia.mec_mod_interfaces.part_infrastructure_setting_att.PartInfrastructureSettingAtt(com_object)¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectSystem.SettingControllerPartInfrastructureSettingAttSetting controller for all the Part Infrastructure property tabpages.Role: This interface is implemented by a component representing the controllerfor the Part Infrastructure settings.
also_delete_exclusive_parents¶Note
bool
axis_system_size¶Note
enum
bodies_under_operations_in_tree¶Note
bool
color_synchronization_editability¶Note
bool
color_synchronization_mode¶Note
bool
color_synchronization_mode_manage¶Note
bool
color_synchronization_mode_on_feature¶Note
bool
color_synchronization_mode_on_sub_elements¶Note
bool
colors3_d_experience_management¶Note
bool
constraints_in_geometry¶Note
bool
constraints_node_in_tree¶Note
bool
contextual_features_selectable_at_creation¶Note
bool
default_colors_editability¶Note
bool
delete_warning_box¶Note
bool
display_geometry_after_current¶Note
bool
expand_sketch_based_features_node_at_creation¶Note
bool
external_references_as_visible¶Note
bool
external_references_assembly_root_context¶Note
bool
external_references_node_in_tree¶Note
bool
get_also_delete_exclusive_parents_info(io_admin_level=None, io_locked=None)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_axis_system_size_info(io_admin_level=None, io_locked=None)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_bodies_under_operations_in_tree_info(io_admin_level=None, io_locked=None)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_color_synchronization_editability_info(io_admin_level=None, io_locked=None)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_color_synchronization_mode_info(io_admin_level=None, io_locked=None)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_color_synchronization_mode_manage_info(io_admin_level=None, io_locked=None)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_color_synchronization_mode_on_feature_info(io_admin_level=None, io_locked=None)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_color_synchronization_mode_on_sub_elements_info(io_admin_level=None, io_locked=None)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_colors3_d_experience_management_info(io_admin_level=None, io_locked=None)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_constraints_in_geometry_info(io_admin_level=None, io_locked=None)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_constraints_node_in_tree_info(io_admin_level=None, io_locked=None)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_contextual_features_selectable_at_creation_info(io_admin_level=None, io_locked=None)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_default_colors_editability_info(io_admin_level=None, io_locked=None)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_delete_warning_box_info(io_admin_level=None, io_locked=None)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_display_geometry_after_current_info(io_admin_level=None, io_locked=None)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_expand_sketch_based_features_node_at_creation_info(io_admin_level=None, io_locked=None)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_external_references_as_visible_info(io_admin_level=None, io_locked=None)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_external_references_assembly_root_context_info(io_admin_level=None, io_locked=None)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_external_references_node_in_tree_info(io_admin_level=None, io_locked=None)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_hybrid_design_mode_info(io_admin_level=None, io_locked=None)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_knowledge_in_hybrid_design_mode_info(io_admin_level=None, io_locked=None)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_linked_external_references_info(io_admin_level=None, io_locked=None)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_linked_external_references_only_on_publication_info(io_admin_level=None, io_locked=None)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_linked_external_references_warning_at_creation_info(io_admin_level=None, io_locked=None)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_naming_mode_info(io_admin_level=None, io_locked=None)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_new_with3_d_support_info(io_admin_level=None, io_locked=None)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_new_with_axis_system_info(io_admin_level=None, io_locked=None)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_new_with_gs_info(io_admin_level=None, io_locked=None)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_new_with_ogs_info(io_admin_level=None, io_locked=None)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_new_with_panel_info(io_admin_level=None, io_locked=None)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_only_current_operated_solid_set_in_geometry_info(io_admin_level=None, io_locked=None)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_only_current_solid_set_in_geometry_info(io_admin_level=None, io_locked=None)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_parameters_node_in_tree_info(io_admin_level=None, io_locked=None)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_publish_topological_elements_info(io_admin_level=None, io_locked=None)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_relations_node_in_tree_info(io_admin_level=None, io_locked=None)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_replace_only_after_current_info(io_admin_level=None, io_locked=None)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_surface_elements_location_info(io_admin_level=None, io_locked=None)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_true_color_mode_info(io_admin_level=None, io_locked=None)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_update_elements_refreshed_info(io_admin_level=None, io_locked=None)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_update_linked_external_references_info(io_admin_level=None, io_locked=None)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_update_mode_info(io_admin_level=None, io_locked=None)¶Note
io_admin_level (str) –
io_locked (str) –
bool
get_update_stopped_on_error_info(io_admin_level=None, io_locked=None)¶Note
io_admin_level (str) –
io_locked (str) –
bool
hybrid_design_mode¶Note
bool
knowledge_in_hybrid_design_mode¶Note
bool
linked_external_references¶Note
bool
linked_external_references_only_on_publication¶Note
bool
linked_external_references_warning_at_creation¶Note
bool
naming_mode¶Note
enum cat_part_elements_naming_mode
new_with3_d_support¶Note
bool
new_with_axis_system¶Note
bool
new_with_gs¶Note
bool
new_with_ogs¶Note
bool
new_with_panel¶Note
bool
only_current_operated_solid_set_in_geometry¶Note
bool
only_current_solid_set_in_geometry¶Note
bool
parameters_node_in_tree¶Note
bool
publish_topological_elements¶Note
bool
relations_node_in_tree¶Note
bool
replace_only_after_current¶Note
bool
set_also_delete_exclusive_parents_lock(i_locked=None)¶Note
i_locked (bool) –
None
set_axis_system_size_lock(i_locked=None)¶Note
i_locked (bool) –
None
set_bodies_under_operations_in_tree_lock(i_locked=None)¶Note
i_locked (bool) –
None
set_color_synchronization_editability_lock(i_locked=None)¶Note
i_locked (bool) –
None
set_color_synchronization_mode_lock(i_locked=None)¶Note
i_locked (bool) –
None
set_color_synchronization_mode_manage_lock(i_locked=None)¶Note
i_locked (bool) –
None
set_color_synchronization_mode_on_feature_lock(i_locked=None)¶Note
i_locked (bool) –
None
set_color_synchronization_mode_on_sub_elements_lock(i_locked=None)¶Note
i_locked (bool) –
None
set_colors3_d_experience_management_lock(i_locked=None)¶Note
i_locked (bool) –
None
set_constraints_in_geometry_lock(i_locked=None)¶Note
i_locked (bool) –
None
set_constraints_node_in_tree_lock(i_locked=None)¶Note
i_locked (bool) –
None
set_contextual_features_selectable_at_creation_lock(i_locked=None)¶Note
i_locked (bool) –
None
set_default_colors_editability_lock(i_locked=None)¶Note
i_locked (bool) –
None
set_delete_warning_box_lock(i_locked=None)¶Note
i_locked (bool) –
None
set_display_geometry_after_current_lock(i_locked=None)¶Note
i_locked (bool) –
None
set_expand_sketch_based_features_node_at_creation_lock(i_locked=None)¶Note
i_locked (bool) –
None
set_external_references_as_visible_lock(i_locked=None)¶Note
i_locked (bool) –
None
set_external_references_assembly_root_context_lock(i_locked=None)¶Note
i_locked (bool) –
None
set_external_references_node_in_tree_lock(i_locked=None)¶Note
i_locked (bool) –
None
set_hybrid_design_mode_lock(i_locked=None)¶Note
i_locked (bool) –
None
set_knowledge_in_hybrid_design_mode_lock(i_locked=None)¶Note
i_locked (bool) –
None
set_linked_external_references_lock(i_locked=None)¶Note
i_locked (bool) –
None
set_linked_external_references_only_on_publication_lock(i_locked=None)¶Note
i_locked (bool) –
None
set_linked_external_references_warning_at_creation_lock(i_locked=None)¶Note
i_locked (bool) –
None
set_naming_mode_lock(i_locked=None)¶Note
i_locked (bool) –
None
set_new_with3_d_support_lock(i_locked=None)¶Note
i_locked (bool) –
None
set_new_with_axis_system_lock(i_locked=None)¶Note
i_locked (bool) –
None
set_new_with_gs_lock(i_locked=None)¶Note
i_locked (bool) –
None
set_new_with_ogs_lock(i_locked=None)¶Note
i_locked (bool) –
None
set_new_with_panel_lock(i_locked=None)¶Note
i_locked (bool) –
None
set_only_current_operated_solid_set_in_geometry_lock(i_locked=None)¶Note
i_locked (bool) –
None
set_only_current_solid_set_in_geometry_lock(i_locked=None)¶Note
i_locked (bool) –
None
set_parameters_node_in_tree_lock(i_locked=None)¶Note
i_locked (bool) –
None
set_publish_topological_elements_lock(i_locked=None)¶Note
i_locked (bool) –
None
set_relations_node_in_tree_lock(i_locked=None)¶Note
i_locked (bool) –
None
set_replace_only_after_current_lock(i_locked=None)¶Note
i_locked (bool) –
None
set_surface_elements_location_lock(i_locked=None)¶Note
i_locked (bool) –
None
set_update_elements_refreshed_lock(i_locked=None)¶Note
i_locked (bool) –
None
set_update_linked_external_references_lock(i_locked=None)¶Note
i_locked (bool) –
None
set_update_mode_lock(i_locked=None)¶Note
i_locked (bool) –
None
set_update_stopped_on_error_lock(i_locked=None)¶Note
i_locked (bool) –
None
surface_elements_location¶Note
enum cat_part_surface_elements_location
true_color_mode¶Note
bool
update_elements_refreshed¶Note
bool
update_linked_external_references¶Note
bool
update_mode¶Note
enum cat_part_update_mode
update_stopped_on_error¶Note
bool
Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-06-11 12:40:47.360445
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.
pycatia.mec_mod_interfaces.planar_face.PlanarFace(com_object)¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectInfInterfaces.ReferenceMecModInterfaces.BoundaryMecModInterfaces.FacePlanarFace2-D boundary with a planar geometry.Role: This Boundary object may be, for example, the face of acube.You will create a PlanarFace object using the Shapes.GetBoundary ,HybridShapes.GetBoundary , Sketches.GetBoundary or Selection.SelectElement2method. Then, you pass it to the operator (such as ShapeFactory.AddNewDraft).The lifetime of a PlanarFace object is limited, see Boundary.Example:This example asks the end user to select a face and two planar faces, andcreates a draft on these faces:Dim InputObjectType(0)Set Document = CATIA.ActiveDocumentSet Selection = Document.Selection‘We propose to the user that he select the face to draftInputObjectType(0)=”Face”Status=Selection.SelectElement2(InputObjectType,”Select the face todraft”,true)if (Status = “cancel”) then Exit SubSet FaceToDraft = Selection.Item(1).ValueSelection.Clear‘We propose to the user that he select the neutral faceInputObjectType(0)=”PlanarFace”Status=Selection.SelectElement2(InputObjectType,”Select the neutralface”,true)if (Status = “cancel”) then Exit SubSet NeutralFace = Selection.Item(1).ValueSelection.Clear‘We propose to the user that he select the partingelementInputObjectType(0)=”PlanarFace”Status=Selection.SelectElement2(InputObjectType,”Select the partingelement”,true)if (Status = “cancel”) then Exit SubSet PartingElement = Selection.Item(1).ValueSet Draft = ShapeFactory.AddNewDraft(FaceToDraft,NeutralFace,0,PartingElement,0.0,0.0,1.0,0,5.0,0)Set DraftDomains = Draft.DraftDomainsSet DraftDomain = DraftDomains.Item(1)DraftDomain.SetPullingDirection 0.0, 0.0,1.0Document.Part.Update
get_first_axis(o_first_axis=None)¶Note
o_first_axis (tuple) –
None
get_origin(o_origin=None)¶Note
o_origin (tuple) –
None
get_second_axis(o_second_axis=None)¶Note
o_second_axis (tuple) –
None
Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-06-11 12:40:47.360445
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.
pycatia.mec_mod_interfaces.rectilinear_bi_dim_feat_edge.RectilinearBiDimFeatEdge(com_object)¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectInfInterfaces.ReferenceMecModInterfaces.BoundaryMecModInterfaces.EdgeMecModInterfaces.BiDimFeatEdgeRectilinearBiDimFeatEdge1-D boundary belonging to a feature whose topological result is twodimensional, the boundary having a rectilinear geometry.Role: This Boundary object may be, for example, the edge of a surface obtainedthrough the extrusion of a line.You will create a RectilinearBiDimFeatEdge object using the Shapes.GetBoundary, HybridShapes.GetBoundary , Sketches.GetBoundary or Selection.SelectElement2method. Then, you pass it to the operator (such as Hole.SetDirection).The lifetime of a RectilinearBiDimFeatEdge object is limited, seeBoundary.Example: see the RectilinearTriDimFeatEdge example
get_direction(o_direction=None)¶Note
o_direction (tuple) –
None
get_origin(o_origin=None)¶Note
o_origin (tuple) –
None
Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-06-11 12:40:47.360445
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.
pycatia.mec_mod_interfaces.rectilinear_mono_dim_feat_edge.RectilinearMonoDimFeatEdge(com_object)¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectInfInterfaces.ReferenceMecModInterfaces.BoundaryMecModInterfaces.EdgeMecModInterfaces.MonoDimFeatEdgeRectilinearMonoDimFeatEdge1-D boundary belonging to a feature whose topological result is onedimensional, the boundary having a rectilinear geometry.Role: This Boundary object may be, for example, in a part containing a Sketchwhich is made up of a line segment and a spline, the linesegment.You will create a RectilinearMonoDimFeatEdge object using theShapes.GetBoundary , HybridShapes.GetBoundary , Sketches.GetBoundary orSelection.SelectElement2 method. Then, you pass it to the operator (such asHole.SetDirection ).The lifetime of a RectilinearMonoDimFeatEdge object is limited, seeBoundary.Example: see the RectilinearTriDimFeatEdge example
get_direction(o_direction=None)¶Note
o_direction (tuple) –
None
get_origin(o_origin=None)¶Note
o_origin (tuple) –
None
Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-06-11 12:40:47.360445
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.
pycatia.mec_mod_interfaces.rectilinear_tri_dim_feat_edge.RectilinearTriDimFeatEdge(com_object)¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectInfInterfaces.ReferenceMecModInterfaces.BoundaryMecModInterfaces.EdgeMecModInterfaces.TriDimFeatEdgeRectilinearTriDimFeatEdge1-D boundary belonging to a feature whose topological result is threedimensional, the boundary having a rectilinear geometry.Role: This Boundary object may be, for example, the edge of a Pad resultingfrom the extrusion of a square.You will create a RectilinearTriDimFeatEdge object using the Shapes.GetBoundary, HybridShapes.GetBoundary , Sketches.GetBoundary or Selection.SelectElement2method. Then, you pass it to the operator (such as Hole.SetDirection).The lifetime of a RectilinearTriDimFeatEdge object is limited, seeBoundary.Example:This example asks the end user to select a face, a rectilinear edge, andcreates a hole. The rectilinear edge specifies the hole direction. It may be aRectilinearTriDimFeatEdge, a RectilinearBiDimFeatEdge or aRectilinearMonoDimFeatEdge.Dim EnabledObjectSelection1(0)Dim EnabledObjectSelection2(2)Set Document = CATIA.ActiveDocumentSet Selection = Document.Selection‘We propose to the user that he select a faceEnabledObjectSelection1(0)=”Face”Status=Selection.SelectElement2(EnabledObjectSelection1,”Select aface”,true)if (Status = “cancel”) then Exit SubSet Face = Selection.Item(1).ValueSelection.Clear‘We propose to the user that he select the hole directionEnabledObjectSelection2(0)=”RectilinearTriDimFeatEdge”EnabledObjectSelection2(1)=”RectilinearBiDimFeatEdge”EnabledObjectSelection2(2)=”RectilinearMonoDimFeatEdge”Status=Selection.SelectElement2(EnabledObjectSelection2,”Select the holedirection”,true)if (Status = “cancel”) then Exit SubSet Hole = ShapeFactory.AddNewHoleFromPoint(20.0,-5.5, 1.07,Face,10.0)Hole.ThreadingMode = 1Hole.ThreadSide = 0Hole.SetDirection Selection.Item(1).ValueDocument.Part.Update
get_direction(o_direction=None)¶Note
o_direction (tuple) –
None
get_origin(o_origin=None)¶Note
o_origin (tuple) –
None
Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-06-11 12:40:47.360445
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.
pycatia.mec_mod_interfaces.shape.Shape(com_object)¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectShapeRepresents the Shape object.It is an abstract object which is not intended to be created as such, fromwhich all objects having a shape representation derive.See also:SketchBasedShape, BooleanShape, DressUpShape, TransformationShapeCopyright © 1999-2011, Dassault Systèmes. All rights reserved.
Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-06-11 12:40:47.360445
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.
pycatia.mec_mod_interfaces.shape_instance.ShapeInstance(com_object)¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectMecModInterfaces.ShapeShapeInstanceThe interface to access a CATIAShapeInstance.
get_input(i_name=None)¶Note
i_name (str) –
AnyObject
get_input_data(i_name=None)¶Note
i_name (str) –
AnyObject
get_input_data_from_position(i_position=None)¶Note
i_position (int) –
AnyObject
get_input_from_position(i_position=None)¶Note
i_position (int) –
AnyObject
get_output(i_name=None)¶Note
i_name (str) –
AnyObject
get_output_from_position(i_position=None)¶Note
i_position (int) –
AnyObject
get_parameter(i_name=None)¶Note
i_name (str) –
AnyObject
get_parameter_from_position(i_position=None)¶Note
i_position (int) –
AnyObject
inputs_count¶Note
int
outputs_count¶Note
int
parameters_count¶Note
int
put_input(i_name=None, i_input=None)¶Note
i_name (str) –
i_input (AnyObject) –
None
put_input_data(i_name=None, i_input=None)¶Note
i_name (str) –
i_input (AnyObject) –
None
Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-06-11 12:40:47.360445
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.
pycatia.mec_mod_interfaces.shapes.Shapes(com_object)¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.CollectionShapesThe collection of the shapes making up a body.
get_boundary(i_label=None)¶Note
i_label (str) –
Boundary
item(i_index)¶Note
i_index (CATVariant) –
Shape
Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-06-11 12:40:47.360445
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.
pycatia.mec_mod_interfaces.sketches.Sketches(com_object)¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.CollectionSketchesThe body’s collection of sketches not yet used by any shape.
add(i_plane=None)¶Note
i_plane (Reference) –
Sketch
get_boundary(i_label)¶Note
i_label (str) –
Boundary
item(i_index)¶Note
i_index (CATVariant) –
Sketch
Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-06-11 12:40:47.360445
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.
pycatia.mec_mod_interfaces.solid.Solid(com_object)¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectMecModInterfaces.ShapeSolidRepresents an imported solid object.Role: the imported solid is a solid obtained from copy/paste with link ordesign in context.The solid object has a link to a source element obtained from SourceElement anda source product obtained from SourceProduct .
move¶Note
Move
source_element¶Note
AnyObject
source_product¶Note
AnyObject
Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-06-11 12:40:47.360445
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.
pycatia.mec_mod_interfaces.tri_dim_feat_edge.TriDimFeatEdge(com_object)¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectInfInterfaces.ReferenceMecModInterfaces.BoundaryMecModInterfaces.EdgeTriDimFeatEdge1-D boundary belonging to a feature whose topological result is threedimensional.Role: This Boundary object may be, for example, the edge of aPad.You will create a TriDimFeatEdge object using the Shapes.GetBoundary ,HybridShapes.GetBoundary , Sketches.GetBoundary or Selection.SelectElement2method. Then, you pass it to the operator (such asShapeFactory.AddNewEdgeFilletWithConstantRadius ).The lifetime of a TriDimFeatEdge object is limited, seeBoundary.Example:This example asks the end user to select an edge, and creates an edgefillet on this edge:Dim InputObjectType(0)Set Document = CATIA.ActiveDocumentSet Selection = Document.Selection‘We propose to the user that he select an edgeInputObjectType(0)=”TriDimFeatEdge”Status=Selection.SelectElement2(InputObjectType,”Select anedge”,true)if (Status = “cancel”) then Exit SubSet EdgeFillet = ShapeFactory.AddNewEdgeFilletWithConstantRadius(Selection.Item(1).Value,1,5.0)EdgeFillet.EdgePropagation = 1Document.Part.UpdateCopyright © 1999-2011, Dassault Systèmes. All rights reserved.
Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-06-11 12:40:47.360445
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.
pycatia.mec_mod_interfaces.tri_dim_feat_vertex_or_bi_dim_feat_vertex.TriDimFeatVertexOrBiDimFeatVertex(com_object)¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectInfInterfaces.ReferenceMecModInterfaces.BoundaryMecModInterfaces.VertexTriDimFeatVertexOrBiDimFeatVertex0-D boundary belonging to a feature whose topological result is threedimensional or two dimentional.Role: This Boundary object may be, for example, the corner of a Pad resultingfrom the extrusion of a square.You will create a TriDimFeatVertexOrBiDimFeatVertex object using theShapes.GetBoundary , HybridShapes.GetBoundary , Sketches.GetBoundary orSelection.SelectElement2 method. Then, you pass it to theoperator.The lifetime of a TriDimFeatVertexOrBiDimFeatVertex object is limited, seeBoundary.Copyright © 1999-2011, Dassault Systèmes. All rights reserved.
Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-06-11 12:40:47.360445
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.
pycatia.mec_mod_interfaces.vertex.Vertex(com_object)¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectInfInterfaces.ReferenceMecModInterfaces.BoundaryVertex0-D boundary.Role: This Boundary object may be, for example, the corner of a Pad resultingfrom the extrusion of a square.You will create an Vertex object using the Shapes.GetBoundary ,HybridShapes.GetBoundary , Sketches.GetBoundary or Selection.SelectElement2method. Then, you pass it to the operator (such asHybridShapeFactory.AddNewLinePtPt ).The lifetime of a Vertex object is limited, see Boundary.See also:TriDimFeatVertexOrBiDimFeatVertex , NotWireBoundaryMonoDimFeatVertex ,ZeroDimFeatVertexOrWireBoundaryMonoDimFeatVertex .Example:This example asks the end user to select successively two vertices. Then,it creates a line between these two vertices.Dim InputObjectType(0)Set Document = CATIA.ActiveDocumentSet Selection = Document.SelectionSet HybridBodies = Document.Part.HybridBodiesSet HybridBody = HybridBodies.Item(“Geometrical Set.1”)‘We propose to the user that he select the first vertexInputObjectType(0)=”Vertex”Status=Selection.SelectElement2(InputObjectType,”Select the firstvertex”,true)if (Status = “cancel”) then Exit SubSet FirstVertex = Selection.Item(1).ValueSelection.Clear‘We propose to the user that he select the second vertexInputObjectType(0)=”Vertex”Status=Selection.SelectElement2(InputObjectType,”Select the secondvertex”,true)if (Status = “cancel”) then Exit SubSet SecondVertex = Selection.Item(1).ValueSet hybridShapeLinePtPt = HybridShapeFactory.AddNewLinePtPt(FirstVertex,SecondVertex)HybridBody.AppendHybridShape hybridShapeLinePtPtDocument.Part.InWorkObject = hybridShapeLinePtPtDocument.Part.UpdateCopyright © 1999-2011, Dassault Systèmes. All rights reserved.
Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-06-11 12:40:47.360445
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.
pycatia.mec_mod_interfaces.zero_dim_feat_vertex_or_wire_boundary_mono_dim_feat_vertex.ZeroDimFeatVertexOrWireBoundaryMonoDimFeatVertex(com_object)¶Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectInfInterfaces.ReferenceMecModInterfaces.BoundaryMecModInterfaces.VertexZeroDimFeatVertexOrWireBoundaryMonoDimFeatVertex0-D boundary being either an isolated point or the extremity of a featurewhose topological result is one dimensional.Role: This Boundary object may be, for example, the extremity of a linesegment.You will create a ZeroDimFeatVertexOrWireBoundaryMonoDimFeatVertex object usingthe Shapes.GetBoundary , HybridShapes.GetBoundary , Sketches.GetBoundary orSelection.SelectElement2 method. Then, you pass it to theoperator.The lifetime of a ZeroDimFeatVertexOrWireBoundaryMonoDimFeatVertex object islimited, see Boundary.Copyright © 1999-2011, Dassault Systèmes. All rights reserved.