Welcome to the COE Discussion Forum! 

 

To participate in the discussion forum, you must be logged in to the website.  If you forget your login information, please contact COE Headquarters at coe@coe.org or (800) 263-2255.

If you are new to the COE Discussion Forum and would like to participate, please register.

 

The COE 2008 Fall Industry Workshops

Experience two days of industry-focused education and hands-on training on the Dassault PLM solutions suite of products.  All education featured at the workshop is developed by and for users of CATIA®, ENOVIA®, DELMIA® and SIMULIA®.
 

Automotive
Oct. 15-16
Troy, Michigan

Aerospace & Defense
Oct. 27-28
Wichita, Kansas


Forum Highlight: CATIA V6

 

Get Answers to Your V6 Questions
Dassault Systèmes answers user questions about CATIA V6.  Discuss these answers and propose new questions with end users from around the world in the CATIA V6 Forum.

COE DISCUSSION FORUM
Subject: KWE Check on PartBody

You are not authorized to post a reply.   
Author Messages
t14028

27 Mar 2008 01:45 AM

Hello,

I have some questions on KWE Check in a part: How can I check that

1) there is only one body and its name is PartBody

2) body color is not red or orange

3) PartBody is in layer of 100

4) part name and file name is the same?

Thank you in advance

t14028

28 Mar 2008 12:02 PM

At least help me for writing a check to check part name=file name

Thanks a lot
CLIFFJOHNSON


28 Mar 2008 02:19 PM

Ok, I'll try; These would be 3 expert checks:

For checking part number = file name

    For each PX: PartFeature
    ReplaceSubText (PX.Owner.Name,".CATPart","" )==PX.Name

Seems to work.

t14028

31 Mar 2008 10:26 AM

Thanks a lot. It does work well.

I wrote a small check for layer;

For each b: Body
b.Layer==100

However, it wants xy, yz and zx planes just under the part number to be in layer 100. But I don't want to care in which layer they are. Is there a way to exclude them from the check?


ROARKJE

31 Mar 2008 11:17 AM

Give this a try

For each   b:Body; BF:BodyFeature

If b->IsOwnedBy(BF) == True
{
b.Layer = 100
}

BPRASAD


01 Apr 2008 01:44 PM

I tried various options. Looks like "Body" is replaced by "Plane" in the Mechanical Modeler kit. The following combinations may give you what you wish to know.

Thanks

Brian

 







Brian Prasad
COE-DPC/KBE Chairperson
You are not authorized to post a reply.
Forums > COE Forums > KBE > KWE Check on PartBody



ActiveForums 3.6

    

401 North Michigan Avenue, Chicago, IL 60611-4267 | (312) 321-5153 | (800) COE-CALL (U.S.)