NXOpen .NET Reference Guide  1899
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties
Public Member Functions | List of all members
NXOpen.Routing.PlacementSolutionsBuilder Class Reference

More...

Inheritance diagram for NXOpen.Routing.PlacementSolutionsBuilder:
NXOpen.Builder NXOpen.TaggedObject NXOpen.GeometricUtilities.IComponentBuilder NXOpen.Utilities.NXRemotableObject IMessageSink

Public Member Functions

unsafe void ApplyConstraintsAndClear ()
 Commit the solution and apply constraints if needed. More...
 
unsafe void ApplyConstraintsAndClear (bool lockEngagement, bool lockRotation)
 Commit the solution and apply constraints if needed. More...
 
unsafe void ApplyConstraintsAndClear (bool lockEngagement, bool lockRotation, bool fixPart)
 Commit the solution and apply constraints if needed. More...
 
unsafe void ApplyPortRotation (double angle)
 Applies a rotation to the component about the axis of the port being used for placement. More...
 
unsafe void FirstSolution ()
 Cycle to the first solution. More...
 
unsafe bool GetConsiderPorts ()
 Returns false if the first placement solution maintains the origin and orientation of the original component. More...
 
unsafe bool GetLookForAdditionalPlacementSolutions ()
 Is Place Part looking for additional placement solutions? Used for Maintain Origin and Orientation replacement. More...
 
unsafe int GetNumberOfSolutions ()
 Returns the total number of solutions based on the placement object. More...
 
unsafe bool GetOnlyPrimaryPlacementSolutions ()
 Is Place Part only considering the primary placement solutions? More...
 
unsafe int GetSolutionIndex ()
 Returns the current index of the solution. More...
 
unsafe void InitializePlacementData (NXOpen.TaggedObject part, NXOpen.Point3d placementPos, NXOpen.TaggedObject partToPlace)
 Initialize Placement Data More...
 
unsafe void NextSolution ()
 Cycle to the next solution. More...
 
unsafe void PreviousSolution ()
 Cycle to the previous solution More...
 
unsafe void SetConsiderPorts (bool considerPorts)
 Set to false to include a placement solution maintaining the origin and orientation of the component being replaced. More...
 
unsafe void SetLookForAdditionalPlacementSolutions (bool lookForAdditionalPlacementSolutions)
 Set to true to look for additional placement solutions. More...
 
unsafe void SetOnlyPrimaryPlacementSolutions (bool onlyPrimaryPlacementSolutions)
 True tells Place Part to only consider the primary placement solutions. More...
 
- Public Member Functions inherited from NXOpen.Builder
unsafe NXOpen.NXObject Commit ()
 Commits any edits that have been applied to the builder. More...
 
unsafe void Destroy ()
 Deletes the builder, and cleans up any objects created by the builder. More...
 
unsafe NXOpen.NXObject[] GetCommittedObjects ()
 For builders that create more than one object, this method returns the objects that are created by commit. More...
 
unsafe NXOpen.NXObject GetObject ()
 Returns the object currently being edited by this builder. More...
 
unsafe void ShowResults ()
 Updates the model to reflect the result of an edit to the model for all builders that support showing results. More...
 
unsafe bool Validate ()
 Validate whether the inputs to the component are sufficient for commit to be called. More...
 
- Public Member Functions inherited from NXOpen.TaggedObject
void PrintTestData (String variableName)
 <exclude> More...
 
void PrintTestData (String variableName, int lineNumber)
 <exclude> More...
 
override string ToString ()
 Returns a String that represents the current Object. More...
 
- Public Member Functions inherited from NXOpen.Utilities.NXRemotableObject
IMessageCtrl AsyncProcessMessage (IMessage msg, IMessageSink replySink)
 Asynchronously processes the given message. More...
 
IMessage SyncProcessMessage (IMessage msg)
 Synchronously processes the given message. More...
 

Additional Inherited Members

- Protected Member Functions inherited from NXOpen.TaggedObject
new void initialize ()
 <exclude> More...
 
- Properties inherited from NXOpen.Builder
unsafe NXOpen.PreviewBuilder PreviewBuilder [get]
 Returns the preview builder subobject. More...
 

Detailed Description

To create a new instance of this class, use NXOpen.Routing.RouteManager.CreatePlacementSolutionsBuilder

Created in NX7.5.0

Member Function Documentation

unsafe void NXOpen.Routing.PlacementSolutionsBuilder.ApplyConstraintsAndClear ( )
inline

Commit the solution and apply constraints if needed.

Created in NX7.5.0

License requirements: routing_base ("Routing Basic")

unsafe void NXOpen.Routing.PlacementSolutionsBuilder.ApplyConstraintsAndClear ( bool  lockEngagement,
bool  lockRotation 
)
inline

Commit the solution and apply constraints if needed.

