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

Represents a NXOpen::Drawings::ViewAlignmentBuilder .This class is used to construct the view alignment Builder
To create a new instance of this class, use NXOpen::Drawings::ViewAlignmentCollection::CreateViewAlignmentBuilder
Default values. More...

Inheritance diagram for NXOpen::Drawings::ViewAlignmentBuilder:
NXOpen::Builder NXOpen::TaggedObject NXOpen::GeometricUtilities::IComponentBuilder

Public Member Functions

NXOpen::Drawings::DraftingViewCandidateView ()
 Returns the candidate view in builder
Created in NX8.5.0. More...
 
void DeleteCurrentAlignment ()
 Deletes a view alignment that is stored as the current alignment in the builder
Created in NX8.5.0. More...
 
bool InEditMode ()
 Returns the builder edit mode flag. More...
 
NXOpen::Drawings::ViewPlacementBuilderPlacement ()
 Returns the view placement component
Created in NX8.5.0. More...
 
NXOpen::Drawings::ViewAlignmentSelectedAlignment ()
 Returns the selected alignment in builder. More...
 
void SetCandidateView (NXOpen::Drawings::DraftingView *candidateView)
 Sets the candidate view in builder
Created in NX8.5.0. More...
 
void SetInEditMode (bool inEditMode)
 Sets the builder edit mode flag. More...
 
void SetSelectedAlignment (NXOpen::Drawings::ViewAlignment *alignment)
 Sets the selected alignment in builder. More...
 
NXOpen::Drawings::SelectDraftingViewView ()
 Returns the select drafting view component
Created in NX8.5.0. 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::Drawings::ViewAlignmentBuilder .This class is used to construct the view alignment Builder
To create a new instance of this class, use NXOpen::Drawings::ViewAlignmentCollection::CreateViewAlignmentBuilder
Default values.

Property Value

Placement.AlignmentMethod

Infer

Placement.AlignmentOption

ToView


Created in NX8.5.0.

Member Function Documentation

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")

Parameters
candidateViewcandidateview
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")

Parameters
inEditModeineditmode
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")

Parameters
alignmentalignment
NXOpen::Drawings::SelectDraftingView* NXOpen::Drawings::ViewAlignmentBuilder::View ( )

Returns the select drafting view component
Created in NX8.5.0.



License requirements : None


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