Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need a script changes body size & constraint

Status
Not open for further replies.

AkramAero

Aerospace
Apr 21, 2016
11
QA
Hi every one,
Can anyone help please,
I have a body (3 parts) and I want to write a script
which can change part sizes and constraint (angles between parts).
Thank u
 
Replies continue below

Recommended for you

what is the goal? to make changes in hundreds of files? day by day use? for a single part you can do it more quicker without scripting.
 
Thank you for your replies.
I am not an expert in CATIA scripting. I just wanted to design a C-Wing same as the image, then, via a user interface,
I can handle the whole wing by changing spans, sweeps, aspect ratios, angles..
 
 http://files.engineering.com/getfile.aspx?folder=2a4048b7-f4b8-4c57-b511-1d82b83f75f7&file=c-wing.jpg
You have to understand when scripting is required and when not. The wing can be simply controlled by parameters.
 
Thank you JeniaL,
I know it's possible to change the parameters.
But, as I have to conduct tests on many configurations, I think that a macro where
you can change your parameters, will be much better than changing it (parameters) directly .


 
Ferdo is right. VB/forms is the way to go. Post at least part of a script.
 
Jenial had a good point and in your case I would go for design table for the following reasons:

That would be easy to setup (much easier than a script)
easy to switch from one config to another
easy to create new config


check online doc about design table

Eric N.
indocti discant et ament meminisse periti
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Top