473,403 Members | 2,323 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,403 software developers and data experts.

CATIA V5-API and Python programming language

Hi all,

I have a question on how to Create a graphical user interface with Python programming language and integrate it with CATIA V5-API ?( I am working in the Field of Mechanical engineering ,FE-meshes for solids).

I am a begginer in python programming language and I hope somebody knows how to connect it with Catia ?

Sorry for not including a code because I am confused how to start !
May 12 '11 #1
2 8207
bvdet
2,851 Expert Mod 2GB
SDS/2 has a Python interpreter built-in and can interact in the 3D environment. Does Catia have such a facility? The only way I know of is with win32com. Another example can be found here.
May 13 '11 #2
Thank you Very Much bvdet

One of my friend told me , that we can connect python with Catia Via Pywin. and First of all before sketching the part (lets say cylinder) in Catia V5, we should start recording The Macro of the drawing, after finishing the sketching we can get the recorded Macro of the steps we have done to draw the cylinder . Then we use this Macro and program it in Python and then connect it with Catia V5.
actually i want to implement these steps by linking python with Catia

1.Create a graphical user interface with Python programming language. Using this interface, the user should be able to input the dimensions of the solid body (A shaft with a bore in it).

2.Afterwards, the program must create the geometry automatically.

3.This solid body will be analysed in the FEM module in the next step. The program must use tetrahedral elements (linear and parabolic) to mesh this solid.

4.Afterwards, the program should apply restraints to one surface and add a static load to calculate stresses and deformations.

5.The stress and the deformation field must be written out from the program to a file. Afterwards, the program must analyse these data to find the maximum and minimum values
May 13 '11 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: goermezer | last post by:
Hello, I got it ! There was an example (for Office I think) in the test-directory of Pywin32, where I have the first lines from. But this is dynamic binding. Can anybody explain this for early...
0
by: Zorba.GR | last post by:
QUARK XPRESS V6.1 - V5.0, Extensions, Addons, PDF Converters, 2004 - 2002, other Total Training Quark Xpress To InDesign Making The Switch CD NR 16 007 Quark Xpress v6.1 Passport...
4
by: Arne Dörnenburg | last post by:
Hello everybody, we got new servers with AIX V5.2 and, as i was told, for the combination DB2 V7.2 and AIX V5.2 a) the "old" Java versions like 1.1.8 cannot be installed anymore b) the "new"...
3
by: Analyst | last post by:
Is it possible to install DB2 CAE v5.2 using a response file ? From one of IBMs tech article, I found that the IBM DB2 Universal DB can be installed using a response file. My objective it to...
3
by: rafeekb | last post by:
Importing V8.2 IXF files into V5.2 Hi All, As a regression step, I want to import the data (exported from the v8.2 client IXF format) into the v5.2 format. The source database server is on a...
3
by: Massimiliano Campagnoli | last post by:
I need to consider all the options available to access an old DB2 V5.2 database located on an OS/2 WarpServer machine from a Linux box. The OS/2 machine cannot be upgraded to higher version of DB2....
2
by: Michele Zambai | last post by:
I must migrate db2 from version 5 to the 8.1 What is the best solution? Thanks Michele
1
by: aPRSComp | last post by:
MySQL v5.0.3 -- does this perhaps indicate v5.0.30 ? Or is it kind of like v5.0.03 ? There is MySQL v5.0.15. Can one safely assume that v5.0.15 is newer than v5.0.3 ?
0
by: hugoboss | last post by:
Hi folks, Well i've got php v5.2.1 installed, also MySQL v5.0.37 running perfectly on Vista using IIS 7, however when i unzip phpmyadmin to wwwroot and in my browser type in...
2
by: admv4 | last post by:
I want to know if it is possible to make a Windows file system or drive accessable to be written to and read from in Catia? I am running Catia V4.2 operating on AIX V5.3. I think that Microsoft has a...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.