NX Open C++ Reference Guide
|
Represents a Features::VehicleDesign::BaseDataImportExportBuilder builder used to import and export expressions from and to a spreadsheet. More...
Public Types | |
enum | ExportOptions { ExportOptionsNewItem, ExportOptionsExistingItem } |
This enum represents the option to indicate if the expressions are to be exported to a new item or an existing item in Teamcenter. More... | |
enum | OperateOptions { OperateOptionsImport, OperateOptionsExport } |
This enum represents the import or export operate options. More... | |
Public Member Functions | |
void | AssignItemNumber (NXString *itemId, NXString *itemName, NXString *itemRevision, bool *idSensitivity, bool *revSensitivity) |
Used to assign Item number and revision in Teamcenter . | |
void | AssignItemRevision (const NXString &itemId, NXString *itemRevision, bool *revSensitivity) |
Used to assign Item revision in Teamcenter. | |
void | AssignItemRevision (const char *itemId, NXString *itemRevision, bool *revSensitivity) |
Used to assign Item revision in Teamcenter. | |
NXString | DatasetName () |
Returns the name of the Teamcenter dataset from which the spreadsheet is to be imported from or exported to. | |
NXOpen::Features::VehicleDesign::BaseDataImportExportBuilder::ExportOptions | ExportOption () |
Returns the option which indicates if the expressions are to be exported a new create item or an existing item in Teamcenter. | |
NXOpen::Features::VehicleDesign::BaseDataImportExportBuilder::OperateOptions | OperateOption () |
Returns the option which indicates if the spreadsheet is to be imported or exported. | |
bool | OverrideExistingExpressions () |
Returns the value which indicates whether to override existing expressions in the work part when importing. | |
void | SetDatasetName (const NXString &datasetName) |
Sets the name of the Teamcenter dataset from which the spreadsheet is to be imported from or exported to. | |
void | SetDatasetName (const char *datasetName) |
Sets the name of the Teamcenter dataset from which the spreadsheet is to be imported from or exported to. | |
void | SetExportOption (NXOpen::Features::VehicleDesign::BaseDataImportExportBuilder::ExportOptions exportOption) |
Sets the option which indicates if the expressions are to be exported a new create item or an existing item in Teamcenter. | |
void | SetOperateOption (NXOpen::Features::VehicleDesign::BaseDataImportExportBuilder::OperateOptions operateOptions) |
Sets the option which indicates if the spreadsheet is to be imported or exported. | |
void | SetOverrideExistingExpressions (bool overrideExistingExpressions) |
Sets the value which indicates whether to override existing expressions in the work part when importing. | |
void | SetSpreadSheetFileName (const NXString &spreadSheetFileName) |
Sets the spreadsheet name which indicates the spreadsheet to be imported or exported. | |
void | SetSpreadSheetFileName (const char *spreadSheetFileName) |
Sets the spreadsheet name which indicates the spreadsheet to be imported or exported. | |
void | SetSpreadsheetItemID (const NXString &spreadsheetItemID) |
Sets the item ID number which indicates the item that the spreadsheet is to be imported from or exported to. | |
void | SetSpreadsheetItemID (const char *spreadsheetItemID) |
Sets the item ID number which indicates the item that the spreadsheet is to be imported from or exported to. | |
void | SetSpreadsheetItemName (const NXString &spreadsheetItemName) |
Sets the item name of the spreadsheet in Teamcenter. | |
void | SetSpreadsheetItemName (const char *spreadsheetItemName) |
Sets the item name of the spreadsheet in Teamcenter. | |
void | SetSpreadsheetItemRevision (const NXString &spreadsheetItemRevision) |
Sets the item revision of the spreadsheet that is to be imported from or exported to. | |
void | SetSpreadsheetItemRevision (const char *spreadsheetItemRevision) |
Sets the item revision of the spreadsheet that is to be imported from or exported to. | |
NXString | SpreadSheetFileName () |
Returns the spreadsheet name which indicates the spreadsheet to be imported or exported. | |
NXString | SpreadsheetItemID () |
Returns the item ID number which indicates the item that the spreadsheet is to be imported from or exported to. | |
NXString | SpreadsheetItemName () |
Returns the item name of the spreadsheet in Teamcenter. | |
NXString | SpreadsheetItemRevision () |
Returns the item revision of the spreadsheet that is to be imported from or exported to. | |
![]() | |
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. | |
![]() | |
tag_t | GetTag () const |
<b>Deprecated</b>:<br> Use Tag instead. | |
tag_t | Tag () const |
Returns the tag of this object. | |
Represents a Features::VehicleDesign::BaseDataImportExportBuilder builder used to import and export expressions from and to a spreadsheet.
To create a new instance of this class, use Features::VehicleDesignCollection::CreateBaseDataImportExportBuilder
Default values.
Property | Value |
---|---|
ExportOption |
NewItem |
OperateOption |
Import |
OverrideExistingExpressions |
0 |
Created in NX8.5.0.
void NXOpen::Features::VehicleDesign::BaseDataImportExportBuilder::AssignItemNumber | ( | NXString * | itemId, |
NXString * | itemName, | ||
NXString * | itemRevision, | ||
bool * | idSensitivity, | ||
bool * | revSensitivity | ||
) |
Used to assign Item number and revision in Teamcenter .
Created in NX8.5.0.
License requirements : gateway ("UG GATEWAY")
itemId | itemid |
itemName | itemname |
itemRevision | itemrevision |
idSensitivity | idsensitivity |
revSensitivity | revsensitivity |
void NXOpen::Features::VehicleDesign::BaseDataImportExportBuilder::AssignItemRevision | ( | const NXString & | itemId, |
NXString * | itemRevision, | ||
bool * | revSensitivity | ||
) |
Used to assign Item revision in Teamcenter.
Created in NX8.5.0.
License requirements : gateway ("UG GATEWAY")
itemId | NOTE: The full Unicode character set is not supported for this parameter. |
itemRevision | itemrevision |
revSensitivity | revsensitivity |
void NXOpen::Features::VehicleDesign::BaseDataImportExportBuilder::AssignItemRevision | ( | const char * | itemId, |
NXString * | itemRevision, | ||
bool * | revSensitivity | ||
) |
Used to assign Item revision in Teamcenter.
Created in NX8.5.0.
License requirements : gateway ("UG GATEWAY")
itemId | NOTE: The full Unicode character set is not supported for this parameter. |
itemRevision | itemrevision |
revSensitivity | revsensitivity |
NXString NXOpen::Features::VehicleDesign::BaseDataImportExportBuilder::DatasetName | ( | ) |
Returns the name of the Teamcenter dataset from which the spreadsheet is to be imported from or exported to.
Created in NX8.5.0.
License requirements : None
NXOpen::Features::VehicleDesign::BaseDataImportExportBuilder::ExportOptions NXOpen::Features::VehicleDesign::BaseDataImportExportBuilder::ExportOption | ( | ) |
Returns the option which indicates if the expressions are to be exported a new create item or an existing item in Teamcenter.
Created in NX8.5.0.
License requirements : None
NXOpen::Features::VehicleDesign::BaseDataImportExportBuilder::OperateOptions NXOpen::Features::VehicleDesign::BaseDataImportExportBuilder::OperateOption | ( | ) |
Returns the option which indicates if the spreadsheet is to be imported or exported.
Created in NX8.5.0.
License requirements : None
bool NXOpen::Features::VehicleDesign::BaseDataImportExportBuilder::OverrideExistingExpressions | ( | ) |
Returns the value which indicates whether to override existing expressions in the work part when importing.
Created in NX8.5.0.
License requirements : None
void NXOpen::Features::VehicleDesign::BaseDataImportExportBuilder::SetDatasetName | ( | const NXString & | datasetName | ) |
Sets the name of the Teamcenter dataset from which the spreadsheet is to be imported from or exported to.
Created in NX8.5.0.
License requirements : gateway ("UG GATEWAY")
datasetName | datasetname |
void NXOpen::Features::VehicleDesign::BaseDataImportExportBuilder::SetDatasetName | ( | const char * | datasetName | ) |
Sets the name of the Teamcenter dataset from which the spreadsheet is to be imported from or exported to.
Created in NX8.5.0.
License requirements : gateway ("UG GATEWAY")
datasetName | datasetname |
void NXOpen::Features::VehicleDesign::BaseDataImportExportBuilder::SetExportOption | ( | NXOpen::Features::VehicleDesign::BaseDataImportExportBuilder::ExportOptions | exportOption | ) |
Sets the option which indicates if the expressions are to be exported a new create item or an existing item in Teamcenter.
Created in NX8.5.0.
License requirements : gateway ("UG GATEWAY")
exportOption | exportoption |
void NXOpen::Features::VehicleDesign::BaseDataImportExportBuilder::SetOperateOption | ( | NXOpen::Features::VehicleDesign::BaseDataImportExportBuilder::OperateOptions | operateOptions | ) |
Sets the option which indicates if the spreadsheet is to be imported or exported.
Created in NX8.5.0.
License requirements : gateway ("UG GATEWAY")
operateOptions | operateoptions |
void NXOpen::Features::VehicleDesign::BaseDataImportExportBuilder::SetOverrideExistingExpressions | ( | bool | overrideExistingExpressions | ) |
Sets the value which indicates whether to override existing expressions in the work part when importing.
Created in NX8.5.0.
License requirements : gateway ("UG GATEWAY")
overrideExistingExpressions | overrideexistingexpressions |
void NXOpen::Features::VehicleDesign::BaseDataImportExportBuilder::SetSpreadSheetFileName | ( | const NXString & | spreadSheetFileName | ) |
Sets the spreadsheet name which indicates the spreadsheet to be imported or exported.
Created in NX8.5.0.
License requirements : gateway ("UG GATEWAY")
spreadSheetFileName | spreadsheetfilename |
void NXOpen::Features::VehicleDesign::BaseDataImportExportBuilder::SetSpreadSheetFileName | ( | const char * | spreadSheetFileName | ) |
Sets the spreadsheet name which indicates the spreadsheet to be imported or exported.
Created in NX8.5.0.
License requirements : gateway ("UG GATEWAY")
spreadSheetFileName | spreadsheetfilename |
void NXOpen::Features::VehicleDesign::BaseDataImportExportBuilder::SetSpreadsheetItemID | ( | const NXString & | spreadsheetItemID | ) |
Sets the item ID number which indicates the item that the spreadsheet is to be imported from or exported to.
Created in NX8.5.0.
License requirements : gateway ("UG GATEWAY")
spreadsheetItemID | spreadsheetitemid |
void NXOpen::Features::VehicleDesign::BaseDataImportExportBuilder::SetSpreadsheetItemID | ( | const char * | spreadsheetItemID | ) |
Sets the item ID number which indicates the item that the spreadsheet is to be imported from or exported to.
Created in NX8.5.0.
License requirements : gateway ("UG GATEWAY")
spreadsheetItemID | spreadsheetitemid |
void NXOpen::Features::VehicleDesign::BaseDataImportExportBuilder::SetSpreadsheetItemName | ( | const NXString & | spreadsheetItemName | ) |
Sets the item name of the spreadsheet in Teamcenter.
Created in NX8.5.0.
License requirements : gateway ("UG GATEWAY")
spreadsheetItemName | spreadsheetitemname |
void NXOpen::Features::VehicleDesign::BaseDataImportExportBuilder::SetSpreadsheetItemName | ( | const char * | spreadsheetItemName | ) |
Sets the item name of the spreadsheet in Teamcenter.
Created in NX8.5.0.
License requirements : gateway ("UG GATEWAY")
spreadsheetItemName | spreadsheetitemname |
void NXOpen::Features::VehicleDesign::BaseDataImportExportBuilder::SetSpreadsheetItemRevision | ( | const NXString & | spreadsheetItemRevision | ) |
Sets the item revision of the spreadsheet that is to be imported from or exported to.
Created in NX8.5.0.
License requirements : gateway ("UG GATEWAY")
spreadsheetItemRevision | spreadsheetitemrevision |
void NXOpen::Features::VehicleDesign::BaseDataImportExportBuilder::SetSpreadsheetItemRevision | ( | const char * | spreadsheetItemRevision | ) |
Sets the item revision of the spreadsheet that is to be imported from or exported to.
Created in NX8.5.0.
License requirements : gateway ("UG GATEWAY")
spreadsheetItemRevision | spreadsheetitemrevision |
NXString NXOpen::Features::VehicleDesign::BaseDataImportExportBuilder::SpreadSheetFileName | ( | ) |
Returns the spreadsheet name which indicates the spreadsheet to be imported or exported.
Created in NX8.5.0.
License requirements : None
NXString NXOpen::Features::VehicleDesign::BaseDataImportExportBuilder::SpreadsheetItemID | ( | ) |
Returns the item ID number which indicates the item that the spreadsheet is to be imported from or exported to.
Created in NX8.5.0.
License requirements : None
NXString NXOpen::Features::VehicleDesign::BaseDataImportExportBuilder::SpreadsheetItemName | ( | ) |
Returns the item name of the spreadsheet in Teamcenter.
Created in NX8.5.0.
License requirements : None
NXString NXOpen::Features::VehicleDesign::BaseDataImportExportBuilder::SpreadsheetItemRevision | ( | ) |
Returns the item revision of the spreadsheet that is to be imported from or exported to.
Created in NX8.5.0.
License requirements : None