BodyCollection Class¶
-
class
NXOpen.BodyCollection¶ Bases:
objectRepresents a collection of bodies in a part
To obtain an instance of this class, refer to
NXOpen.PartNew 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.FlatteningBuilderNew in version NX8.5.3.
Deprecated since version NX11.0.0: Use
NXOpen.Features.FlatteningAndFormingBuilderinstead.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.FourPointSurfaceBuilderNew 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.SurfaceUVDirectionBuilderNew in version NX8.5.1.
License requirements: studio_free_form (“STUDIO FREE FORM”)
FindObject¶
-
BodyCollection.FindObject¶ Finds the
NXOpen.Bodywith 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.BodyNew in version NX3.0.0.
License requirements: None.