Created in NX7.5.0

License requirements: routing_base ("Routing Basic")

Parameters
lockEngagementLock engagement if applicable.
lockRotationLock Rotation if applicable.
unsafe void NXOpen.Routing.PlacementSolutionsBuilder.ApplyConstraintsAndClear ( bool  lockEngagement,
bool  lockRotation,
bool  fixPart 
)
inline

Commit the solution and apply constraints if needed.

Created in NX7.5.2

License requirements: routing_base ("Routing Basic")

Parameters
lockEngagementLock engagement if applicable.
lockRotationLock Rotation if applicable.
fixPartFix Part if applicable.
unsafe void NXOpen.Routing.PlacementSolutionsBuilder.ApplyPortRotation ( double  angle)
inline

Applies a rotation to the component about the axis of the port being used for placement.

Created in NX7.5.2

License requirements: routing_base ("Routing Basic")

Parameters
angleAngle to apply.
unsafe void NXOpen.Routing.PlacementSolutionsBuilder.FirstSolution ( )
inline

Cycle to the first solution.

Created in NX7.5.0

License requirements: routing_base ("Routing Basic")

unsafe bool NXOpen.Routing.PlacementSolutionsBuilder.GetConsiderPorts ( )
inline

Returns false if the first placement solution maintains the origin and orientation of the original component.

Created in NX10.3.0

License requirements: routing_base ("Routing Basic")

Returns
Are ports to be considered when finding the first placement solution?
unsafe bool NXOpen.Routing.PlacementSolutionsBuilder.GetLookForAdditionalPlacementSolutions ( )
inline

Is Place Part looking for additional placement solutions? Used for Maintain Origin and Orientation replacement.

Created in NX11.0.1

License requirements: routing_base ("Routing Basic")

Returns
Are additional placement solutions to be found?
unsafe int NXOpen.Routing.PlacementSolutionsBuilder.GetNumberOfSolutions ( )
inline

Returns the total number of solutions based on the placement object.

Created in NX8.5.3

License requirements: routing_base ("Routing Basic")

Returns
unsafe bool NXOpen.Routing.PlacementSolutionsBuilder.GetOnlyPrimaryPlacementSolutions ( )
inline

Is Place Part only considering the primary placement solutions?

Created in NX11.0.1

License requirements: routing_base ("Routing Basic")

Returns
Are only the primary placement solutions to be found?
unsafe int NXOpen.Routing.PlacementSolutionsBuilder.GetSolutionIndex ( )
inline

Returns the current index of the solution.

For example, index 1 of 10 solutions.

Created in NX8.5.3

License requirements: routing_base ("Routing Basic")

Returns
unsafe void NXOpen.Routing.PlacementSolutionsBuilder.InitializePlacementData ( NXOpen.TaggedObject  part,
NXOpen.Point3d  placementPos,
NXOpen.TaggedObject  partToPlace 
)
inline

Initialize Placement Data

Created in NX7.5.0

License requirements: routing_base ("Routing Basic")

Parameters
partThe part which the new part was dropped on.
placementPosLocation the part was placed
partToPlaceThe part being placed.
unsafe void NXOpen.Routing.PlacementSolutionsBuilder.NextSolution ( )
inline

Cycle to the next solution.

Created in NX7.5.0

License requirements: routing_base ("Routing Basic")

unsafe void NXOpen.Routing.PlacementSolutionsBuilder.PreviousSolution ( )
inline

Cycle to the previous solution

Created in NX7.5.0

License requirements: routing_base ("Routing Basic")

unsafe void NXOpen.Routing.PlacementSolutionsBuilder.SetConsiderPorts ( bool  considerPorts)
inline

Set to false to include a placement solution maintaining the origin and orientation of the component being replaced.

This solution, where ports are not considered in the calculation, will be the first solution.

Created in NX10.3.0

License requirements: routing_base ("Routing Basic")

Parameters
considerPortsAre ports to be considered when finding the first placement solution?
unsafe void NXOpen.Routing.PlacementSolutionsBuilder.SetLookForAdditionalPlacementSolutions ( bool  lookForAdditionalPlacementSolutions)
inline

Set to true to look for additional placement solutions.

Used for Maintain Origin and Orientation replacement.

Created in NX11.0.1

License requirements: routing_base ("Routing Basic")

Parameters
lookForAdditionalPlacementSolutionsAre additional placement solutions to be found?
unsafe void NXOpen.Routing.PlacementSolutionsBuilder.SetOnlyPrimaryPlacementSolutions ( bool  onlyPrimaryPlacementSolutions)
inline

True tells Place Part to only consider the primary placement solutions.

Created in NX11.0.1

License requirements: routing_base ("Routing Basic")

Parameters
onlyPrimaryPlacementSolutionsAre only the primary placement solutions to be found?

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