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

Represents a builder class that will create and work with placement solutions. More...

Inheritance diagram for NXOpen::Placement::PlacementEngineBuilder:
NXOpen::Builder NXOpen::TaggedObject NXOpen::GeometricUtilities::IComponentBuilder

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::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 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.

Member Function Documentation

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

Parameters
placementSolutionplacementsolution
std::vector<NXOpen::Placement::PlacementSolution *> NXOpen::Placement::PlacementEngineBuilder::ComputePlacementSolutions ( )

Computes and returns the placement solutions.

Returns

Created in NX11.0.0.

License requirements : None
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

Parameters
placementSolutionsplacementsolutions

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