Examples¶
Simple examples that help you get started using pycatia3dx.
Index¶
3DPART EXAMPLES¶
3DPart - Example 1¶
Create a new hybrid body in the currently opened 3DPart.
3DSHAPE EXAMPLES¶
3DShape - Example 1¶
Create a new 3DShape.
DRAFTING EXAMPLES¶
DRAFTING - Example 1¶
Create a border template in the background view of the currently opened A0 landscape CATDrawing.
DRAFTING - Example 2¶
Drafting: Creates a Drawing with a generative Front View from the selected VPMOccurance.
DRAFTING - Example 3¶
Creating a dimension in the active view.
HYBRID BODY EXAMPLES¶
Hybrid Body - Example 1¶
Create an intersection between two HybridBody.
HYBRID SHAPE FACTORY EXAMPLES¶
Hybrid Shape Factory - Example 1¶
Sequentially rename all points in geometric set (Hybrid Body) Points in the geometric set MasterGeometry.
Hybrid Shape Factory - Example 2¶
Creates a new 3DShape and reads a csv file containing point data and adds to the new 3DShape.
Hybrid Shape Factory - Example 3¶
Creates a new 3DShape, creates two points and draws a line between them.
Hybrid Shape Factory - Example 4¶
Loops through the items in hybrid body “ConstructionGeometry” and determine the object type using selection. Once determined create an object from it and find its parent(s).
Hybrid Shape Factory - Example 5¶
Split a surface using a plane.
HYBRID SHAPE FACTORY / SHAPE FACTORY EXAMPLES¶
Hybrid Shape Factory / Shape Factory - Example 1¶
Creates 3D Points, Spline, Extrusion and Generate Thickness.
INERTIA EXAMPLES¶
Inertia - Example 1¶
Catia must be running with a 3DShape open that contains a solid object within the MainBody (PartBody).
SEARCH SERVICE EXAMPLES¶
Search Service - Example 1¶
A wild card search for all products with a name starting with “Test”. The first item found is then opened.