NX Open C++ Reference Guide
|
Represents a NXOpen::SketchAssociativeTrimBuilder
To create a new instance of this class, use NXOpen::SketchCollection::CreateSketchAssociativeTrimBuilder
Default values.
More...
Public Types | |
enum | TrimOption { TrimOptionKeep, TrimOptionDiscard } |
Represents the keep discard options for selected region. More... | |
Public Member Functions | |
NXOpen::Section * | CreateSection () |
The function creates a new empty section object and adds it to the builder. More... | |
void | DeselectRegion (const NXOpen::Point3d &helpPoint) |
The region corresponding to help point will be delsected from being kept/discarded depending on trim type Created in NX6.0.0. More... | |
std::vector< NXOpen::Section * > | GetSections () |
This function gets all sections of the trim constraint during create/edit. More... | |
NXOpen::SelectNXObjectList * | RecipeCurves () |
Returns the input curves. More... | |
void | RemoveSection (NXOpen::Section *section) |
The function removes the given section from the builder Created in NX6.0.0. More... | |
void | ResetRegions () |
The regions are forced to be deselected Created in NX6.0.0. More... | |
void | SelectRegion (const NXOpen::Point3d &helpPoint) |
The function sets help point for region select. More... | |
void | SetTrimType (NXOpen::SketchAssociativeTrimBuilder::TrimOption option) |
Sets the trim region type - if the region needs to be kept/discarded Created in NX6.0.0. More... | |
NXOpen::SketchAssociativeTrimBuilder::TrimOption | TrimType () |
Returns the trim region type - if the region needs to be kept/discarded Created in NX6.0.0. More... | |
void | UpdateRegions () |
The regions are recreated and updated to reflect the change in the boundary curves Created in NX6.0.0. More... | |
Public Member Functions inherited from NXOpen::Builder | |
NXOpen::NXObject * | Commit () |
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::NXObject * | GetObject () |
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... | |
Represents a NXOpen::SketchAssociativeTrimBuilder
To create a new instance of this class, use NXOpen::SketchCollection::CreateSketchAssociativeTrimBuilder
Default values.
Property | Value |
---|---|
TrimType |
Keep |
Created in NX5.0.0.
NXOpen::Section* NXOpen::SketchAssociativeTrimBuilder::CreateSection | ( | ) |
The function creates a new empty section object and adds it to the builder.
void NXOpen::SketchAssociativeTrimBuilder::DeselectRegion | ( | const NXOpen::Point3d & | helpPoint | ) |
The region corresponding to help point will be delsected from being kept/discarded depending on trim type
Created in NX6.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
helpPoint | Help point for region selection |
std::vector<NXOpen::Section *> NXOpen::SketchAssociativeTrimBuilder::GetSections | ( | ) |
This function gets all sections of the trim constraint during create/edit.
NXOpen::SelectNXObjectList* NXOpen::SketchAssociativeTrimBuilder::RecipeCurves | ( | ) |
Returns the input curves.
These curves must be a part of a single continuous recipe chain.
Created in NX6.0.0.
License requirements : None
void NXOpen::SketchAssociativeTrimBuilder::RemoveSection | ( | NXOpen::Section * | section | ) |
The function removes the given section from the builder
Created in NX6.0.0.
License requirements : None
section | Section object to remove |
void NXOpen::SketchAssociativeTrimBuilder::ResetRegions | ( | ) |
The regions are forced to be deselected
Created in NX6.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
void NXOpen::SketchAssociativeTrimBuilder::SelectRegion | ( | const NXOpen::Point3d & | helpPoint | ) |
The function sets help point for region select.
The region corresponding to help point will be kept/discarded depending on trim type
Created in NX6.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
helpPoint | Help point for region selection |
void NXOpen::SketchAssociativeTrimBuilder::SetTrimType | ( | NXOpen::SketchAssociativeTrimBuilder::TrimOption | option | ) |
Sets the trim region type - if the region needs to be kept/discarded
Created in NX6.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
option | option |
NXOpen::SketchAssociativeTrimBuilder::TrimOption NXOpen::SketchAssociativeTrimBuilder::TrimType | ( | ) |
Returns the trim region type - if the region needs to be kept/discarded
Created in NX6.0.0.
License requirements : None
void NXOpen::SketchAssociativeTrimBuilder::UpdateRegions | ( | ) |
The regions are recreated and updated to reflect the change in the boundary curves
Created in NX6.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")