473,657 Members | 2,609 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

CATIA V5-API and Python programming language

2 New Member
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 8277
bvdet
2,851 Recognized Expert Moderator Specialist
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
Ali seaman
2 New Member
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
605
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 binding ? And it would be fine when the pulldown-menu in Pythonwin works to see the exposed Methods of the Type Libraries. -----------------------------------------------------------
0
10220
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 *MULTiLANGUAGE* - Quark 15 709 Quark Xpress V6.0 Passport Multilanguage SN:TVWXNX-XCUVE2-641HQH-TWK7GH-RKGV12-E1ETPW-14X57Y-38WRH 13 013
4
1877
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" Java runtime like 1.3.0/1.3.1 are not supported (and do not run) So, it seems, that my Java-UDF's (and possibly Stored Procedures too) will not run anymore.
3
3898
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 install and uninstall DB2 CAE v5.2 without user input like navigating through the wizard. Any help, suggestion are welcome. Cheers.
3
1723
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 OS/400 v5r2 ( was not able to find out the version of DB2 on AS/400 as eveyone seems to think its the same version number as the operating system, which is v5.2). The destination database server is on an RS/6000 UNIX box which has a version of...
3
1510
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. Up to now I've found only one solution: 1) Install a V6.1 client on the Linux box and access the DB2 V5.2 on the OS/2 machine via ODBC. (V7 or V8 clients do not work because DB2 allows clients to access DB2 servers two versions up and one...
2
1449
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
1345
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
2618
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 "http://127.0.0.1/phpmyadmin/index.php" i get given an error which reads phpMyAdmin - Error Cannot load mysql extension. Please check your PHP configuration. - Documentation Files in my.ini,are uncommented "mysql.dll,mbstring.dll,mysqli.dll," everything is...
2
1402
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 program to do this but I need to know how to have the AIX system be able to see the Windows file system. Thanks in advance for any advice, it will be appreciated. admv4
0
8397
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8310
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8732
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8503
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8605
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7333
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6167
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4158
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2731
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.