|
NX Open C++ Reference Guide
|
Represents a @link SketchAssociativeTrimBuilder SketchAssociativeTrimBuilder@endlink <br> To create a new instance of this class, use @link SketchCollection::CreateSketchAssociativeTrimBuilder SketchCollection::CreateSketchAssociativeTrimBuilder @endlink <br>
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. | |
| 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. | |
| std::vector< NXOpen::Section * > | GetSections () |
| This function gets all sections of the trim constraint during create/edit. | |
| NXOpen::SelectNXObjectList * | RecipeCurves () |
| Returns the input curves. | |
| void | RemoveSection (NXOpen::Section *section) |
| The function removes the given section from the builder Created in NX6.0.0. | |
| void | ResetRegions () |
| The regions are forced to be deselected Created in NX6.0.0. | |
| void | SelectRegion (const NXOpen::Point3d &helpPoint) |
| The function sets help point for region select. | |
| void | SetTrimType (NXOpen::SketchAssociativeTrimBuilder::TrimOption option) |
| Sets the trim region type - if the region needs to be kept/discarded Created in NX6.0.0. | |
| NXOpen::SketchAssociativeTrimBuilder::TrimOption | TrimType () |
| Returns the trim region type - if the region needs to be kept/discarded Created in NX6.0.0. | |
| void | UpdateRegions () |
| The regions are recreated and updated to reflect the change in the boundary curves Created in NX6.0.0. | |
Public Member Functions inherited from NXOpen::Builder | |
| 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. | |
Public Member Functions inherited from NXOpen::TaggedObject | |
| tag_t | GetTag () const |
<b>Deprecated</b>:<br> Use Tag instead. | |
| tag_t | Tag () const |
| Returns the tag of this object. | |
Represents a @link SketchAssociativeTrimBuilder SketchAssociativeTrimBuilder@endlink <br> To create a new instance of this class, use @link SketchCollection::CreateSketchAssociativeTrimBuilder SketchCollection::CreateSketchAssociativeTrimBuilder @endlink <br>
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")