NX Open C++ Reference Guide
|
Represents a builder class that will create and work with placement solutions. More...
Public Member Functions | |
void | ApplyPlacementSolution (NXOpen::Placement::PlacementSolution *placementSolution) |
Sets the transform on part being placed using the supplied placement solution. More... | |
std::vector < NXOpen::Placement::PlacementSolution * > | ComputePlacementSolutions () |
Computes and returns the placement solutions. More... | |
void | SetFilteredPlacementSolutions (const std::vector< NXOpen::Placement::PlacementSolution * > &placementSolutions) |
Sets the input PlacementSolutions as the filtered solutions on the PlacementEngineBuilder in the given order. 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 builder class that will create and work with placement solutions.
An instance of this class can be obtained from NXOpen::MechanicalRouting::PartPlacementBuilder::InitializePlacementEngineBuilder
Created in NX11.0.0.
void NXOpen::Placement::PlacementEngineBuilder::ApplyPlacementSolution | ( | NXOpen::Placement::PlacementSolution * | placementSolution | ) |
Sets the transform on part being placed using the supplied placement solution.
Created in NX11.0.0.
License requirements : None
placementSolution | placementsolution |
std::vector<NXOpen::Placement::PlacementSolution *> NXOpen::Placement::PlacementEngineBuilder::ComputePlacementSolutions | ( | ) |
Computes and returns the placement solutions.
void NXOpen::Placement::PlacementEngineBuilder::SetFilteredPlacementSolutions | ( | const std::vector< NXOpen::Placement::PlacementSolution * > & | placementSolutions | ) |
Sets the input PlacementSolutions as the filtered solutions on the PlacementEngineBuilder in the given order.
Different clients can have their own methodology for filtering the solutions e.g. Part Placement can decide to filter out solutions based on a particular port on the input placeable object.
Created in NX11.0.0.
License requirements : None
placementSolutions | placementsolutions |