SShapedLawBuilder Class

class NXOpen.GeometricUtilities.SShapedLawBuilder

Bases: NXOpen.TaggedObject, NXOpen.GeometricUtilities.IComponentBuilder

Represents a s-shaped law.

This class represents NXOpen.GeometricUtilities.LawBuilderType.SShaped type of law in NXOpen.GeometricUtilities.LawBuilder. Objects of class NXOpen.GeometricUtilities.OnPathDimWithValueBuilder are used as law nodes in NXOpen.GeometricUtilities.SShapedLawBuilder. Spine definition in this class is mandatory. The law nodes at start and end of the spine are fixed.

New in version NX6.0.0.

Properties

Property Description
EndNode Returns the end node
SlopeNode Returns the slope node
Spine Returns the Spine
StartNode Returns the start node
Tag Returns the Tag for this object.

Methods

Method Description
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

EndNode

SShapedLawBuilder.EndNode

Returns the end node

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

Getter Method

Signature EndNode()

Returns:law node
Return type:NXOpen.GeometricUtilities.OnPathDimWithValueBuilder

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”)

SlopeNode

SShapedLawBuilder.SlopeNode

Returns the slope node

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

Getter Method

Signature SlopeNode()

Returns:law node
Return type:NXOpen.GeometricUtilities.OnPathDimWithValueBuilder

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

SShapedLawBuilder.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”)

StartNode

SShapedLawBuilder.StartNode

Returns the start node

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

Getter Method

Signature StartNode()

Returns:law node
Return type:NXOpen.GeometricUtilities.OnPathDimWithValueBuilder

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

UpdateSpine

SShapedLawBuilder.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

SShapedLawBuilder.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.