NX Open C++ Reference Guide
|
Represents a ConvertToFromReferenceBuilder
To create a new instance of this class, use SketchCollection::CreateConvertToFromReferenceBuilder
Created in NX5.0.0.
More...
Public Types | |
enum | OutputType { OutputTypeReference, OutputTypeActive } |
Represents the output type. More... | |
Public Member Functions | |
void | AddProjectFeatureCurves (NXOpen::Curve *entity) |
Adds all output entities belonging to the project feature that contains the input tag to the input objects list of the command. | |
NXOpen::SelectNXObjectList * | InputObjects () |
Returns the input objects. | |
NXOpen::ConvertToFromReferenceBuilder::OutputType | OutputState () |
Returns the output type. | |
void | RemoveProjectFeatureCurves (NXOpen::Curve *entity) |
Removes all output entities belonging to the project feature that contains the input tag from the input objects list of the command. | |
bool | SelectAllProjectFeatureCurves () |
Returns the projected curve flag. | |
void | SetOutputState (NXOpen::ConvertToFromReferenceBuilder::OutputType outputState) |
Sets the output type. | |
void | SetSelectAllProjectFeatureCurves (bool selectAllProjectFeatureCurves) |
Sets the projected curve flag. | |
![]() | |
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 ConvertToFromReferenceBuilder
To create a new instance of this class, use SketchCollection::CreateConvertToFromReferenceBuilder
Created in NX5.0.0.
void NXOpen::ConvertToFromReferenceBuilder::AddProjectFeatureCurves | ( | NXOpen::Curve * | entity | ) |
Adds all output entities belonging to the project feature that contains the input tag to the input objects list of the command.
The SelectAllProjectFeatureCurves flag must be set to true before this function is called.
Created in NX5.0.0.
License requirements : None
entity | The input curve tag. |
NXOpen::SelectNXObjectList* NXOpen::ConvertToFromReferenceBuilder::InputObjects | ( | ) |
Returns the input objects.
The input objects must belong to the active sketch. Only curves and dimensions can be added to this list.
Created in NX5.0.0.
License requirements : None
NXOpen::ConvertToFromReferenceBuilder::OutputType NXOpen::ConvertToFromReferenceBuilder::OutputState | ( | ) |
Returns the output type.
If the output type is set to Active, all the selected curves and dimensions will get their reference status as active and if the output type is set to reference, they will get their reference status as reference.
Created in NX5.0.0.
License requirements : None
void NXOpen::ConvertToFromReferenceBuilder::RemoveProjectFeatureCurves | ( | NXOpen::Curve * | entity | ) |
Removes all output entities belonging to the project feature that contains the input tag from the input objects list of the command.
The SelectAllProjectFeatureCurves flag must be set to true before this function is called.
Created in NX5.0.0.
License requirements : None
entity | The input curve tag. |
bool NXOpen::ConvertToFromReferenceBuilder::SelectAllProjectFeatureCurves | ( | ) |
Returns the projected curve flag.
If this flag is ON and if at least one of the output curves of a sketch project feature are selected, all output curves of the sketch project feature will be selected.
Created in NX5.0.0.
License requirements : None
void NXOpen::ConvertToFromReferenceBuilder::SetOutputState | ( | NXOpen::ConvertToFromReferenceBuilder::OutputType | outputState | ) |
Sets the output type.
If the output type is set to Active, all the selected curves and dimensions will get their reference status as active and if the output type is set to reference, they will get their reference status as reference.
Created in NX5.0.0.
License requirements : None
outputState | output state |
void NXOpen::ConvertToFromReferenceBuilder::SetSelectAllProjectFeatureCurves | ( | bool | selectAllProjectFeatureCurves | ) |
Sets the projected curve flag.
If this flag is ON and if at least one of the output curves of a sketch project feature are selected, all output curves of the sketch project feature will be selected.
Created in NX5.0.0.
License requirements : None
selectAllProjectFeatureCurves | selectallprojectfeaturecurves |