NX Open C++ Reference Guide
|
Represents a @link Drawings::ViewAlignmentBuilder Drawings::ViewAlignmentBuilder@endlink .This class is used to construct the view alignment Builder <br> To create a new instance of this class, use @link Drawings::ViewAlignmentCollection::CreateViewAlignmentBuilder Drawings::ViewAlignmentCollection::CreateViewAlignmentBuilder @endlink <br>
Default values. More...
Public Member Functions | |
NXOpen::Drawings::DraftingView * | CandidateView () |
Returns the candidate view in builder Created in NX8.5.0. | |
void | DeleteCurrentAlignment () |
Deletes a view alignment that is stored as the current alignment in the builder Created in NX8.5.0. | |
bool | InEditMode () |
Returns the builder edit mode flag. | |
NXOpen::Drawings::ViewPlacementBuilder * | Placement () |
Returns the view placement component Created in NX8.5.0. | |
NXOpen::Drawings::ViewAlignment * | SelectedAlignment () |
Returns the selected alignment in builder. | |
void | SetCandidateView (NXOpen::Drawings::DraftingView *candidateView) |
Sets the candidate view in builder Created in NX8.5.0. | |
void | SetInEditMode (bool inEditMode) |
Sets the builder edit mode flag. | |
void | SetSelectedAlignment (NXOpen::Drawings::ViewAlignment *alignment) |
Sets the selected alignment in builder. | |
NXOpen::Drawings::SelectDraftingView * | View () |
Returns the select drafting view component Created in NX8.5.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 @link Drawings::ViewAlignmentBuilder Drawings::ViewAlignmentBuilder@endlink .This class is used to construct the view alignment Builder <br> To create a new instance of this class, use @link Drawings::ViewAlignmentCollection::CreateViewAlignmentBuilder Drawings::ViewAlignmentCollection::CreateViewAlignmentBuilder @endlink <br>
Default values.
Property | Value |
---|---|
Placement.AlignmentMethod |
Infer |
Placement.AlignmentOption |
ToView |
Created in NX8.5.0.
NXOpen::Drawings::DraftingView* NXOpen::Drawings::ViewAlignmentBuilder::CandidateView | ( | ) |
Returns the candidate view in builder
Created in NX8.5.0.
License requirements : drafting ("DRAFTING")
void NXOpen::Drawings::ViewAlignmentBuilder::DeleteCurrentAlignment | ( | ) |
Deletes a view alignment that is stored as the current alignment in the builder
Created in NX8.5.0.
License requirements : drafting ("DRAFTING")
bool NXOpen::Drawings::ViewAlignmentBuilder::InEditMode | ( | ) |
Returns the builder edit mode flag.
There are two modes in the view alignment dialog, Create and Edit modes, and the flag determines the current mode. View alignment can be created in Create mode, and edited or deleted in Edit mode.
Created in NX8.5.0.
License requirements : drafting ("DRAFTING")
NXOpen::Drawings::ViewPlacementBuilder* NXOpen::Drawings::ViewAlignmentBuilder::Placement | ( | ) |
Returns the view placement component
Created in NX8.5.0.
License requirements : None
NXOpen::Drawings::ViewAlignment* NXOpen::Drawings::ViewAlignmentBuilder::SelectedAlignment | ( | ) |
Returns the selected alignment in builder.
It needs to be set in edit mode as it specifies which alignment in the list needs to be edited or deleted
Created in NX8.5.0.
License requirements : drafting ("DRAFTING")
void NXOpen::Drawings::ViewAlignmentBuilder::SetCandidateView | ( | NXOpen::Drawings::DraftingView * | candidateView | ) |
Sets the candidate view in builder
Created in NX8.5.0.
License requirements : drafting ("DRAFTING")
candidateView | candidateview |
void NXOpen::Drawings::ViewAlignmentBuilder::SetInEditMode | ( | bool | inEditMode | ) |
Sets the builder edit mode flag.
There are two modes in the view alignment dialog, Create and Edit modes, and the flag determines the current mode. View alignment can be created in Create mode, and edited or deleted in Edit mode.
Created in NX8.5.0.
License requirements : drafting ("DRAFTING")
inEditMode | ineditmode |
void NXOpen::Drawings::ViewAlignmentBuilder::SetSelectedAlignment | ( | NXOpen::Drawings::ViewAlignment * | alignment | ) |
Sets the selected alignment in builder.
It needs to be set in edit mode as it specifies which alignment in the list needs to be edited or deleted
Created in NX8.5.0.
License requirements : drafting ("DRAFTING")
alignment | alignment |
NXOpen::Drawings::SelectDraftingView* NXOpen::Drawings::ViewAlignmentBuilder::View | ( | ) |
Returns the select drafting view component
Created in NX8.5.0.
License requirements : None