|
NX Open C++ Reference Guide
|
Represents a Tooling::ReusableObjectPasteBuilder
Use the ReusableObjectManager class to create a ReusableObjectPasteBuilder.
More...
Public Types | |
| enum | PasteMethods { PasteMethodsNone, PasteMethodsAdd, PasteMethodsSubtract, PasteMethodsUserdefined, PasteMethodsSolidpunch } |
| Specifies the design option. More... | |
Public Member Functions | |
| bool | Associative () |
| Returns the option specifying whether to associate the csys of reuse object to target entity Created in NX8.0.2. | |
| NXOpen::NXObject * | DropFace () |
| Returns the drop face required for reattach sketch when using one-pick position method Created in NX8.0.0. | |
| NXOpen::Matrix3x3 | DynamicCsysOrientation () |
| Returns the orientation of dynamic csys Created in NX8.0.0. | |
| NXOpen::Point3d | DynamicCsysOrigin () |
| Returns the origin of dynamic csys Created in NX8.0.0. | |
| NXOpen::NXObject * | EditFeatureGroup () |
| Returns the feature group created after reuse paste Created in NX8.0.0. | |
| void | GetCreatedObjects (std::vector< NXOpen::NXObject * > &createdObjects) |
| Gets the created objects Created in NX8.5.0. | |
| NXOpen::Tooling::SpreadsheetData * | GetSpreadsheetData () |
| Gets the spreadsheet data. | |
| NXOpen::NXObject * | ImportedSketch () |
| Returns the imported sketch Created in NX8.0.0. | |
| NXOpen::Point3d | InitialPasteLocation () |
| Returns the initial paste location, this is mainly used to define default paste location of sketch objects Created in NX8.0.0. | |
| NXString | LibraryName () |
| Returns the library name. | |
| void | LoadPart (const NXString &partFileName, NXOpen::NXObject *dropEntity, std::vector< NXOpen::NXObject * > &loadedObjects) |
| Imports given part file to current work part Created in NX8.0.0. | |
| void | LoadPart (const char *partFileName, NXOpen::NXObject *dropEntity, std::vector< NXOpen::NXObject * > &loadedObjects) |
| Imports given part file to current work part Created in NX8.0.0. | |
| NXOpen::Tooling::ReusableObjectPasteBuilder::PasteMethods | PasteMethod () |
| Returns the design option to select Boolean operation type Created in NX8.0.0. | |
| void | RepositionBody (const NXOpen::Point3d &target, const NXOpen::Matrix3x3 &orient, bool twoPickPositionMode) |
| Moves the body to the selected point and orientation Created in NX8.0.0. | |
| void | SetAssociative (bool associative) |
| Sets the option specifying whether to associate the csys of reuse object to target entity Created in NX8.0.2. | |
| void | SetDropFace (NXOpen::NXObject *face) |
| Sets the drop face required for reattach sketch when using one-pick position method Created in NX8.0.0. | |
| void | SetDynamicCsysOrientation (const NXOpen::Matrix3x3 &orientation) |
| Sets the orientation of dynamic csys Created in NX8.0.0. | |
| void | SetDynamicCsysOrigin (const NXOpen::Point3d &origin) |
| Sets the origin of dynamic csys Created in NX8.0.0. | |
| void | SetEditFeatureGroup (NXOpen::NXObject *featureGroup) |
| Sets the feature group created after reuse paste Created in NX8.0.0. | |
| void | SetImportedSketch (NXOpen::NXObject *sketch) |
| Sets the imported sketch Created in NX8.0.0. | |
| void | SetInitialPasteLocation (const NXOpen::Point3d &dropLocation) |
| Sets the initial paste location, this is mainly used to define default paste location of sketch objects Created in NX8.0.0. | |
| void | SetLibraryInformation (NXOpen::NXObject *feature, const NXString &libraryName, const NXString &relativePath) |
| Sets library information for the feature Created in NX8.0.0. | |
| void | SetLibraryInformation (NXOpen::NXObject *feature, const char *libraryName, const char *relativePath) |
| Sets library information for the feature Created in NX8.0.0. | |
| void | SetLibraryName (const NXString &libraryName) |
| Sets the library name. | |
| void | SetLibraryName (const char *libraryName) |
| Sets the library name. | |
| void | SetPasteMethod (NXOpen::Tooling::ReusableObjectPasteBuilder::PasteMethods pasteMethod) |
| Sets the design option to select Boolean operation type Created in NX8.0.0. | |
| void | SetSpreadsheetData (NXOpen::Tooling::SpreadsheetData *spreadsheetData) |
| Sets the spreadsheet data Created in NX8.0.0. | |
| void | SetTargetBody (NXOpen::NXObject *body) |
| Sets the target body required for boolean operation Created in NX8.0.0. | |
| void | SetTargetFace (NXOpen::NXObject *face) |
| Sets the target face required for solid punch Created in NX8.0.0. | |
| void | SetUseOnePickPositionMethod (bool useOnePickPositionMethod) |
| Sets the option specifying whether to use one-pick position method for drag/drop Created in NX8.0.0. | |
| NXOpen::NXObject * | TargetBody () |
| Returns the target body required for boolean operation Created in NX8.0.0. | |
| NXOpen::NXObject * | TargetFace () |
| Returns the target face required for solid punch Created in NX8.0.0. | |
| void | UpdateSpreadsheetData () |
| Updates the spreadsheet data according to the expressions in part Created in NX8.0.0. | |
| bool | UseOnePickPositionMethod () |
| Returns the option specifying whether to use one-pick position method for drag/drop Created in NX8.0.0. | |
Public Member Functions inherited from NXOpen::Builder | |
| NXOpen::NXObject * | Commit () |
| Commits any edits that have been applied to the builder. | |
| void | Destroy () |
| Deletes the builder, and cleans up any objects created by the builder. | |
| std::vector< NXOpen::NXObject * > | GetCommittedObjects () |
| For builders that create more than one object, this method returns the objects that are created by commit. | |
| NXOpen::NXObject * | GetObject () |
| Returns the object currently being edited by this builder. | |
| void | ShowResults () |
| Updates the model to reflect the result of an edit to the model for all builders that support showing results. | |
| virtual bool | Validate () |
| Validate whether the inputs to the component are sufficient for commit to be called. | |
Public Member Functions inherited from NXOpen::TaggedObject | |
| tag_t | GetTag () const |
<b>Deprecated</b>:<br> Use Tag instead. | |
| tag_t | Tag () const |
| Returns the tag of this object. | |
Represents a Tooling::ReusableObjectPasteBuilder
Use the ReusableObjectManager class to create a ReusableObjectPasteBuilder.
Created in NX8.0.0.
| bool NXOpen::Tooling::ReusableObjectPasteBuilder::Associative | ( | ) |
Returns the option specifying whether to associate the csys of reuse object to target entity
Created in NX8.0.2.
License requirements : None
| NXOpen::NXObject* NXOpen::Tooling::ReusableObjectPasteBuilder::DropFace | ( | ) |
Returns the drop face required for reattach sketch when using one-pick position method
Created in NX8.0.0.
License requirements : None
| NXOpen::Matrix3x3 NXOpen::Tooling::ReusableObjectPasteBuilder::DynamicCsysOrientation | ( | ) |
Returns the orientation of dynamic csys
Created in NX8.0.0.
License requirements : None
| NXOpen::Point3d NXOpen::Tooling::ReusableObjectPasteBuilder::DynamicCsysOrigin | ( | ) |
Returns the origin of dynamic csys
Created in NX8.0.0.
License requirements : None
| NXOpen::NXObject* NXOpen::Tooling::ReusableObjectPasteBuilder::EditFeatureGroup | ( | ) |
Returns the feature group created after reuse paste
Created in NX8.0.0.
License requirements : None
| void NXOpen::Tooling::ReusableObjectPasteBuilder::GetCreatedObjects | ( | std::vector< NXOpen::NXObject * > & | createdObjects | ) |
Gets the created objects
Created in NX8.5.0.
License requirements : None
| createdObjects | Objects, mainly bodies, from the imported part |
| NXOpen::Tooling::SpreadsheetData* NXOpen::Tooling::ReusableObjectPasteBuilder::GetSpreadsheetData | ( | ) |
Gets the spreadsheet data.
| NXOpen::NXObject* NXOpen::Tooling::ReusableObjectPasteBuilder::ImportedSketch | ( | ) |
Returns the imported sketch
Created in NX8.0.0.
License requirements : None
| NXOpen::Point3d NXOpen::Tooling::ReusableObjectPasteBuilder::InitialPasteLocation | ( | ) |
Returns the initial paste location, this is mainly used to define default paste location of sketch objects
Created in NX8.0.0.
License requirements : None
| NXString NXOpen::Tooling::ReusableObjectPasteBuilder::LibraryName | ( | ) |
Returns the library name.
This library name is used for the reusable object
Created in NX8.0.0.
License requirements : None
| void NXOpen::Tooling::ReusableObjectPasteBuilder::LoadPart | ( | const NXString & | partFileName, |
| NXOpen::NXObject * | dropEntity, | ||
| std::vector< NXOpen::NXObject * > & | loadedObjects | ||
| ) |
Imports given part file to current work part
Created in NX8.0.0.
License requirements : None
| partFileName | Part file name |
| dropEntity | Selected body face or datum plane of CSYS |
| loadedObjects | Objects, mainly bodies, from the imported part |
| void NXOpen::Tooling::ReusableObjectPasteBuilder::LoadPart | ( | const char * | partFileName, |
| NXOpen::NXObject * | dropEntity, | ||
| std::vector< NXOpen::NXObject * > & | loadedObjects | ||
| ) |
Imports given part file to current work part
Created in NX8.0.0.
License requirements : None
| partFileName | Part file name |
| dropEntity | Selected body face or datum plane of CSYS |
| loadedObjects | Objects, mainly bodies, from the imported part |
| NXOpen::Tooling::ReusableObjectPasteBuilder::PasteMethods NXOpen::Tooling::ReusableObjectPasteBuilder::PasteMethod | ( | ) |
Returns the design option to select Boolean operation type
Created in NX8.0.0.
License requirements : None
| void NXOpen::Tooling::ReusableObjectPasteBuilder::RepositionBody | ( | const NXOpen::Point3d & | target, |
| const NXOpen::Matrix3x3 & | orient, | ||
| bool | twoPickPositionMode | ||
| ) |
Moves the body to the selected point and orientation
Created in NX8.0.0.
License requirements : None
| target | Destination point |
| orient | Orientation |
| twoPickPositionMode | Flag specifying whether to reposition the body based on active sketch plane when using two pick position method to drop the body. If True, reposition the body, else, do nothing. |
| void NXOpen::Tooling::ReusableObjectPasteBuilder::SetAssociative | ( | bool | associative | ) |
Sets the option specifying whether to associate the csys of reuse object to target entity
Created in NX8.0.2.
License requirements : None
| associative | associative |
| void NXOpen::Tooling::ReusableObjectPasteBuilder::SetDropFace | ( | NXOpen::NXObject * | face | ) |
Sets the drop face required for reattach sketch when using one-pick position method
Created in NX8.0.0.
License requirements : None
| face | Drop face |
| void NXOpen::Tooling::ReusableObjectPasteBuilder::SetDynamicCsysOrientation | ( | const NXOpen::Matrix3x3 & | orientation | ) |
Sets the orientation of dynamic csys
Created in NX8.0.0.
License requirements : None
| orientation | Orientation of dynamic csys |
| void NXOpen::Tooling::ReusableObjectPasteBuilder::SetDynamicCsysOrigin | ( | const NXOpen::Point3d & | origin | ) |
Sets the origin of dynamic csys
Created in NX8.0.0.
License requirements : None
| origin | Origin of dynamic csys |
| void NXOpen::Tooling::ReusableObjectPasteBuilder::SetEditFeatureGroup | ( | NXOpen::NXObject * | featureGroup | ) |
Sets the feature group created after reuse paste
Created in NX8.0.0.
License requirements : None
| featureGroup | featuregroup |
| void NXOpen::Tooling::ReusableObjectPasteBuilder::SetImportedSketch | ( | NXOpen::NXObject * | sketch | ) |
Sets the imported sketch
Created in NX8.0.0.
License requirements : None
| sketch | Imported sketch |
| void NXOpen::Tooling::ReusableObjectPasteBuilder::SetInitialPasteLocation | ( | const NXOpen::Point3d & | dropLocation | ) |
Sets the initial paste location, this is mainly used to define default paste location of sketch objects
Created in NX8.0.0.
License requirements : None
| dropLocation | Drop location coordinates in absolute |
| void NXOpen::Tooling::ReusableObjectPasteBuilder::SetLibraryInformation | ( | NXOpen::NXObject * | feature, |
| const NXString & | libraryName, | ||
| const NXString & | relativePath | ||
| ) |
Sets library information for the feature
Created in NX8.0.0.
License requirements : None
| feature | Reusable object feature |
| libraryName | Library name |
| relativePath | Relative path where library is located |
| void NXOpen::Tooling::ReusableObjectPasteBuilder::SetLibraryInformation | ( | NXOpen::NXObject * | feature, |
| const char * | libraryName, | ||
| const char * | relativePath | ||
| ) |
Sets library information for the feature
Created in NX8.0.0.
License requirements : None
| feature | Reusable object feature |
| libraryName | Library name |
| relativePath | Relative path where library is located |
| void NXOpen::Tooling::ReusableObjectPasteBuilder::SetLibraryName | ( | const NXString & | libraryName | ) |
Sets the library name.
This library name is used for the reusable object
Created in NX8.0.0.
License requirements : None
| libraryName | Library name |
| void NXOpen::Tooling::ReusableObjectPasteBuilder::SetLibraryName | ( | const char * | libraryName | ) |
Sets the library name.
This library name is used for the reusable object
Created in NX8.0.0.
License requirements : None
| libraryName | Library name |
| void NXOpen::Tooling::ReusableObjectPasteBuilder::SetPasteMethod | ( | NXOpen::Tooling::ReusableObjectPasteBuilder::PasteMethods | pasteMethod | ) |
Sets the design option to select Boolean operation type
Created in NX8.0.0.
License requirements : None
| pasteMethod | pastemethod |
| void NXOpen::Tooling::ReusableObjectPasteBuilder::SetSpreadsheetData | ( | NXOpen::Tooling::SpreadsheetData * | spreadsheetData | ) |
Sets the spreadsheet data
Created in NX8.0.0.
License requirements : None
| spreadsheetData | Spreadsheet data |
| void NXOpen::Tooling::ReusableObjectPasteBuilder::SetTargetBody | ( | NXOpen::NXObject * | body | ) |
Sets the target body required for boolean operation
Created in NX8.0.0.
License requirements : None
| body | Target body |
| void NXOpen::Tooling::ReusableObjectPasteBuilder::SetTargetFace | ( | NXOpen::NXObject * | face | ) |
Sets the target face required for solid punch
Created in NX8.0.0.
License requirements : None
| face | Target face |
| void NXOpen::Tooling::ReusableObjectPasteBuilder::SetUseOnePickPositionMethod | ( | bool | useOnePickPositionMethod | ) |
Sets the option specifying whether to use one-pick position method for drag/drop
Created in NX8.0.0.
License requirements : None
| useOnePickPositionMethod | useonepickpositionmethod |
| NXOpen::NXObject* NXOpen::Tooling::ReusableObjectPasteBuilder::TargetBody | ( | ) |
Returns the target body required for boolean operation
Created in NX8.0.0.
License requirements : None
| NXOpen::NXObject* NXOpen::Tooling::ReusableObjectPasteBuilder::TargetFace | ( | ) |
Returns the target face required for solid punch
Created in NX8.0.0.
License requirements : None
| void NXOpen::Tooling::ReusableObjectPasteBuilder::UpdateSpreadsheetData | ( | ) |
Updates the spreadsheet data according to the expressions in part
Created in NX8.0.0.
License requirements : None
| bool NXOpen::Tooling::ReusableObjectPasteBuilder::UseOnePickPositionMethod | ( | ) |
Returns the option specifying whether to use one-pick position method for drag/drop
Created in NX8.0.0.
License requirements : None