Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

deactivate 3D Tag through KWA rule

Status
Not open for further replies.

LWolf

Automotive
Mar 20, 2007
502
0
16
SE
Hi all;
from F1 CATIA documentation:
"A 3D tag is a geometrical feature with all feature capabilities and is used to display text in the geometry.
3D tag is a geometrical feature with all feature capabilities such as activate, deactivate, delete, reorder, isolate, undo, redo etc."
However, when I explore the tag in a rule language browser, it tells me it is of a Feature Type, not GeometricFeature Type, i.e it has no activate/deactivate property...
Right click - deactivate works of course, but how'd I do it within a KWA rule?...

regards,
LWolf
 
Replies continue below

Recommended for you

I don't have the KWA license but I was able to link its activity to a boolean parameter. Maybe that works for your needs?

2020-09-02_12_58_29-ptcdtoff0147_-_Remote_Desktop_Connection_rzvkog.png
 
well, what I am actually trying to do is to activate/deactivate a whole geo-set...

let L(List)
let myGeoSetSINGLE(OpenBodyFeature)
let myGeoSetDUAL(OpenBodyFeature)
let myItem(GeometricFeature)
let I(Integer)

set myGeoSetSINGLE=SINGLE
set myGeoSetDUAL=DUAL
if TYPE =="SINGLE"
{
L=myGeoSetSINGLE.Children

For myItem inside L
{
myItem.Activity =True​
}
L=myGeoSetDUAL.Children
For myItem inside L
{
myItem.Activity =False​
}
}
it works well if all my shapes are of type geometricfeature, but unfortunately 3Dtag is of type feature...
despite what it says in the documentation!

regards,
LWolf
 
Status
Not open for further replies.
Back
Top