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 Today!

COE DISCUSSION FORUM
Subject: Create Equivalent Dimension from List

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

24 May 2006 08:32 AM

Hi,

I have the following issue

1) I have created some GSD circles
2) Created a List of these circles
3) I now create an equivalent dimension in order to have all the circle radius equal to a parameter, unfortuenatly the elements of the equivalent dimension list have to be input manualy.

Also note that i have been unable to create a list of the radius parameters of my circles...

I had already posted this question in the CATIA V5 forum but with no sucess. under Ian's advice I am posting it here, you might want to read this thread for a better understanding of the issue.

Thanks!
CLIFFJOHNSON


24 May 2006 09:27 AM
A rule like this seems to work, although it bypasses the creation of an equivelent dimensions relation.


let theCircles(List)
let aCircle(Circle)
theCircles = `Geometrical Set.1` .Query("Circle","")
for aCircle inside theCircles
{
if aCircle->HasAttribute("Radius") == true
{
aCircle->SetAttributeReal("Radius",`Circle Size` )
}
}


Where `Circle Size` is a Parameter.

The if statement is required because a circle built by 3 points would otherwise break the rule because it doesn't have a Radius attribute.
You are not authorized to post a reply.
Forums > COE Forums > KBE > Create Equivalent Dimension from List



ActiveForums 3.6

    

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