Cancel
Showing results for 
Search instead for 
Did you mean: 

Remove blends from body

Builder
Builder
Hey guys,

How would you remove blends of a body that are under a certain radius in nx open? I am curently using NX 8

Thank you!
7 REPLIES
Highlighted

Re: Remove blends from body

Siemens Creator Siemens Creator
Siemens Creator

Use Syncronous Technology

You can control how the callout values in the NX Parts List are synchronized with the Teamcenter database.


Synchronize Callouts

By default, the NX callout values are synchronized with the Structure Manager Find No. (previously called sequence numbers). You can change this by specifying a value for the Callout Management customer default (see Teamcenter Integration Customer Defaults for additional information). The value that you specify is the title of an NX attribute.

This attribute title must be one that is synchronized with Teamcenter (i.e., with a note type defined in the Teamcenter database whose type matches the title). If there is no note type defined that matches the title, then an error message displays the first time Teamcenter Integration needs to use the value of this default.

The attribute specified by your default never actually exists in the NX data structure. When you create an attribute with that title, the setting of the attribute is intercepted. Instead of the usual action, the attribute CALLOUT is created or edited, and you enter its value. The corresponding note type in the Teamcenter structure is synchronized with the attribute titled CALLOUT. This is because NX requires the attribute CALLOUT to be present for use with callouts on drawings.

If you have specified an attribute other than DB_SEQUENCE_NO to be the callout attribute, then the Find No. in Structure Manager and the attribute DB_SEQUENCE_NO on NX components is synchronized. This means that when you load an assembly and the structure is updated from Teamcenter, attributes with this title appear on components and can be used in the parts list.


Note

The DB_SEQUENCE_NO attribute is entered in the Callout: Attribute Title field on the Teamcenter Integration for NX→User Attributes, All tab in the Customer Defaults dialog.


The figure below shows the mapping, by illustrating two drawings of the same assembly together with the corresponding BOM in Teamcenter. In Case 1, the callouts have been synchronized with the Find Nos. in Structure Manager. In Case 2, the callouts have been synchronized with the note DRAW_No in Structure Manager.

Be aware that in each case the attribute title CALLOUT corresponds to the required value in Structure Manager: in the first case with the Find No. field, and in the second case with the DRAW_NO note type.

Case 1:





NX

Teamcenter Structure Manager



CALLOUT

Structure Manager Find No.


Callout Management

DB_SEQUENCE_NO


Case 2:





NX

Teamcenter Structure Manager



CALLOUT

DRAW_NO


Callout Management

DRAW_NO


DB_SEQUENCE_NO

Structure Manager Find No.


Also be aware that in each case the attribute not used for the callout is held separately and its value corresponds to the appropriate Structure Manager value (DRAW_NO in the second case with note type DRAW_NO, and DB_SEQUENCE_NO in the first case with the Find No.).

Re: Remove blends from body

Builder
Builder
What is that? I forgot to mention this, but I'm currently working with NX8

Re: Remove blends from body

Siemens Phenom Siemens Phenom
Siemens Phenom

If it is not programmatically then use

'Delete Face' command from 'Synchronous Modeling' group.

Either use command finder or from the menu bar, Insert > Synchronous Modeling > Delete Face.

Once 'Delete Face' dialog is active, you can use 'Connected Blend Faces' or 'All Blend Faces' from the selection filter as per your need.

Re: Remove blends from body

Builder
Builder
Im sorry I didnt clarify, but I'm trying to write a user function in c++ to do so.

Re: Remove blends from body

Siemens Phenom Siemens Phenom
Siemens Phenom

In the .NET world, the things you need are NXOpen.Features.DeleteFaceBuilder, and NXOpen.Features.DeleteFace. The same objects/methods are available from C++; only the syntax is different.

 

Delete some blends interactively, and record a journal. The recorded code will probably be very long, but it will show you how to use the DeleteFace functions.

山田
yamada

Re: Remove blends from body

Builder
Builder
So I have been tryingto use that function, deleteFaceBuilder, however, when it encounters a object on which it doesnt succeed to delete a face, it crashes and doesnt delete any of the faces on that object, even ones it would normally succeed on. Is there any way around this problem?

Re: Remove blends from body

Siemens Phenom Siemens Phenom
Siemens Phenom

The attached should be a good start.  You'll need to add the part that checks the radius.

 

It does this:

 

Pick a body.

 

  Get all the features of the body.

 

    For each feature, does the sysname include "Blend"?  If so, put it on a list.

 

      Starting with the most recent blend feature, delete them all, one at a time.

       

        Update the model.