Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TugboatEng 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
Joined
Jul 18, 2006
Messages
53
Location
US
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
 
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

Back
Top