NX Open C++ Reference Guide
|
Assigns stocks to segments based on user's criteria and the current default stock. More...
Public Types | |
enum | AssignMethod { AssignMethodNone, AssignMethodFromStartObject, AssignMethodCircular, AssignMethodRectangular, AssignMethodFlatOval, AssignMethodSpecifiedStock } |
Determines how to choose which stock to assign. More... | |
enum | AssignStockSubType { AssignStockSubTypeStock, AssignStockSubTypeSpaceReservation } |
Determines the type of sub stock being assigned. More... | |
enum | AssignStockType { AssignStockTypeStock, AssignStockTypeOverstock } |
Determines the type of stock being assigned. More... | |
enum | SpaceReservationMethod { SpaceReservationMethodNone, SpaceReservationMethodFromStartObject, SpaceReservationMethodCircular, SpaceReservationMethodRectangular, SpaceReservationMethodFlatOval, SpaceReservationMethodSpecifiedSpaceReservation } |
Determines how to choose which space reservation to assign. More... | |
enum | StockMethod { StockMethodNone, StockMethodSpecifiedStock } |
Determines how to choose which stock to assign. More... | |
Public Member Functions | |
NXOpen::MechanicalRouting::PathStockPreferenceBuilder::AssignMethod | AssignStockMethod () |
Returns the method to determine which stock to assign. More... | |
NXOpen::Expression * | Diameter () |
Returns the diameter value to use for the NXOpen::MechanicalRouting::PathStockPreferenceBuilder::SpaceReservationMethodCircular method of stock assignment. More... | |
NXOpen::Expression * | FlatOvalHeight () |
Returns the height value to use for the NXOpen::MechanicalRouting::PathStockPreferenceBuilder::SpaceReservationMethodFlatOval method of stock assignment. More... | |
NXOpen::Expression * | FlatOvalWidth () |
Returns the Width value to use for the NXOpen::MechanicalRouting::PathStockPreferenceBuilder::SpaceReservationMethodFlatOval method of stock assignment Created in NX11.0.0. More... | |
NXString | GetClassificationObjectIdentifierForSpaceReservation () |
Get the identifier of the classification object associated with the space reservation part to place NOTE: Client should NOT free the returned string. More... | |
NXString | GetClassificationObjectIdentifierForStock () |
Get the identifier of the classification object associated with the stock part to place NOTE: Client should NOT free the returned string. More... | |
NXString | GetFileSpecificationOfSpaceReservationToPlace () |
Get the file specification of the space reservation part to place NOTE: Client should NOT free the returned string. More... | |
NXString | GetFileSpecificationOfStockToPlace () |
Get the file specification of the stock part to place NOTE: Client should NOT free the returned string. More... | |
NXOpen::Expression * | RectangularHeight () |
Returns the height value to use for the NXOpen::MechanicalRouting::PathStockPreferenceBuilder::SpaceReservationMethodRectangular method of stock assignment. More... | |
NXOpen::Expression * | RectangularWidth () |
Returns the Width value to use for the NXOpen::MechanicalRouting::PathStockPreferenceBuilder::SpaceReservationMethodRectangular method of stock assignment Created in NX11.0.0. More... | |
void | SetAssignStockMethod (NXOpen::MechanicalRouting::PathStockPreferenceBuilder::AssignMethod method) |
Sets the method to determine which stock to assign. More... | |
void | SetClassificationObjectIdentifier (const NXString &classificationObjectId) |
Sets the identifier of the classification object associated with the part to place More... | |
void | SetClassificationObjectIdentifier (const char *classificationObjectId) |
Sets the identifier of the classification object associated with the part to place More... | |
void | SetClassificationObjectIdentifierForSpaceReservation (const NXString &classificationObjectId) |
Sets the identifier of the classification object associated with the space reservation part to place Created in NX11.0.0. More... | |
void | SetClassificationObjectIdentifierForSpaceReservation (const char *classificationObjectId) |
Sets the identifier of the classification object associated with the space reservation part to place Created in NX11.0.0. More... | |
void | SetClassificationObjectIdentifierForStock (const NXString &classificationObjectId) |
Sets the identifier of the classification object associated with the stock part to place Created in NX11.0.1. More... | |
void | SetClassificationObjectIdentifierForStock (const char *classificationObjectId) |
Sets the identifier of the classification object associated with the stock part to place Created in NX11.0.1. More... | |
void | SetDiameter (NXOpen::Expression *diameter) |
Sets the diameter value to use for the NXOpen::MechanicalRouting::PathStockPreferenceBuilder::SpaceReservationMethodCircular method of stock assignment. More... | |
void | SetFileSpecificationOfSpaceReservationToPlace (const NXString &filename) |
Sets the file specification of the space reservation part to place Created in NX11.0.1. More... | |
void | SetFileSpecificationOfSpaceReservationToPlace (const char *filename) |
Sets the file specification of the space reservation part to place Created in NX11.0.1. More... | |
void | SetFileSpecificationOfStockToPlace (const NXString &filename) |
Sets the file specification of the stock part to place Created in NX11.0.0. More... | |
void | SetFileSpecificationOfStockToPlace (const char *filename) |
Sets the file specification of the stock part to place Created in NX11.0.0. More... | |
void | SetSpaceReservationMethodType (NXOpen::MechanicalRouting::PathStockPreferenceBuilder::SpaceReservationMethod method) |
Sets the method to determine which space reservation to assign. More... | |
void | SetStartObject (NXOpen::NXObject *startObject) |
Sets the start object to use for the NXOpen::MechanicalRouting::PathStockPreferenceBuilder::SpaceReservationMethodFromStartObject method of stock assignment. More... | |
void | SetStockMethodType (NXOpen::MechanicalRouting::PathStockPreferenceBuilder::StockMethod method) |
Sets the method to determine which stock to assign. More... | |
void | SetStockSubType (NXOpen::MechanicalRouting::PathStockPreferenceBuilder::AssignStockSubType stockType) |
Sets the type of stock being assigned. More... | |
void | SetStockType (NXOpen::MechanicalRouting::PathStockPreferenceBuilder::AssignStockType stockType) |
Sets the type of stock being assigned. More... | |
NXOpen::MechanicalRouting::PathStockPreferenceBuilder::SpaceReservationMethod | SpaceReservationMethodType () |
Returns the method to determine which space reservation to assign. More... | |
NXOpen::NXObject * | StartObject () |
Returns the start object to use for the NXOpen::MechanicalRouting::PathStockPreferenceBuilder::SpaceReservationMethodFromStartObject method of stock assignment. More... | |
NXOpen::MechanicalRouting::PathStockPreferenceBuilder::StockMethod | StockMethodType () |
Returns the method to determine which stock to assign. More... | |
NXOpen::MechanicalRouting::PathStockPreferenceBuilder::AssignStockSubType | StockSubType () |
Returns the type of stock being assigned. More... | |
NXOpen::MechanicalRouting::PathStockPreferenceBuilder::AssignStockType | StockType () |
Returns the type of stock being assigned. 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... | |
Assigns stocks to segments based on user's criteria and the current default stock.
Created in NX11.0.0.
Determines how to choose which stock to assign.
Determines how to choose which space reservation to assign.
NXOpen::MechanicalRouting::PathStockPreferenceBuilder::AssignMethod NXOpen::MechanicalRouting::PathStockPreferenceBuilder::AssignStockMethod | ( | ) |
Returns the method to determine which stock to assign.
Created in NX11.0.0.
License requirements : routing_base ("Routing Basic")
NXOpen::Expression* NXOpen::MechanicalRouting::PathStockPreferenceBuilder::Diameter | ( | ) |
Returns the diameter value to use for the NXOpen::MechanicalRouting::PathStockPreferenceBuilder::SpaceReservationMethodCircular method of stock assignment.
Created in NX11.0.0.
License requirements : routing_base ("Routing Basic")
NXOpen::Expression* NXOpen::MechanicalRouting::PathStockPreferenceBuilder::FlatOvalHeight | ( | ) |
Returns the height value to use for the NXOpen::MechanicalRouting::PathStockPreferenceBuilder::SpaceReservationMethodFlatOval method of stock assignment.
Created in NX11.0.0.
License requirements : routing_base ("Routing Basic")
NXOpen::Expression* NXOpen::MechanicalRouting::PathStockPreferenceBuilder::FlatOvalWidth | ( | ) |
Returns the Width value to use for the NXOpen::MechanicalRouting::PathStockPreferenceBuilder::SpaceReservationMethodFlatOval method of stock assignment
Created in NX11.0.0.
License requirements : routing_base ("Routing Basic")
NXString NXOpen::MechanicalRouting::PathStockPreferenceBuilder::GetClassificationObjectIdentifierForSpaceReservation | ( | ) |
Get the identifier of the classification object associated with the space reservation part to place NOTE: Client should NOT free the returned string.
NXString NXOpen::MechanicalRouting::PathStockPreferenceBuilder::GetClassificationObjectIdentifierForStock | ( | ) |
Get the identifier of the classification object associated with the stock part to place NOTE: Client should NOT free the returned string.
NXString NXOpen::MechanicalRouting::PathStockPreferenceBuilder::GetFileSpecificationOfSpaceReservationToPlace | ( | ) |
Get the file specification of the space reservation part to place NOTE: Client should NOT free the returned string.
NXString NXOpen::MechanicalRouting::PathStockPreferenceBuilder::GetFileSpecificationOfStockToPlace | ( | ) |
Get the file specification of the stock part to place NOTE: Client should NOT free the returned string.
NXOpen::Expression* NXOpen::MechanicalRouting::PathStockPreferenceBuilder::RectangularHeight | ( | ) |
Returns the height value to use for the NXOpen::MechanicalRouting::PathStockPreferenceBuilder::SpaceReservationMethodRectangular method of stock assignment.
Created in NX11.0.0.
License requirements : routing_base ("Routing Basic")
NXOpen::Expression* NXOpen::MechanicalRouting::PathStockPreferenceBuilder::RectangularWidth | ( | ) |
Returns the Width value to use for the NXOpen::MechanicalRouting::PathStockPreferenceBuilder::SpaceReservationMethodRectangular method of stock assignment
Created in NX11.0.0.
License requirements : routing_base ("Routing Basic")
void NXOpen::MechanicalRouting::PathStockPreferenceBuilder::SetAssignStockMethod | ( | NXOpen::MechanicalRouting::PathStockPreferenceBuilder::AssignMethod | method | ) |
Sets the method to determine which stock to assign.
Created in NX11.0.0.
License requirements : routing_base ("Routing Basic")
method | method |
void NXOpen::MechanicalRouting::PathStockPreferenceBuilder::SetClassificationObjectIdentifier | ( | const NXString & | classificationObjectId | ) |
Sets the identifier of the classification object associated with the part to place
Use NXOpen::MechanicalRouting::PathStockPreferenceBuilder::SetClassificationObjectIdentifierForStock instead.
Created in NX11.0.0.
License requirements : routing_base ("Routing Basic")
classificationObjectId | classificationobjectid |
void NXOpen::MechanicalRouting::PathStockPreferenceBuilder::SetClassificationObjectIdentifier | ( | const char * | classificationObjectId | ) |
Sets the identifier of the classification object associated with the part to place
Use NXOpen::MechanicalRouting::PathStockPreferenceBuilder::SetClassificationObjectIdentifierForStock instead.
Created in NX11.0.0.
License requirements : routing_base ("Routing Basic")
classificationObjectId | classificationobjectid |
void NXOpen::MechanicalRouting::PathStockPreferenceBuilder::SetClassificationObjectIdentifierForSpaceReservation | ( | const NXString & | classificationObjectId | ) |
Sets the identifier of the classification object associated with the space reservation part to place
Created in NX11.0.0.
License requirements : routing_base ("Routing Basic")
classificationObjectId | classificationobjectid |
void NXOpen::MechanicalRouting::PathStockPreferenceBuilder::SetClassificationObjectIdentifierForSpaceReservation | ( | const char * | classificationObjectId | ) |
Sets the identifier of the classification object associated with the space reservation part to place
Created in NX11.0.0.
License requirements : routing_base ("Routing Basic")
classificationObjectId | classificationobjectid |
void NXOpen::MechanicalRouting::PathStockPreferenceBuilder::SetClassificationObjectIdentifierForStock | ( | const NXString & | classificationObjectId | ) |
Sets the identifier of the classification object associated with the stock part to place
Created in NX11.0.1.
License requirements : routing_base ("Routing Basic")
classificationObjectId | classificationobjectid |
void NXOpen::MechanicalRouting::PathStockPreferenceBuilder::SetClassificationObjectIdentifierForStock | ( | const char * | classificationObjectId | ) |
Sets the identifier of the classification object associated with the stock part to place
Created in NX11.0.1.
License requirements : routing_base ("Routing Basic")
classificationObjectId | classificationobjectid |
void NXOpen::MechanicalRouting::PathStockPreferenceBuilder::SetDiameter | ( | NXOpen::Expression * | diameter | ) |
Sets the diameter value to use for the NXOpen::MechanicalRouting::PathStockPreferenceBuilder::SpaceReservationMethodCircular method of stock assignment.
Created in NX11.0.0.
License requirements : routing_base ("Routing Basic")
diameter | diameter |
void NXOpen::MechanicalRouting::PathStockPreferenceBuilder::SetFileSpecificationOfSpaceReservationToPlace | ( | const NXString & | filename | ) |
Sets the file specification of the space reservation part to place
Created in NX11.0.1.
License requirements : routing_base ("Routing Basic")
filename | filename |
void NXOpen::MechanicalRouting::PathStockPreferenceBuilder::SetFileSpecificationOfSpaceReservationToPlace | ( | const char * | filename | ) |
Sets the file specification of the space reservation part to place
Created in NX11.0.1.
License requirements : routing_base ("Routing Basic")
filename | filename |
void NXOpen::MechanicalRouting::PathStockPreferenceBuilder::SetFileSpecificationOfStockToPlace | ( | const NXString & | filename | ) |
Sets the file specification of the stock part to place
Created in NX11.0.0.
License requirements : routing_base ("Routing Basic")
filename | filename |
void NXOpen::MechanicalRouting::PathStockPreferenceBuilder::SetFileSpecificationOfStockToPlace | ( | const char * | filename | ) |
Sets the file specification of the stock part to place
Created in NX11.0.0.
License requirements : routing_base ("Routing Basic")
filename | filename |
void NXOpen::MechanicalRouting::PathStockPreferenceBuilder::SetSpaceReservationMethodType | ( | NXOpen::MechanicalRouting::PathStockPreferenceBuilder::SpaceReservationMethod | method | ) |
Sets the method to determine which space reservation to assign.
Created in NX11.0.1.
License requirements : routing_base ("Routing Basic")
method | method |
void NXOpen::MechanicalRouting::PathStockPreferenceBuilder::SetStartObject | ( | NXOpen::NXObject * | startObject | ) |
Sets the start object to use for the NXOpen::MechanicalRouting::PathStockPreferenceBuilder::SpaceReservationMethodFromStartObject method of stock assignment.
Created in NX11.0.0.
License requirements : routing_base ("Routing Basic")
startObject | start object |
void NXOpen::MechanicalRouting::PathStockPreferenceBuilder::SetStockMethodType | ( | NXOpen::MechanicalRouting::PathStockPreferenceBuilder::StockMethod | method | ) |
Sets the method to determine which stock to assign.
Created in NX11.0.1.
License requirements : routing_base ("Routing Basic")
method | method |
void NXOpen::MechanicalRouting::PathStockPreferenceBuilder::SetStockSubType | ( | NXOpen::MechanicalRouting::PathStockPreferenceBuilder::AssignStockSubType | stockType | ) |
Sets the type of stock being assigned.
Created in NX11.0.0.
License requirements : routing_base ("Routing Basic")
stockType | stock type |
void NXOpen::MechanicalRouting::PathStockPreferenceBuilder::SetStockType | ( | NXOpen::MechanicalRouting::PathStockPreferenceBuilder::AssignStockType | stockType | ) |
Sets the type of stock being assigned.
Created in NX11.0.0.
License requirements : routing_base ("Routing Basic")
stockType | stock type |
NXOpen::MechanicalRouting::PathStockPreferenceBuilder::SpaceReservationMethod NXOpen::MechanicalRouting::PathStockPreferenceBuilder::SpaceReservationMethodType | ( | ) |
Returns the method to determine which space reservation to assign.
Created in NX11.0.1.
License requirements : routing_base ("Routing Basic")
NXOpen::NXObject* NXOpen::MechanicalRouting::PathStockPreferenceBuilder::StartObject | ( | ) |
Returns the start object to use for the NXOpen::MechanicalRouting::PathStockPreferenceBuilder::SpaceReservationMethodFromStartObject method of stock assignment.
Created in NX11.0.0.
License requirements : routing_base ("Routing Basic")
NXOpen::MechanicalRouting::PathStockPreferenceBuilder::StockMethod NXOpen::MechanicalRouting::PathStockPreferenceBuilder::StockMethodType | ( | ) |
Returns the method to determine which stock to assign.
Created in NX11.0.1.
License requirements : routing_base ("Routing Basic")
NXOpen::MechanicalRouting::PathStockPreferenceBuilder::AssignStockSubType NXOpen::MechanicalRouting::PathStockPreferenceBuilder::StockSubType | ( | ) |
Returns the type of stock being assigned.
Created in NX11.0.0.
License requirements : routing_base ("Routing Basic")
NXOpen::MechanicalRouting::PathStockPreferenceBuilder::AssignStockType NXOpen::MechanicalRouting::PathStockPreferenceBuilder::StockType | ( | ) |
Returns the type of stock being assigned.
Created in NX11.0.0.
License requirements : routing_base ("Routing Basic")
|
virtual |
Validate whether the inputs to the component are sufficient for commit to be called.
If the component is not in a state to commit then an exception is thrown. For example, if the component requires you to set some property, this method will throw an exception if you haven't set it. This method throws a not-yet-implemented NXException for some components.
Implements NXOpen::GeometricUtilities::IComponentBuilder.