LocalScaleCurveBuilder Class

class NXOpen.Features.LocalScaleCurveBuilder

Bases: NXOpen.Features.FeatureBuilder

Represents a Features.LocalScaleCurve builder

To create a new instance of this class, use NXOpen.Features.SynchronousCurveCollection.CreateLocalScaleCurveBuilder()

Default values.

Property Value
CurveFinder.ChamferEnabled 0
CurveFinder.CoincidentVertex2dComponentEnabled 0
CurveFinder.CoincidentVertexEnabled 0
CurveFinder.CoincidentVertexSketchGroupEnabled 0
CurveFinder.Collinear2dComponentEnabled 0
CurveFinder.CollinearEnabled 0
CurveFinder.CollinearSketchGroupEnabled 0
CurveFinder.Concentric2dComponentEnabled 0
CurveFinder.ConcentricEnabled 0
CurveFinder.ConcentricSketchGroupEnabled 0
CurveFinder.EqualRadius2dComponentEnabled 0
CurveFinder.EqualRadiusEnabled 0
CurveFinder.EqualRadiusSketchGroupEnabled 0
CurveFinder.Offset2dComponentEnabled 0
CurveFinder.OffsetEnabled 0
CurveFinder.OffsetSketchGroupEnabled 0
CurveFinder.Parallel2dComponentEnabled 0
CurveFinder.ParallelEnabled 0
CurveFinder.ParallelSketchGroupEnabled 0
CurveFinder.SymmetricEnabled 0
CurveFinder.Tangent2dComponentEnabled 0
CurveFinder.TangentEnabled 0
CurveFinder.TangentSketchGroupEnabled 0
CurveFinder.UseCurveFinder 1
CurveFinder.VertexOnCurve2dComponentEnabled 0
CurveFinder.VertexOnCurveEnabled 0
CurveFinder.VertexOnCurveSketchGroupEnabled 0

New in version NX11.0.0.

Properties

Property Description
CurveFinder Returns the curve finder
Distance Returns the distance
DistanceTolerance Returns or sets the distance tolerance
InputScaleFactor Returns the scale factor
KeepOrthogonal Returns or sets a value that indicates whether keep orthogonal is enabled
KeepTangent Returns or sets a value that indicates which keep tangent support is selected
ParentFeatureInternal Returns or sets whether or not the latest timestamped parent feature of this feature should be made internal
PatchSolutionFlag Returns or sets the patch solution flag
PatchSurfaceFilename Returns or sets the patch surface filename
ScaleOrigin Returns or sets the scale origin
SizeOption Returns or sets a value that indicates which size option is selected
SurroundingPatchSurfaceFilename Returns or sets the surrounding patch surface filename
Tag Returns the Tag for this object.

Methods

Method Description
Commit Commits any edits that have been applied to the builder.
CommitFeature Commits the feature parameters and creates the feature
Destroy Deletes the builder, and cleans up any objects created by the builder.
GetCommittedObjects For builders that create more than one object, this method returns the objects that are created by commit.
GetFeature Returns the feature currently being edited by this builder.
GetObject Returns the object currently being edited by this builder.
HideInternalParentFeatureAfterEdit Re-suppress an internal parent feature (a slave feature) after it has been edited.
SetParentFeatureInternal Set the parent features which would be internal or slaves to the feature being created or commited
ShowInternalParentFeatureForEdit Unsuppress an internal parent feature (a slave feature) so it can be edited.
ShowResults Updates the model to reflect the result of an edit to the model for all builders that support showing results.
UnsetParentFeatureInternal Set the internal parent feature of the feature being edited to external
Validate Validate whether the inputs to the component are sufficient for commit to be called.

Property Detail

CurveFinder

LocalScaleCurveBuilder.CurveFinder

Returns the curve finder

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

Getter Method

Signature CurveFinder

Returns:
Return type:NXOpen.Features.CurveFinderBuilder

New in version NX11.0.0.

License requirements: None.

Distance

LocalScaleCurveBuilder.Distance

Returns the distance

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

Getter Method

Signature Distance

Returns:
Return type:NXOpen.Expression

New in version NX11.0.0.

License requirements: None.

DistanceTolerance

LocalScaleCurveBuilder.DistanceTolerance

Returns or sets the distance tolerance

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

Getter Method

Signature DistanceTolerance

Returns:
Return type:float

New in version NX11.0.0.

License requirements: None.

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

Setter Method

Signature DistanceTolerance

Parameters:distanceTolerance (float) –

New in version NX11.0.0.

License requirements: solid_modeling (“SOLIDS MODELING”) OR geometric_tol (“GDT”)

InputScaleFactor

LocalScaleCurveBuilder.InputScaleFactor

Returns the scale factor

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

Getter Method

Signature InputScaleFactor

Returns:
Return type:NXOpen.Expression

New in version NX11.0.0.

License requirements: None.

KeepOrthogonal

LocalScaleCurveBuilder.KeepOrthogonal

Returns or sets a value that indicates whether keep orthogonal is enabled

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

Getter Method

Signature KeepOrthogonal

Returns:
Return type:bool

New in version NX11.0.0.

License requirements: None.

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

Setter Method

Signature KeepOrthogonal

Parameters:keepOrthogonal (bool) –

New in version NX11.0.0.

License requirements: solid_modeling (“SOLIDS MODELING”) OR geometric_tol (“GDT”)

KeepTangent

LocalScaleCurveBuilder.KeepTangent

Returns or sets a value that indicates which keep tangent support is selected

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

Getter Method

Signature KeepTangent

Returns:
Return type:int

New in version NX11.0.0.

License requirements: None.

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

Setter Method

Signature KeepTangent

Parameters:keepTangent (int) –

New in version NX11.0.0.

License requirements: solid_modeling (“SOLIDS MODELING”) OR geometric_tol (“GDT”)

ScaleOrigin

LocalScaleCurveBuilder.ScaleOrigin

Returns or sets the scale origin

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

Getter Method

Signature ScaleOrigin

Returns:
Return type:NXOpen.Point3d

New in version NX11.0.0.

License requirements: None.

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

Setter Method

Signature ScaleOrigin

Parameters:scalePoint (NXOpen.Point3d) –

New in version NX11.0.0.

License requirements: None.

SizeOption

LocalScaleCurveBuilder.SizeOption

Returns or sets a value that indicates which size option is selected

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

Getter Method

Signature SizeOption

Returns:
Return type:int

New in version NX11.0.0.

License requirements: None.

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

Setter Method

Signature SizeOption

Parameters:sizeOption (int) –

New in version NX11.0.0.

License requirements: solid_modeling (“SOLIDS MODELING”) OR geometric_tol (“GDT”)

Method Detail

Validate

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