InteractiveSectionBuilder Class

class NXOpen.GeometricUtilities.InteractiveSectionBuilder

Bases: NXOpen.TaggedObject, NXOpen.GeometricUtilities.IComponentBuilder

Represents a NXOpen.GeometricUtilities.InteractiveSectionBuilder.

The interactive section block uses 2 points to draw a line or a section. .. versionadded:: NX7.0.0

Properties

Property Description
Tag Returns the Tag for this object.

Methods

Method Description
AppendPlane Appends a plane
DeleteLast Deletes last point or the plane created
GetNthPlane Get the Nth plane
GetNumPlanes Get the number of planes
Validate Validate whether the inputs to the component are sufficient for commit to be called.

Method Detail

AppendPlane

InteractiveSectionBuilder.AppendPlane

Appends a plane

Signature AppendPlane(point1, point2, origin, normal)

Parameters:

New in version NX7.0.0.

License requirements: studio_free_form (“STUDIO FREE FORM”)

DeleteLast

InteractiveSectionBuilder.DeleteLast

Deletes last point or the plane created

Signature DeleteLast()

New in version NX7.0.0.

License requirements: studio_free_form (“STUDIO FREE FORM”)

GetNthPlane

InteractiveSectionBuilder.GetNthPlane

Get the Nth plane

Signature GetNthPlane(index)

Parameters:index (int) – index of the plane
Returns:plane found at index
Return type:NXOpen.GeometricUtilities.SectionPlaneData

New in version NX7.0.0.

License requirements: studio_free_form (“STUDIO FREE FORM”)

GetNumPlanes

InteractiveSectionBuilder.GetNumPlanes

Get the number of planes

Signature GetNumPlanes()

Returns:number of planes
Return type:int

New in version NX7.0.0.

License requirements: studio_free_form (“STUDIO FREE FORM”)

Validate

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