Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

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

How to set an expression with NXOpen

Status
Not open for further replies.

EngProgrammer

Aerospace
Joined
Jan 14, 2015
Messages
150
Location
US
Is there a simple one line function in NXOpen to read and set an expression?
 
There are functions that work with string-valued right-hand sides:
Snap.NX.Expression.RightHandSide
NXOpen.Expression.RightHandSide

If you want to work with numbers, instead, there are functions like:

Snap.NX.ExpressionNumber.Value
NXOpen.Expression.Value
NXOpen.Expression.IntegerValue
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top