Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Define Deformable Part 1

Status
Not open for further replies.

ChevyM

Automotive
Feb 9, 2012
90
Hello,

is it possible at step 3 (Expressions) to make a few Number ranges instead of one?
i tried using the options tool but i didnt really manage to get the same thing as Number ranges.
i want to have the same Expressions rules as Number ranges but instead of only between 3.1 adn 5.6 i also want them between 8.5 and 9.2
is this possible?

Best regards,

Chevy

NX6
Win7, 64 Bit
 
Replies continue below

Recommended for you

So you want to limit a SINGLE Expression to be either between 3.1 and 5.6 OR 8.5 and 9.2, correct?

John R. Baker, P.E.
Product 'Evangelist'
Product Engineering Software
Siemens PLM Software Inc.
Industry Sector
Cypress, CA
UG/NX Museum:
To an Engineer, the glass is twice as big as it needs to be.
 
between 3.1 and 5.6 AND 8.5 and 9.2
so its not possible to have 6 or 7 in the same expressions
is this possible?

Best regards,

Chevy

NX6
Win7, 64 Bit
 
About the best that I can do is create a Deformable part with the range set from 3.1 to 9.2 but which will default to either 5.6 or 8.5 (whichever is closer) if the input value falls between 5.6 and 8.5. See attached example to see how I did it (basically using a long IF statement in 'Test_Part.prt' file).

John R. Baker, P.E.
Product 'Evangelist'
Product Engineering Software
Siemens PLM Software Inc.
Industry Sector
Cypress, CA
UG/NX Museum:
To an Engineer, the glass is twice as big as it needs to be.
 
John, a small doubt is 'Then' required in the expression line?

Nx 7.5.5.4

Teamcenter 8
 
where can i see this statement? i've always found it strange i couldnt find a edit button for a deformable part.. where is it?

Best regards,

Chevy

NX6
Win7, 64 Bit
 
nithink said:
John, a small doubt is 'Then' required in the expression line?

It's not clear exactly what it is that you're asking? Could you clarify?

John R. Baker, P.E.
Product 'Evangelist'
Product Engineering Software
Siemens PLM Software Inc.
Industry Sector
Cypress, CA
UG/NX Museum:
To an Engineer, the glass is twice as big as it needs to be.
 
The 'IF' statement is part of an Expression which is found in the original part file from which the Deformable Part is derived. INSIDE the Assembly file you select a value for the Deformable Part, between 3.1 and 9.2 and then the part updates.

John R. Baker, P.E.
Product 'Evangelist'
Product Engineering Software
Siemens PLM Software Inc.
Industry Sector
Cypress, CA
UG/NX Museum:
To an Engineer, the glass is twice as big as it needs to be.
 
ah i found it! not what i had in mind, but still works! thnx!

Best regards,

Chevy

NX6
Win7, 64 Bit
 
and how can you only set up a minimum or maximum?

Best regards,

Chevy

NX6
Win7, 64 Bit
 
A 'Maximum' is not an issue if we're talking about non-negative values since you just set the range from 'Zero' to whatever your desired Maximum value is. For a 'Miniumum', can still set a value for the Minimum value, it's just that you have to provide something at the other end of the range of values as 'Infinite' is not an option.

John R. Baker, P.E.
Product 'Evangelist'
Product Engineering Software
Siemens PLM Software Inc.
Industry Sector
Cypress, CA
UG/NX Museum:
To an Engineer, the glass is twice as big as it needs to be.
 
IF(height=>7)then(height)else...

here then really required? i tried to removed that and changed height value it worked fine..

Nx 7.5.5.4

Teamcenter 8
 
You're right, the 'THEN' is optional. I do it more out of habit since it helps me keep track of the 'IF - THEN - Else' logic, particularly on long, nested statements like was used in this example.

John R. Baker, P.E.
Product 'Evangelist'
Product Engineering Software
Siemens PLM Software Inc.
Industry Sector
Cypress, CA
UG/NX Museum:
To an Engineer, the glass is twice as big as it needs to be.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor