NX Open C++ Reference Guide
Public Types | Public Member Functions | List of all members
NXOpen::ConvertToFromReferenceBuilder Class Reference

Represents a NXOpen::ConvertToFromReferenceBuilder
To create a new instance of this class, use NXOpen::SketchCollection::CreateConvertToFromReferenceBuilder

Created in NX5.0.0. More...

Inheritance diagram for NXOpen::ConvertToFromReferenceBuilder:
NXOpen::Builder NXOpen::TaggedObject NXOpen::GeometricUtilities::IComponentBuilder

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. More...
 
NXOpen::SelectNXObjectListInputObjects ()
 Returns the input objects. More...
 
NXOpen::ConvertToFromReferenceBuilder::OutputType OutputState ()
 Returns the output type. More...
 
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. More...
 
bool SelectAllProjectFeatureCurves ()
 Returns the projected curve flag. More...
 
void SetOutputState (NXOpen::ConvertToFromReferenceBuilder::OutputType outputState)
 Sets the output type. More...
 
void SetSelectAllProjectFeatureCurves (bool selectAllProjectFeatureCurves)
 Sets the projected curve flag. More...
 
- Public Member Functions inherited from NXOpen::Builder
NXOpen::NXObjectCommit ()
 Commits any edits that have been applied to the builder. More...
 
void Destroy ()
 Deletes the builder, and cleans up any objects created by the builder. More...
 
std::vector< NXOpen::NXObject * > GetCommittedObjects ()
 For builders that create more than one object, this method returns the objects that are created by commit. More...
 
NXOpen::NXObjectGetObject ()
 Returns the object currently being edited by this builder. More...
 
void ShowResults ()
 Updates the model to reflect the result of an edit to the model for all builders that support showing results. More...
 
virtual bool Validate ()
 Validate whether the inputs to the component are sufficient for commit to be called. More...
 
- Public Member Functions inherited from NXOpen::TaggedObject
tag_t Tag () const
 Returns the tag of this object. More...
 

Detailed Description

Represents a NXOpen::ConvertToFromReferenceBuilder
To create a new instance of this class, use NXOpen::SketchCollection::CreateConvertToFromReferenceBuilder

Created in NX5.0.0.


Member Enumeration Documentation

Represents the output type.

Enumerator
OutputTypeReference 

Outputs become reference objects.

OutputTypeActive 

Outputs become active objects.

Member Function Documentation

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

Parameters
entityThe 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

Parameters
entityThe 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

Parameters
outputStateoutput 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

Parameters
selectAllProjectFeatureCurvesselectallprojectfeaturecurves

The documentation for this class was generated from the following file:
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.