NX Open C++ Reference Guide
|
Represents a Features::WrapUnwrap builder. More...
Public Types | |
enum | Types { TypesWrap, TypesUnwrap } |
Settings for the type of wrap operation being performed. More... | |
Public Member Functions | |
double | AngleTolerance () |
Returns the angle tolerance used to determine the sampling of the curve during processing, and the accuracy of the output. | |
bool | Associative () |
Returns the flag that indicates during creation if a feature is to be created or just the curves, true indicates a feature will be created. | |
NXOpen::Section * | Curves () |
Returns the curves that are being wrapped or unwrapped. | |
NXOpen::Expression * | CutLineAngle () |
Returns the angle, measured from the point of tangency of the plane and the faces, at which curves will be split during the wrapping operation. | |
double | DistanceTolerance () |
Returns the distance tolerance used to determine the sampling of the curve during processing, and the accuracy of the output. | |
NXOpen::ScCollector * | Faces () |
Returns the faces that the curves are being unwrapped from or wrapped to. | |
NXOpen::SelectISurface * | Plane () |
Returns the planar face or datum plane that the curves are being wrapped from or unwrapped to. | |
void | SetAngleTolerance (double angleTolerance) |
Sets the angle tolerance used to determine the sampling of the curve during processing, and the accuracy of the output. | |
void | SetAssociative (bool associative) |
Sets the flag that indicates during creation if a feature is to be created or just the curves, true indicates a feature will be created. | |
void | SetDistanceTolerance (double distanceTolerance) |
Sets the distance tolerance used to determine the sampling of the curve during processing, and the accuracy of the output. | |
void | SetSpecifyPlane (NXOpen::Plane *plane) |
Sets the specified plane that the curves are being wrapped from or unwrapped to. | |
void | SetType (NXOpen::Features::WrapBuilder::Types type) |
Sets the type of operation being performed. | |
NXOpen::Plane * | SpecifyPlane () |
Returns the specified plane that the curves are being wrapped from or unwrapped to. | |
NXOpen::Features::WrapBuilder::Types | Type () |
Returns the type of operation being performed. | |
![]() | |
NXOpen::Features::Feature * | CommitFeature () |
Commits the feature parameters and creates the feature. | |
NXOpen::Features::Feature * | GetFeature () |
Returns the feature currently being edited by this builder. | |
void | HideInternalParentFeatureAfterEdit (NXOpen::Features::Feature *parentFeature) |
Re-suppress an internal parent feature (a slave feature) after it has been edited. | |
bool | ParentFeatureInternal () |
Returns whether or not the latest timestamped parent feature of this feature should be made internal Created in NX5.0.0. | |
bool | PatchSolutionFlag () |
Returns the patch solution flag Created in NX8.0.1. | |
NXString | PatchSurfaceFilename () |
Returns the patch surface filename Created in NX8.0.1. | |
void | SetParentFeatureInternal (NXOpen::Features::Feature *parentFeature) |
Set the parent features which would be internal or slaves to the feature being created or commited Created in NX6.0.0. | |
void | SetParentFeatureInternal (bool isInternal) |
Sets whether or not the latest timestamped parent feature of this feature should be made internal Created in NX5.0.0. | |
void | SetPatchSolutionFlag (bool optionValue) |
Sets the patch solution flag Created in NX8.0.1. | |
void | SetPatchSurfaceFilename (const NXString &surfaceFilename) |
Sets the patch surface filename Created in NX8.0.1. | |
void | SetPatchSurfaceFilename (const char *surfaceFilename) |
Sets the patch surface filename Created in NX8.0.1. | |
void | SetSurroundingPatchSurfaceFilename (const NXString &surroundingSurfaceFilename) |
Sets the surrounding patch surface filename Created in NX8.0.1. | |
void | SetSurroundingPatchSurfaceFilename (const char *surroundingSurfaceFilename) |
Sets the surrounding patch surface filename Created in NX8.0.1. | |
void | ShowInternalParentFeatureForEdit (NXOpen::Features::Feature *parentFeature) |
Unsuppress an internal parent feature (a slave feature) so it can be edited. | |
NXString | SurroundingPatchSurfaceFilename () |
Returns the surrounding patch surface filename Created in NX8.0.1. | |
void | UnsetParentFeatureInternal (NXOpen::Features::Feature *parentFeature) |
Set the internal parent feature of the feature being edited to external Created in NX6.0.0. | |
![]() | |
NXOpen::NXObject * | Commit () |
Commits any edits that have been applied to the builder. | |
void | Destroy () |
Deletes the builder, and cleans up any objects created by the builder. | |
std::vector< NXOpen::NXObject * > | GetCommittedObjects () |
For builders that create more than one object, this method returns the objects that are created by commit. | |
NXOpen::NXObject * | GetObject () |
Returns the object currently being edited by this builder. | |
void | ShowResults () |
Updates the model to reflect the result of an edit to the model for all builders that support showing results. | |
virtual bool | Validate () |
Validate whether the inputs to the component are sufficient for commit to be called. | |
![]() | |
tag_t | GetTag () const |
<b>Deprecated</b>:<br> Use Tag instead. | |
tag_t | Tag () const |
Returns the tag of this object. | |
Represents a Features::WrapUnwrap builder.
This class is used in the process of creating or editing a wrap or unwrap curve feature, as well as creating wrapped or unwrapped curves not associated to a feature.
To create a new instance of this class, use Features::FeatureCollection::CreateWrapBuilder
Default values.
Property | Value |
---|---|
AngleTolerance |
0.5 |
Associative |
1 |
CutLineAngle.Value |
180 (millimeters part), 180 (inches part) |
DistanceTolerance |
0.0254 (millimeters part), 0.001 (inches part) |
Created in NX6.0.0.
Settings for the type of wrap operation being performed.
double NXOpen::Features::WrapBuilder::AngleTolerance | ( | ) |
Returns the angle tolerance used to determine the sampling of the curve during processing, and the accuracy of the output.
Created in NX6.0.0.
License requirements : None
bool NXOpen::Features::WrapBuilder::Associative | ( | ) |
Returns the flag that indicates during creation if a feature is to be created or just the curves, true indicates a feature will be created.
Created in NX6.0.0.
License requirements : None
NXOpen::Section* NXOpen::Features::WrapBuilder::Curves | ( | ) |
Returns the curves that are being wrapped or unwrapped.
Created in NX6.0.0.
License requirements : None
NXOpen::Expression* NXOpen::Features::WrapBuilder::CutLineAngle | ( | ) |
Returns the angle, measured from the point of tangency of the plane and the faces, at which curves will be split during the wrapping operation.
Created in NX6.0.0.
License requirements : None
double NXOpen::Features::WrapBuilder::DistanceTolerance | ( | ) |
Returns the distance tolerance used to determine the sampling of the curve during processing, and the accuracy of the output.
Created in NX6.0.0.
License requirements : None
NXOpen::ScCollector* NXOpen::Features::WrapBuilder::Faces | ( | ) |
Returns the faces that the curves are being unwrapped from or wrapped to.
Created in NX6.0.0.
License requirements : None
NXOpen::SelectISurface* NXOpen::Features::WrapBuilder::Plane | ( | ) |
Returns the planar face or datum plane that the curves are being wrapped from or unwrapped to.
Created in NX6.0.0.
License requirements : None
void NXOpen::Features::WrapBuilder::SetAngleTolerance | ( | double | angleTolerance | ) |
Sets the angle tolerance used to determine the sampling of the curve during processing, and the accuracy of the output.
Created in NX6.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
angleTolerance | angletolerance |
void NXOpen::Features::WrapBuilder::SetAssociative | ( | bool | associative | ) |
Sets the flag that indicates during creation if a feature is to be created or just the curves, true indicates a feature will be created.
Created in NX6.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
associative | associative |
void NXOpen::Features::WrapBuilder::SetDistanceTolerance | ( | double | distanceTolerance | ) |
Sets the distance tolerance used to determine the sampling of the curve during processing, and the accuracy of the output.
Created in NX6.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
distanceTolerance | distancetolerance |
void NXOpen::Features::WrapBuilder::SetSpecifyPlane | ( | NXOpen::Plane * | plane | ) |
Sets the specified plane that the curves are being wrapped from or unwrapped to.
Created in NX6.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
plane | plane |
void NXOpen::Features::WrapBuilder::SetType | ( | NXOpen::Features::WrapBuilder::Types | type | ) |
Sets the type of operation being performed.
Created in NX6.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
type | type |
NXOpen::Plane* NXOpen::Features::WrapBuilder::SpecifyPlane | ( | ) |
Returns the specified plane that the curves are being wrapped from or unwrapped to.
Created in NX6.0.0.
License requirements : None
NXOpen::Features::WrapBuilder::Types NXOpen::Features::WrapBuilder::Type | ( | ) |
Returns the type of operation being performed.
Created in NX6.0.0.
License requirements : None