Left Sidebar
Right Sidebar
09/08/17: CATIA Portable Script Center
Attached there is a chm file with few code samples. Hope it will be helpful for those who wants to see and learn something about CATIA programming. Enjoy.
Category: Developer's corner
Posted by: ferdo
Running this macro will clean up all Part Bodies in the current model. This is a VBA format, but could possibly be rewritten as a CATScript. Error handling has been kept to a minimum, but can be added as required by the user. There is no user selection required.
07/07/19: Law and Sweep: Flexible Corrugated Hose
I've put this together in response to a recent request for information on modelling a flexible hose (pictured in ENG-TIPS Thread 560-176891), so here's a step-by-step guide to the the method I used, but while I'm at it I'll elaborate a little.
There's no shortage of pictures so most of them appear as thumbnails, C L I C K on these to open them up in another window.
There's no shortage of pictures so most of them appear as thumbnails, C L I C K on these to open them up in another window.
Category: Member articles
Posted by: Kapitan
07/03/14: Parameters&DT_with_macro
Hi,
This is a small tutorial showing how to work with Design Tables and create parameter.
All necessary file are here
Regards
Fernando
This is a small tutorial showing how to work with Design Tables and create parameter.
All necessary file are here
Regards
Fernando
06/10/29: 3D TEXT (works in UNIX and Windows)
-open a new CATDrawing document
-write with text command what ever you want
-modify text properties if necessary (bold, font, size, a.s.o.)
-run the CATScript TXT2SKETCH .
-this CATSCript will open also one of the DS CATScripts which you can...
-write with text command what ever you want
-modify text properties if necessary (bold, font, size, a.s.o.)
-run the CATScript TXT2SKETCH .
-this CATSCript will open also one of the DS CATScripts which you can...
06/10/18: Modifying view scale (UNIX)
A CATScript which will modify views scale. The macro will skip the views which are not created and will do the job in the order specified in the message box.
Sub CATMain()
MsgBox "First 2 inputs are for Main View Scale and Background View Scale: Even if you will modify these 2 scales, you will not notice any modifications, that's why implicit value is 1. 1st value is for Main, 2nd for Background, 3rd for Front, 4th for Top, 5th for Up, 6th for Left, 7th for Right, 8th for ISO. Use only double value, do NOT use 1:2 or 1/2 (for example)"
Sub CATMain()
MsgBox "First 2 inputs are for Main View Scale and Background View Scale: Even if you will modify these 2 scales, you will not notice any modifications, that's why implicit value is 1. 1st value is for Main, 2nd for Background, 3rd for Front, 4th for Top, 5th for Up, 6th for Left, 7th for Right, 8th for ISO. Use only double value, do NOT use 1:2 or 1/2 (for example)"
06/10/18: Shell vs thicken
Here is a link which gives the difference b/w shell and thicken surface.
The Engineer has explained it beautifully
http://www.coe.org/client_files/events/Shell_vs_Thicken.ppt.
The Engineer has explained it beautifully
http://www.coe.org/client_files/events/Shell_vs_Thicken.ppt.
06/07/31: CATPart to STP (UNIX)
06/07/31: CATPart to STP (Windows)
Category: Developer's corner
Posted by: ferdo
06/07/08: Change line type and width
06/07/03: Driving a manikin with DMU Kinematics
I made an kinematic assembly containing one manikin assembly with one manikin and a part used for revolute reference and an other assembly containg a hub part and two fotstep parts.
This is a script that creates an associative bounding box to a solid or joined surface. It adds 1mm wall stock and uses an axis system for orientation.
Download BoundingBox.CATScript
Download BoundingBox.CATScript
A small tutorial which is trying to explain few things for Drafting workbench. The tutorial can be downloaded from here.
Regards
Fernando
Regards
Fernando
06/05/11: Parameters and Formulas Tutorial
This tutorial will guide a user through the process of defining parameters, and using them for part modification, and formula input. It inlcudes a step-by-step approach to designing a part with parameter and formula relations, beginning at the planning stage.
Category: Tips and Tricks
Posted by: solid7
These "Instantiate from Document" powercopies are for the AS5202 (MS33649) series Internal Straight Thread o-ring ports (Sizes -02 thru -10).
Thanks to Ferdo for this contribution - a zip file which includes all the files necessary to create pipes or
isolations for pipes with Part Design instead of another workbench.
The complete explanation can be found in...
isolations for pipes with Part Design instead of another workbench.
The complete explanation can be found in...
Category: Tips and Tricks
Posted by: solid7
Here are a UNC and UNF thread definitions. Thanks to Derek (DeBezaire) from the Eng-Tips Catia forum for providing these.
Hi,
A small macro which can open an excel file containing hyperlinks to the pdf files with the on-line help for...
A small macro which can open an excel file containing hyperlinks to the pdf files with the on-line help for...
Category: Developer's corner
Posted by: ferdo
For some time now, unbeknownst to me, there has been a problem with new members posting after registration.
If you are...
If you are...
Category: Announcements
Posted by: solid7
06/01/26: Script to hide planes
This script will search for all visible planes and set them to hide. Note that the search string can be...
Category: Developer's corner
Posted by: Azrael
05/11/11: Just a link
05/07/21: Clash Analyze
Here is a script which can obtain a clash analyze for a whole product. The result will be listed in an xml file (see line "c:\Temp\sample.xml") but without pictures.
Category: Developer's corner
Posted by: ferdo
05/07/21: Save as PDF
The advantage of the following macro is that you can work in batch mode. (maybe you have to save hundreds drawings as .pdf)
Category: Developer's corner
Posted by: ferdo
05/06/28: Suggestions for the developer's corner
It was recently suggested on another forum that the world needs more good CATScripts.
Category: Developer's corner
Posted by: solid7
05/06/26: Testing new look and layout
I am currently exploring a new look.
The test layout is located at: http://2htts.com/new/index4.php
If anyone would like to check it out, and give me feedback, you can comment here, or you can send me an email response, by visiting the "contact the CATBlog admin" link on the main page.
Thanks for your feedback. Hope to have a new look soon!
The test layout is located at: http://2htts.com/new/index4.php
If anyone would like to check it out, and give me feedback, you can comment here, or you can send me an email response, by visiting the "contact the CATBlog admin" link on the main page.
Thanks for your feedback. Hope to have a new look soon!
Category: Announcements
Posted by: solid7
05/06/23: Please report problems
If you are currently experiencing difficulty logging on or posting new items, please contact the CATBlog administrator immediately.
We have had one complaint, and know there may be more.
We kindly ask for your patience as we work to perfect the system, and "get the bugs out." It is our hope that the minor annoying problems will soon be done, and we can move on to bigger issues.
Thanks again.
CATBlog admin
We have had one complaint, and know there may be more.
We kindly ask for your patience as we work to perfect the system, and "get the bugs out." It is our hope that the minor annoying problems will soon be done, and we can move on to bigger issues.
Thanks again.
CATBlog admin
Category: Announcements
Posted by: solid7
05/06/23: Multiple lines normal to surface script
I'm not sure if this script exists in the help docs. At the time we developed this, we could not find it. Forgive us if this is duplicate.
Category: Developer's corner
Posted by: solid7
05/06/22: No document at startup
To open Catia without opening a new document at startup, you need to set an environment variable in Windows XP. As a default, Catia will start each new session with a CATProduct file. Following this procedure will allow the user to turn the default document option off, and eliminate the need to close the file, and open (or start) a different file.
Category: User preferences
Posted by: solid7
05/06/20: New content coming
I am writing to inform everyone that I am currently working on some new content to publish. In the meantime, I'm hoping to get some more of you signed on, and ready to blaze!
The mail form is now fixed, in case anyone noticed that it was broken.
The mail form is now fixed, in case anyone noticed that it was broken.
05/06/16: CATBlog is born!
Welcome to the CATBlog - an open forum for Catia V5 users.
Category: Announcements
Posted by: solid7