NX Open C++ Reference Guide
Public Types | Public Member Functions
NXOpen::Tooling::ReusableObjectPasteBuilder Class Reference

Represents a Tooling::ReusableObjectPasteBuilder
Use the ReusableObjectManager class to create a ReusableObjectPasteBuilder. More...

Inheritance diagram for NXOpen::Tooling::ReusableObjectPasteBuilder:
NXOpen::Builder NXOpen::TaggedObject NXOpen::GeometricUtilities::IComponentBuilder

List of all members.

Public Types

enum  PasteMethods {
  PasteMethodsNone, PasteMethodsAdd, PasteMethodsSubtract, PasteMethodsUserdefined,
  PasteMethodsSolidpunch
}
 Specifies the design option. More...

Public Member Functions

NXOpen::NXObjectDropFace ()
 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::NXObjectEditFeatureGroup ()
 Returns the feature group created after reuse paste
Created in NX8.0.0.
NXOpen::Tooling::SpreadsheetDataGetSpreadsheetData ()
 Gets the spreadsheet data.
NXOpen::NXObjectImportedSketch ()
 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.
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 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 SetLibraryName (const NXString &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::NXObjectTargetBody ()
 Returns the target body required for boolean operation
Created in NX8.0.0.
NXOpen::NXObjectTargetFace ()
 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.

Detailed Description

Represents a Tooling::ReusableObjectPasteBuilder
Use the ReusableObjectManager class to create a ReusableObjectPasteBuilder.



Created in NX8.0.0.


Member Enumeration Documentation

Specifies the design option.

Enumerator:
PasteMethodsNone 

None.

PasteMethodsAdd 

Add.

PasteMethodsSubtract 

Subtract.

PasteMethodsUserdefined 

UserDefined.

PasteMethodsSolidpunch 

SolidPunch.


Member Function Documentation

Returns the drop face required for reattach sketch when using one-pick position method
Created in NX8.0.0.



License requirements : None

Returns the orientation of dynamic csys
Created in NX8.0.0.



License requirements : None

Returns the origin of dynamic csys
Created in NX8.0.0.



License requirements : None

Returns the feature group created after reuse paste
Created in NX8.0.0.



License requirements : None

Gets the spreadsheet data.

Returns:
Spreadsheet data
Created in NX8.0.0.

License requirements : None

Returns the imported sketch
Created in NX8.0.0.



License requirements : None

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

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

Parameters:
partFileNamePart file name
dropEntitySelected body face or datum plane of CSYS
loadedObjectsObjects, mainly bodies, from the imported part

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

Parameters:
targetDestination point
orientOrientation
twoPickPositionModeFlag 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.

Sets the drop face required for reattach sketch when using one-pick position method
Created in NX8.0.0.



License requirements : None

Parameters:
faceDrop face

Sets the orientation of dynamic csys
Created in NX8.0.0.



License requirements : None

Parameters:
orientationOrientation of dynamic csys

Sets the origin of dynamic csys
Created in NX8.0.0.



License requirements : None

Parameters:
originOrigin of dynamic csys

Sets the feature group created after reuse paste
Created in NX8.0.0.



License requirements : None

Parameters:
featureGroupfeaturegroup

Sets the imported sketch
Created in NX8.0.0.



License requirements : None

Parameters:
sketchImported sketch

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

Parameters:
dropLocationDrop 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

Parameters:
featureReusable object feature
libraryNameLibrary name
relativePathRelative path where library is located

Sets the library name.

This library name is used for the reusable object
Created in NX8.0.0.

License requirements : None

Parameters:
libraryNameLibrary name

Sets the design option to select Boolean operation type
Created in NX8.0.0.



License requirements : None

Parameters:
pasteMethodpastemethod

Sets the spreadsheet data
Created in NX8.0.0.



License requirements : None

Parameters:
spreadsheetDataSpreadsheet data

Sets the target body required for boolean operation
Created in NX8.0.0.



License requirements : None

Parameters:
bodyTarget body

Sets the target face required for solid punch
Created in NX8.0.0.



License requirements : None

Parameters:
faceTarget face

Sets the option specifying whether to use one-pick position method for drag/drop
Created in NX8.0.0.



License requirements : None

Parameters:
useOnePickPositionMethoduseonepickpositionmethod

Returns the target body required for boolean operation
Created in NX8.0.0.



License requirements : None

Returns the target face required for solid punch
Created in NX8.0.0.



License requirements : None

Updates the spreadsheet data according to the expressions in part
Created in NX8.0.0.



License requirements : None

Returns the option specifying whether to use one-pick position method for drag/drop
Created in NX8.0.0.



License requirements : None


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