Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

uf created spline display problem in nx gateway UI

Status
Not open for further replies.

lugan2

Mechanical
Apr 10, 2013
42
0
0
GB
Hi all
I created a three degree spline through points through ugopen: UF_CURVE_create_spline_thru_pts(). The strange thing is when the result being displayed in the NX Gateway, it is showed as a awkward line segment joints (see Fig.1-splinewrong)? And when I click the fit button on the tool bar, the spline will be restored to be smooth(see fig 2-splinesmooth). Anyone know the reason??

 
Replies continue below

Recommended for you

It's strictly a 'display' issue. Until you perform a 'Fit' operation the system has not had an opportunity to determine the correct 'tolerance' needed to properly display the contents of the 'model'.

John R. Baker, P.E.
Product 'Evangelist'
Product Engineering Software
Siemens PLM Software Inc.
Industry Sector
Cypress, CA
Siemens PLM:
UG/NX Museum:

To an Engineer, the glass is twice as big as it needs to be.
 
This is common when creating geometry using API tools since they are designed to do ONLY one thing, creating the geometry. To make these functions as efficient as possible they are limited to ONLY the task at hand since we have no idea how or what they're going to be used for, therefore control of the final display is deferred until either later in the program when the proper display updates are initiated programmatically or, as in your case, the program exited before any such update was executed and so you had to do it manually. Note that when creating this same sort of object using the normal interactive tools, the function includes setting the proper display since that's all the function is going to do, create the object and then cause it to be displayed so there's no question as to what the user is expecting to see when the function finishes, which is NOT the case when it was but a single step in what might have been a very complex program with many tasks being performed before it finished, at which point, if it were included, a single display update would have been more than adequate.

John R. Baker, P.E.
Product 'Evangelist'
Product Engineering Software
Siemens PLM Software Inc.
Industry Sector
Cypress, CA
Siemens PLM:
UG/NX Museum:

To an Engineer, the glass is twice as big as it needs to be.
 
Status
Not open for further replies.
Back
Top