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

Register by October 10 and Save $100


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: KWA and Sheetmetal

You are not authorized to post a reply.   
Author Messages
COE-FORUM-USER

02 May 2006 01:09 AM
Hi All

I wonder if somebody come across similar problem
I Build a rule in Knowledge Adviser to Activate and
Deactivate Pockets from a Pad

I change that rule so it will do the some operation with
Cut out in sheetmetal parts

I have following problem
Rule will deactivate sketch of this particular cut out
But not the Cut Out .
Instead I have strange errors

Can you help me to find a solution

Thanks

My Rule

/*Rule created by Les */

if (VV == "right")
{
`PartBody\Cut Out.13\Activity` = true
Message("Light are on")
}
else
{
`PartBody\Cut Out.13\Activity` =false
}


----------------
Catia V5 r14 sp6

Best Regards,
BPRASAD


02 May 2006 09:25 AM
Hi Les:
Here are some tips. Occasionally, the feature of the part you are trying to deactivate are required for building the part. As a result, you may be getting errors since the two features are dependent on each other. If one vanishes the others cannot co-exist.

1. I have avoided the dependentcy, by creating a sketch on a separate datum plane at the same location as the original face -- rather than using the "face of the solid-feature (say Pad) or similar intrinsic faces" to create the pocket.

2. You may first want to try doing it (activate/deactivate) interactively. Can you activate and deactivate the features without any hick-ups OK? If you could do it interactively, you should be eable to do it also via KWA rule as well.

Brian Prasad
COE-DPC/KBE Chairperson
COE-FORUM-USER

03 May 2006 12:40 AM
Hi Brian,

This is the error message :
Build of Cut Out Left.1 failed.
An unexpected error occurred during the build.
--------------------------------------
Thank for the tip
I have done this before, sketched on planes not on the faces.

I delete this cut out and create new one with the some name
I’m not able to explain why ,but all is back to normal.

Brain I hope I can ask for advice

I’m trying to write a rule in KWA
To put limits on a parameter
Standard Value of Parameter Length.1 =500mm
Limits are min 450mm max 550mm

What I need is a Rule
If Length.1 > 550mm
And Length.1 < 450mm
Then Length.1 = 500mm

I’m having problem to achieve that in KWA rule
Can you suggest something


Thanks,
Regards,
CLIFFJOHNSON


03 May 2006 10:30 AM
You can't do that in a Rule. CATIA considers it a "loop".

Of course you know you can simply define a range on the parameter iteself:
1. Double-click parameter
2. Right click on value
3. Select "Add Range..."

If you want to do what you are proposing using KWA tools you can use a Reaction to do it.

1. Make the reaction fire on Value-Changed for your parameter
2. Use syntax like this: if Length.1 > 10mm or Length.1 < 0mm { Length.1 = 5mm }

HTH,
Cliff
COE-FORUM-USER

03 May 2006 09:10 PM
Thanks Cliff,

This is excellent.

In the meantime
I have tried KWE for few minutes
But looks like the variable you need to declare
Is for all Hole or Pads……

We received KWE Lic recently.
Would it that be easier to do that in KWE ?

Thanks for your Help

Best Regards,

You are not authorized to post a reply.
Forums > COE Forums > KBE > KWA and Sheetmetal



ActiveForums 3.6

    

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