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!

use a rule to change standard element to construction element.

Status
Not open for further replies.

sleske

Mechanical
Jul 18, 2006
53
Hey All,

I've been messing with rules and formulas and was wondering if there is a way to change an element from standard to construction and vice versa using an IfThen statement.
Basically i want to have these points, in a sketch, that i can switch back and forth depending if I need them to show in 3D. (We will, at times, call out the XYZ of these points when drafting them.)
I can find out which points they are in the sketch and all that, but can not seem to find the variable to change to switch it, or if there is one.

Thanks,

SEan
 
Replies continue below

Recommended for you

I think the only way is to use a selection, select all points you want to switch and then with CATIA.StartCommand("Construction/Standard Element") change them to construction elements. This should be easily achieved by VBA or VBScript.

Tesak
- Play Tetris in CATIA V5 drawing
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor