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
Methods¶
Method | Description |
---|---|
AppendPlane | Appends a plane |
DeleteLast | Deletes last point or the plane created |
GetNthPlane | Get the Nth plane @return plane found at index |
GetNumPlanes | Get the number of planes @return 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: - point1 (
NXOpen.Point3d
) – Point 1 of the interactive line - point2 (
NXOpen.Point3d
) – Point 2 of the interactive line - origin (
NXOpen.Point3d
) – Origin of the plane - normal (
NXOpen.Vector3d
) – Normal of the plane
New in version NX7.0.0.
License requirements: studio_free_form (“STUDIO FREE FORM”)
- point1 (
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.