BodyCollection Class

class NXOpen.BodyCollection

Bases: object

Represents a collection of bodies in a part

To obtain an instance of this class, refer to NXOpen.Part

New in version NX3.0.0.

Methods

Method Description
CollectionSweepabilityCheck Sweepability check
CreateFlatteningBuilder Creates a FlatteningBuilder.
CreateFourPointSurfaceBuilder Creates a Four Point Surface Builder
CreateSurfaceUvdirectionBuilder Creates a SurfaceUVDirectionBuilder
FindObject Finds the NXOpen.Body with the given identifier as recorded in a journal.

Method Detail

CollectionSweepabilityCheck

BodyCollection.CollectionSweepabilityCheck

Sweepability check

Signature CollectionSweepabilityCheck(setColor)

Parameters:setColor (bool) –

New in version NX12.0.0.

License requirements: solid_modeling (“SOLIDS MODELING”)

CreateFlatteningBuilder

BodyCollection.CreateFlatteningBuilder

Creates a FlatteningBuilder.

Signature CreateFlatteningBuilder()

Returns:FlatteningBuilder object
Return type:NXOpen.FlatteningBuilder

New in version NX8.5.3.

Deprecated since version NX11.0.0: Use NXOpen.Features.FlatteningAndFormingBuilder instead.

License requirements: studio_free_form (“STUDIO FREE FORM”)

CreateFourPointSurfaceBuilder

BodyCollection.CreateFourPointSurfaceBuilder

Creates a Four Point Surface Builder

Signature CreateFourPointSurfaceBuilder()

Returns:FourPointSurfaceBuilder object
Return type:NXOpen.FourPointSurfaceBuilder

New in version NX6.0.0.

License requirements: solid_modeling (“SOLIDS MODELING”) OR studio_free_form (“STUDIO FREE FORM”)

CreateSurfaceUvdirectionBuilder

BodyCollection.CreateSurfaceUvdirectionBuilder

Creates a SurfaceUVDirectionBuilder

Signature CreateSurfaceUvdirectionBuilder()

Returns:
Return type:NXOpen.SurfaceUVDirectionBuilder

New in version NX8.5.1.

License requirements: studio_free_form (“STUDIO FREE FORM”)

FindObject

BodyCollection.FindObject

Finds the NXOpen.Body with the given identifier as recorded in a journal.

An object may not return the same value as its JournalIdentifier in different versions of the software. However newer versions of the software should find the same object when FindObject is passed older versions of its journal identifier. In general, this method should not be used in handwritten code and exists to support record and playback of journals.

An exception will be thrown if no object can be found with the given journal identifier.

Signature FindObject(journalIdentifier)

Parameters:journalIdentifier (str) – Identifier of the body you want
Returns:Body with this identifier
Return type:NXOpen.Body

New in version NX3.0.0.

License requirements: None.