MultiTransitionLawBuilder Class

class NXOpen.GeometricUtilities.MultiTransitionLawBuilder

Bases: NXOpen.TaggedObject, NXOpen.GeometricUtilities.IComponentBuilder

Represents multiple transition law.

This class represents NXOpen.GeometricUtilities.LawBuilderType.MultiTransition type of law in NXOpen.GeometricUtilities.LawBuilder. Objects of class NXOpen.GeometricUtilities.TransitionLawNodeBuilder are used as law nodes in NXOpen.GeometricUtilities.MultiTransitionLawBuilder. Spine definition in this class is mandatory. You can specify any number of law nodes on the spine. Minimum two law nodes are necessary to define the multi transition law along the spine. The law nodes must be specified in the parametrically increasing order in the spine direction.

Depending on the law node position on the spine following transition types are supported -

Start node - All options in NXOpen.GeometricUtilities.TransitionLawNodeBuilderTransitionType except NXOpen.GeometricUtilities.TransitionLawNodeBuilderTransitionType.Unknown

End node - NXOpen.GeometricUtilities.TransitionLawNodeBuilderTransitionType.Blend and NXOpen.GeometricUtilities.TransitionLawNodeBuilderTransitionType.Minmax only

End node - All options in NXOpen.GeometricUtilities.TransitionLawNodeBuilderTransitionType may be supported. Consult the referencing class documentation to see when NXOpen.GeometricUtilities.TransitionLawNodeBuilderTransitionType.Unknown is not supported at a law node.

New in version NX6.0.0.

Properties

Property Description
NodeList Returns the list of law nodes.
Spine Returns the spine
Tag Returns the Tag for this object.

Methods

Method Description
CreateNode Creates a new law node @return Law node
UpdateSpine Update the builder based on current spine
Validate Validate whether the inputs to the component are sufficient for commit to be called.

Property Detail

NodeList

MultiTransitionLawBuilder.NodeList

Returns the list of law nodes.

-------------------------------------

Getter Method

Signature NodeList()

Returns:
Return type:NXOpen.GeometricUtilities.TransitionLawNodeBuilderList

New in version NX6.0.0.

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

Spine

MultiTransitionLawBuilder.Spine

Returns the spine

-------------------------------------

Getter Method

Signature Spine()

Returns:Section object representing spine
Return type:NXOpen.Section

New in version NX6.0.0.

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

Method Detail

CreateNode

MultiTransitionLawBuilder.CreateNode

Creates a new law node

Signature CreateNode()

Returns:Law node
Return type:NXOpen.GeometricUtilities.TransitionLawNodeBuilder

New in version NX6.0.0.

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

UpdateSpine

MultiTransitionLawBuilder.UpdateSpine

Update the builder based on current spine

Signature UpdateSpine()

New in version NX6.0.0.

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

Validate

MultiTransitionLawBuilder.Validate

Validate whether the inputs to the component are sufficient for commit to be called.

If the component is not in a state to commit then an exception is thrown. For example, if the component requires you to set some property, this method will throw an exception if you haven’t set it. This method throws a not-yet-implemented NXException for some components.

Signature Validate()

Returns:Was self validation successful
Return type:bool

New in version NX3.0.1.

License requirements: None.