| Print the Volume of a body from CATIA V5 |
|
|
try: import win32com.client except: print "Ooops Pywin32 needed !" app=win32com.client.Dispatch('CATIA.Application') doc=app.ActiveDocument.Product a=doc.Analyze.Volume print "The Volume is: ", a |
|
| Last Updated ( Friday, 20 March 2009 ) |
| < Prev | Next > |
|---|
Hint: For syntax highlighting and correct Python intendation place your code between html tags <pre> and </pre>.