NX Open C++ Reference Guide
|
Represents a FileNew
This class is not directly created.
More...
Public Member Functions | |
NXOpen::FileNewApplication | Application () |
Returns the application type for the new file being created Created in NX5.0.0. | |
bool | GetAddMasterFlag () |
Returns logical value to indicate whether master to be added as child component. | |
std::vector< NXString > | GetAvailableTemplates () |
Returns the available templates for the session. | |
bool | MakeDisplayedPart () |
Returns the property that controls if the new file should be made the displayed part Created in NX5.0.0. | |
NXString | MasterFileName () |
Returns the name of the master model part to be referenced. | |
NXString | NewFileName () |
Returns the name of the new file being created Created in NX5.0.0. | |
void | SetAddMasterFlag (bool addMaster) |
Sets addMaster flag Created in NX6.0.0. | |
void | SetApplication (NXOpen::FileNewApplication application) |
Sets the application type for the new file being created Created in NX5.0.0. | |
void | SetMakeDisplayedPart (bool makeDisplayedPart) |
Sets the property that controls if the new file should be made the displayed part Created in NX5.0.0. | |
void | SetMasterFileName (const NXString &masterFileName) |
Sets the name of the master model part to be referenced. | |
void | SetNewFileName (const NXString &fileName) |
Sets the name of the new file being created Created in NX5.0.0. | |
void | SetProjectsData (std::vector< NXString > &projectName, const std::vector< int > &assignmentState) |
Teamcenter projects data Created in NX6.0.0. | |
void | SetTemplateFileName (const NXString &templateFileName) |
Sets the name of the template part from which to create the new file Created in NX5.0.0. | |
void | SetTemplateType (NXOpen::FileNewTemplateType templateType) |
Sets the template type for the new file being created Created in NX8.0.0. | |
void | SetUnits (NXOpen::Part::Units units) |
Sets the units for the new file being created Created in NX5.0.0. | |
void | SetUseBlankTemplate (bool useBlankTemplate) |
Sets the property that controls if the new file should be created using a blank template. | |
NXString | TemplateFileName () |
Returns the name of the template part from which to create the new file Created in NX5.0.0. | |
NXOpen::FileNewTemplateType | TemplateType () |
Returns the template type for the new file being created Created in NX8.0.0. | |
NXOpen::Part::Units | Units () |
Returns the units for the new file being created Created in NX5.0.0. | |
bool | UseBlankTemplate () |
Returns the property that controls if the new file should be created using a blank template. |
Represents a FileNew
This class is not directly created.
The creator of the super class does the real work
Created in NX5.0.0.
Returns the application type for the new file being created
Created in NX5.0.0.
License requirements : None
bool NXOpen::FileNew::GetAddMasterFlag | ( | ) |
Returns logical value to indicate whether master to be added as child component.
std::vector<NXString> NXOpen::FileNew::GetAvailableTemplates | ( | ) |
Returns the available templates for the session.
bool NXOpen::FileNew::MakeDisplayedPart | ( | ) |
Returns the property that controls if the new file should be made the displayed part
Created in NX5.0.0.
License requirements : None
Returns the name of the master model part to be referenced.
May be NULL if creating a master part
Created in NX5.0.0.
License requirements : None
Returns the name of the new file being created
Created in NX5.0.0.
License requirements : None
void NXOpen::FileNew::SetAddMasterFlag | ( | bool | addMaster | ) |
Sets addMaster flag
Created in NX6.0.0.
License requirements : None
addMaster | whether master to be added as child component |
void NXOpen::FileNew::SetApplication | ( | NXOpen::FileNewApplication | application | ) |
Sets the application type for the new file being created
Created in NX5.0.0.
License requirements : None
application | application |
void NXOpen::FileNew::SetMakeDisplayedPart | ( | bool | makeDisplayedPart | ) |
Sets the property that controls if the new file should be made the displayed part
Created in NX5.0.0.
License requirements : None
makeDisplayedPart | make displayed part |
void NXOpen::FileNew::SetMasterFileName | ( | const NXString & | masterFileName | ) |
Sets the name of the master model part to be referenced.
May be NULL if creating a master part
Created in NX5.0.0.
License requirements : None
masterFileName | masterfilename |
void NXOpen::FileNew::SetNewFileName | ( | const NXString & | fileName | ) |
Sets the name of the new file being created
Created in NX5.0.0.
License requirements : None
fileName | filename |
void NXOpen::FileNew::SetProjectsData | ( | std::vector< NXString > & | projectName, |
const std::vector< int > & | assignmentState | ||
) |
Teamcenter projects data
Created in NX6.0.0.
License requirements : None
projectName | name of the project NOTE: The full Unicode character set is not supported for this parameter. |
assignmentState | assignment state |
void NXOpen::FileNew::SetTemplateFileName | ( | const NXString & | templateFileName | ) |
Sets the name of the template part from which to create the new file
Created in NX5.0.0.
License requirements : None
templateFileName | templatefilename |
void NXOpen::FileNew::SetTemplateType | ( | NXOpen::FileNewTemplateType | templateType | ) |
Sets the template type for the new file being created
Created in NX8.0.0.
License requirements : None
templateType | whether master to be added as child component |
void NXOpen::FileNew::SetUnits | ( | NXOpen::Part::Units | units | ) |
Sets the units for the new file being created
Created in NX5.0.0.
License requirements : None
units | units |
void NXOpen::FileNew::SetUseBlankTemplate | ( | bool | useBlankTemplate | ) |
Sets the property that controls if the new file should be created using a blank template.
If set to False, then a valid file name for an existing template part file must be supplied to FileNew::SetTemplateFileName . If set to True, this means that no template is used during creation.
Created in NX5.0.0.
License requirements : None
useBlankTemplate | use blank template |
Returns the name of the template part from which to create the new file
Created in NX5.0.0.
License requirements : None
Returns the template type for the new file being created
Created in NX8.0.0.
License requirements : None
Returns the units for the new file being created
Created in NX5.0.0.
License requirements : None
bool NXOpen::FileNew::UseBlankTemplate | ( | ) |
Returns the property that controls if the new file should be created using a blank template.
If set to False, then a valid file name for an existing template part file must be supplied to FileNew::SetTemplateFileName . If set to True, this means that no template is used during creation.
Created in NX5.0.0.
License requirements : None