Welcome to 3DCADForums

Join our CAD community forums where over 25,000 users interact to solve day to day problems and share ideas. We encourage you to visit, invite you to participate and look forward to your input and opinions. Acrobat 3D, AutoCAD, Catia, Inventor, IronCAD, Creo, Pro/ENGINEER, Solid Edge, SolidWorks, and others.

Register Log in

problem with formula

rezaafz

New member
Hi
I just made some formula for some parameters
i drawed a circle and i used constraint to set it's length. i right clicked on it and selected "edit formula"
i selected my needed parameter and clicked ok. after that i saw no change !! the length of circle doesn't change after using parameter with formula ...
Do you know what's the problem ?!
ThanksUntitleddd.jpg
 
Last edited:

MrCATIA

Super Moderator
Make sure the parameter is for the radius of the circle. CATIA doesn't use diameters for circles!
 

MrCATIA

Super Moderator
OK, I'm not exactly sure how you are applying the parameter, so here are the steps you should be doing:

1. double-click on the Radius dimension to edit the value

2. right-click in the value field and select the Edit Parameter option

3. the Formula Editor panel should appear

4. in the Members column, select Renamed Parameters from the list. this will shorten the list on the right side to show only the parameters that you created.

5. click the parameter you want to use for the Radius dimension, which will add it to the second line on the top.

6. click OK to assign the parameter to the dimension. The dimension should change value.

7. Exit the sketch and Update the part to the new radius value
 
Last edited:

MrCATIA

Super Moderator
Thanks for the video, and showing us how you are applying the parameter to the dimension constraint. Everything looks good, until the end.

I have a new question: What value is the Rp parameter set to? If it is set to 0, we just found the problem.

Plus, I have a suggestion that I should have mentioned in my first reply:

Your CATIA settings should to customized to show the parameters in the tree. First, go to Tools + Options + Infrastructure + Part Infrastructure, choose the Display page, and activate the Parameters option.
parameter1.jpg

Next, go to Tools + Options + General + Parameters and Measure, choose the Knowledge page, and in the Parameter Tree View section activate the With Value and With Formula options.
parameter2.jpg

Now there should be a branch in the tree with the Parameters and their values. Double-click on the Rp parameter and type-in a different radius value.

Go back to the sketch with the circle and try to apply the parameter just like you did in the video. It should work now that the parameter is set to some length value. The dimension should also have a little ƒ symbol beside it indicating the value is from a formula. Edit the parameter in the tree again and set it back to it's original value (anything but zero).

Here's a little shortcut:

The next time you want to use a parameter to drive a dimension,

1. double-click on the dimension to edit it

2. type = and enter

3. select the parameter directly in the tree
 
Last edited:

rezaafz

New member
Oh my God i can't believe it! It worked !!!!!
Thank you so much dear "MrCATIA" you really helped me a lot with your perfect response ... I really appreciate it
 

Sponsor

Top