Examples

Simple examples that help you get started using pycatia3dx.

Index

3DPART EXAMPLES

3DSHAPE EXAMPLES

DRAFTING EXAMPLES

HYBRID BODY EXAMPLES

HYBRID SHAPE FACTORY EXAMPLES

HYBRID SHAPE FACTORY / SHAPE FACTORY EXAMPLES

INERTIA EXAMPLES

SEARCH SERVICE EXAMPLES

3DPART EXAMPLES

3DPart - Example 1

Create a new hybrid body in the currently opened 3DPart.

3DPart - 001

3DSHAPE EXAMPLES

3DShape - Example 1

Create a new 3DShape.

3DShape - 001

DRAFTING EXAMPLES

DRAFTING - Example 1

Create a border template in the background view of the currently opened A0 landscape CATDrawing.

Drafting - 001

DRAFTING - Example 2

Drafting: Creates a Drawing with a generative Front View from the selected VPMOccurance.

Drafting - 002

DRAFTING - Example 3

Creating a dimension in the active view.

Drafting - 003

HYBRID BODY EXAMPLES

Hybrid Body - Example 1

Create an intersection between two HybridBody.

Hybrid Body - 001

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 - 001

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 - 002

Hybrid Shape Factory - Example 3

Creates a new 3DShape, creates two points and draws a line between them.

Hybrid Shape Factory - 003

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 - 004

Hybrid Shape Factory - Example 5

Split a surface using a plane.

Hybrid Shape Factory - 005

HYBRID SHAPE FACTORY / SHAPE FACTORY EXAMPLES

Hybrid Shape Factory / Shape Factory - Example 1

Creates 3D Points, Spline, Extrusion and Generate Thickness.

Hybrid Shape Factory / Shape Factory - 001

INERTIA EXAMPLES

Inertia - Example 1

Catia must be running with a 3DShape open that contains a solid object within the MainBody (PartBody).

Inertia - 001

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.

Search Service - 001