NXOpen C++ Reference Guide
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
Classes | Public Member Functions | List of all members
NXOpen::ParamLibParameterCollection Class Reference

Represents the collection of all ParamLibParameter objects in this Part. More...

Inheritance diagram for NXOpen::ParamLibParameterCollection:
NXOpen::TaggedObjectCollection

Classes

class  iterator
 Iterator for accessing the contents of the collection. More...
 

Public Member Functions

iterator begin ()
 Returns an iterator addressing the first element. More...
 
NXOpen::ParamLibParameterCopyParameterFromLibrary (const NXString &libraryName, const NXString &libraryReference)
 Creates an editable parameter (copy) in the part from a library parameter definition. More...
 
NXOpen::ParamLibParameterCopyParameterFromLibrary (const char *libraryName, const char *libraryReference)
 Creates an editable parameter (copy) in the part from a library parameter definition. More...
 
NXOpen::ParamLibParameterCopyParameterFromLibrary (const NXString &libraryName, const NXString &libraryReference, bool retainParentPedigree)
 Creates an editable parameter (copy) in the part from a library parameter definition. More...
 
NXOpen::ParamLibParameterCopyParameterFromLibrary (const char *libraryName, const char *libraryReference, bool retainParentPedigree)
 Creates an editable parameter (copy) in the part from a library parameter definition. More...
 
NXOpen::ParamLibParameterListBuilderCreateListBlockBuilder ()
 Creates a NXOpen::ParamLibParameterListBuilder that controls the parameters list UI block look and feel as well as capturing the interactions so the values/settings can be journaled. More...
 
NXOpen::ParamLibParameterListBuilderCreateListBlockBuilder1 (std::vector< NXString > &pcLibTypeNeuNames)
 Creates a NXOpen::ParamLibParameterListBuilder that controls the parameters list UI block look and feel as well as capturing the interactions so the values/settings can be journaled. More...
 
NXOpen::ParamLibParameterBuilderCreateParameterBuilder (const NXString &libTypeNeutralName, int parameterType)
 Creates a ParamLibParameterBuilder used to create a parameter of a given type of a given type of parameter library. More...
 
NXOpen::ParamLibParameterBuilderCreateParameterBuilder (const char *libTypeNeutralName, int parameterType)
 Creates a ParamLibParameterBuilder used to create a parameter of a given type of a given type of parameter library. More...
 
NXOpen::ParamLibParameterBuilderCreateParameterEditBuilder (NXOpen::ParamLibParameter *parameterTag)
 Creates a ParamLibParameterBuilder used to edit parameters. More...
 
NXOpen::ParamLibParameterBuilderCreateParameterInspectBuilder (NXOpen::ParamLibParameter *parameterTag)
 Creates a ParamLibParameterBuilder used to inspect parameters. More...
 
NXOpen::ParamLibLibraryManagerBuilderCreateParameterLibmgrBuilder (std::vector< NXString > &pcLibTypeNeuNames)
 Creates a ParamLibLibraryManagerBuilder used by the parameter library manager UI to control the look and feel as well as capturing the interactions so the values/settings can be journaled. More...
 
void DeleteParametersFromLibrary (std::vector< NXString > &pParamNames, const NXString &pcLibName)
 Deletes the parameters from a parameter library file. More...
 
void DeleteParametersFromLibrary (std::vector< NXString > &pParamNames, const char *pcLibName)
 Deletes the parameters from a parameter library file. More...
 
iterator end ()
 Returns an iterator addressing one past the last element. More...
 
void ExportParametersToLibrary (std::vector< NXString > &pcParamNames, std::vector< NXString > &pcLibNames, const NXString &pcExportedLibName, const std::vector< bool > &bUpdateLibraryReference)
 Writes out parameters to a parameter library file. More...
 
void ExportParametersToLibrary (std::vector< NXString > &pcParamNames, std::vector< NXString > &pcLibNames, const char *pcExportedLibName, const std::vector< bool > &bUpdateLibraryReference)
 Writes out parameters to a parameter library file. More...
 
void ExportParametersToLibrary (std::vector< NXString > &pcParamNames, std::vector< NXString > &pcLibNames, const NXString &pcExportedLibName, bool bUpdateLibraryReference)
 Writes out parameters to a parameter library file. More...
 
void ExportParametersToLibrary (std::vector< NXString > &pcParamNames, std::vector< NXString > &pcLibNames, const char *pcExportedLibName, bool bUpdateLibraryReference)
 Writes out parameters to a parameter library file. More...
 
NXOpen::ParamLibParameterFindObject (const NXString &journalIdentifier)
 Finds the NXOpen::ParamLibParameter with the given identifier as recorded in a journal. More...
 
NXOpen::ParamLibParameterFindObject (const char *journalIdentifier)
 Finds the NXOpen::ParamLibParameter with the given identifier as recorded in a journal. More...
 
NXOpen::ParamLibParameterGetLoadedLibraryParameter (const NXString &pcLibName, const NXString &pcParamName)
 Checks if a library parameter is loaded into a part file or not. More...
 
NXOpen::ParamLibParameterGetLoadedLibraryParameter (const char *pcLibName, const char *pcParamName)
 Checks if a library parameter is loaded into a part file or not. More...
 
std::vector
< NXOpen::ParamLibParameter * > 
GetUsedParameters ()
 Returns the parameters used in the part. More...
 
void InfoLibraryParameter (const NXString &pcLibAr, const NXString &pcParamNameAr)
 Displays the property values for the specified library parameter in the information window. More...
 
void InfoLibraryParameter (const char *pcLibAr, const char *pcParamNameAr)
 Displays the property values for the specified library parameter in the information window. More...
 
void InfoLibraryParameterToFile (const NXString &pcLibAr, const NXString &pcParamNameAr, bool bOverride, const NXString &pcFileName)
 Writes the property values for the specified library parameter to a file. More...
 
void InfoLibraryParameterToFile (const char *pcLibAr, const char *pcParamNameAr, bool bOverride, const char *pcFileName)
 Writes the property values for the specified library parameter to a file. More...
 
NXOpen::ParamLibParameterLoadFromNxparampllibrary (const NXString &parameterName)
 Creates a non-editable parameter in the part from a NX parameter library parameter definition. More...
 
NXOpen::ParamLibParameterLoadFromNxparampllibrary (const char *parameterName)
 Creates a non-editable parameter in the part from a NX parameter library parameter definition. More...
 
NXOpen::ParamLibParameterLoadFromParamplLibrary (const NXString &libraryName, const NXString &parameterName)
 Creates a non-editable parameter in the part from a parameter library file definition. More...
 
NXOpen::ParamLibParameterLoadFromParamplLibrary (const char *libraryName, const char *parameterName)
 Creates a non-editable parameter in the part from a parameter library file definition. More...
 
void OutputParametersToLibrary (std::vector< NXString > &pcParamNames, std::vector< NXString > &pcLibNames, const NXString &pcExportedLibName)
 Writes out parameters to a parameter library file. More...
 
void OutputParametersToLibrary (std::vector< NXString > &pcParamNames, std::vector< NXString > &pcLibNames, const char *pcExportedLibName)
 Writes out parameters to a parameter library file. More...
 
tag_t Tag () const
 Returns the tag of this object. More...
 
void UpdateParametersInLibrary (const std::vector< NXOpen::ParamLibParameter * > &tEditedParam, std::vector< NXString > &pParamNames, const NXString &pcLibName)
 Updates the parameters in a parameter library file. More...
 
void UpdateParametersInLibrary (const std::vector< NXOpen::ParamLibParameter * > &tEditedParam, std::vector< NXString > &pParamNames, const char *pcLibName)
 Updates the parameters in a parameter library file. More...
 

Detailed Description

Represents the collection of all ParamLibParameter objects in this Part.


To obtain an instance of this class, refer to NXOpen::ParamLibParameterLibraryManager

Created in NX1847.0.0.

Member Function Documentation

iterator NXOpen::ParamLibParameterCollection::begin ( )

Returns an iterator addressing the first element.

NXOpen::ParamLibParameter* NXOpen::ParamLibParameterCollection::CopyParameterFromLibrary ( const NXString libraryName,
const NXString libraryReference 
)

Creates an editable parameter (copy) in the part from a library parameter definition.

Returns
the copied parameter
Created in NX1847.0.0.

License requirements : None
Parameters
libraryNamethe fully qualified library name or if the leaf it will use the current directory, followed by the user and site directories set up in the customer defaults
libraryReferencethe parameter name/identifier
NXOpen::ParamLibParameter* NXOpen::ParamLibParameterCollection::CopyParameterFromLibrary ( const char *  libraryName,
const char *  libraryReference 
)

Creates an editable parameter (copy) in the part from a library parameter definition.

Returns
the copied parameter
Created in NX1847.0.0.

License requirements : None
Parameters
libraryNamethe fully qualified library name or if the leaf it will use the current directory, followed by the user and site directories set up in the customer defaults
libraryReferencethe parameter name/identifier
NXOpen::ParamLibParameter* NXOpen::ParamLibParameterCollection::CopyParameterFromLibrary ( const NXString libraryName,
const NXString libraryReference,
bool  retainParentPedigree 
)

Creates an editable parameter (copy) in the part from a library parameter definition.

Returns
the copied parameter
Created in NX1847.0.0.

License requirements : None
Parameters
libraryNamethe fully qualified library name or if the leaf it will use the current directory, followed by the user and site directories set up in the customer defaults
libraryReferencethe parameter name/identifier
retainParentPedigreetrue indicates that the copied parameter should retain information about what library parameter it came from
NXOpen::ParamLibParameter* NXOpen::ParamLibParameterCollection::CopyParameterFromLibrary ( const char *  libraryName,
const char *  libraryReference,
bool  retainParentPedigree 
)

Creates an editable parameter (copy) in the part from a library parameter definition.

Returns
the copied parameter
Created in NX1847.0.0.

License requirements : None
Parameters
libraryNamethe fully qualified library name or if the leaf it will use the current directory, followed by the user and site directories set up in the customer defaults
libraryReferencethe parameter name/identifier
retainParentPedigreetrue indicates that the copied parameter should retain information about what library parameter it came from
NXOpen::ParamLibParameterListBuilder* NXOpen::ParamLibParameterCollection::CreateListBlockBuilder ( )

Creates a NXOpen::ParamLibParameterListBuilder that controls the parameters list UI block look and feel as well as capturing the interactions so the values/settings can be journaled.

Returns
created NXOpen::ParamLibParameterListBuilder
Created in NX1847.0.0.

License requirements : None
NXOpen::ParamLibParameterListBuilder* NXOpen::ParamLibParameterCollection::CreateListBlockBuilder1 ( std::vector< NXString > &  pcLibTypeNeuNames)

Creates a NXOpen::ParamLibParameterListBuilder that controls the parameters list UI block look and feel as well as capturing the interactions so the values/settings can be journaled.

Returns
created NXOpen::ParamLibParameterListBuilder
Created in NX1847.0.0.

License requirements : None
Parameters
pcLibTypeNeuNamesArray of neutral names of valid parameter library types
NXOpen::ParamLibParameterBuilder* NXOpen::ParamLibParameterCollection::CreateParameterBuilder ( const NXString libTypeNeutralName,
int  parameterType 
)

Creates a ParamLibParameterBuilder used to create a parameter of a given type of a given type of parameter library.

Returns
created NXOpen::ParamLibParameterBuilder
Created in NX1847.0.0.

License requirements : None
Parameters
libTypeNeutralNameNeutral name of parameter library type
parameterTypeType of NXOpen::ParamLibParameter to be created
NXOpen::ParamLibParameterBuilder* NXOpen::ParamLibParameterCollection::CreateParameterBuilder ( const char *  libTypeNeutralName,
int  parameterType 
)

Creates a ParamLibParameterBuilder used to create a parameter of a given type of a given type of parameter library.

Returns
created NXOpen::ParamLibParameterBuilder
Created in NX1847.0.0.

License requirements : None
Parameters
libTypeNeutralNameNeutral name of parameter library type
parameterTypeType of NXOpen::ParamLibParameter to be created
NXOpen::ParamLibParameterBuilder* NXOpen::ParamLibParameterCollection::CreateParameterEditBuilder ( NXOpen::ParamLibParameter parameterTag)

Creates a ParamLibParameterBuilder used to edit parameters.

Returns
created NXOpen::ParamLibParameterBuilder
Created in NX1847.0.0.

License requirements : None
Parameters
parameterTagNXOpen::ParamLibParameter to be edited
NXOpen::ParamLibParameterBuilder* NXOpen::ParamLibParameterCollection::CreateParameterInspectBuilder ( NXOpen::ParamLibParameter parameterTag)

Creates a ParamLibParameterBuilder used to inspect parameters.

Returns
created NXOpen::ParamLibParameterBuilder
Created in NX1847.0.0.

License requirements : None
Parameters
parameterTagNXOpen::ParamLibParameter to be inspected
NXOpen::ParamLibLibraryManagerBuilder* NXOpen::ParamLibParameterCollection::CreateParameterLibmgrBuilder ( std::vector< NXString > &  pcLibTypeNeuNames)

Creates a ParamLibLibraryManagerBuilder used by the parameter library manager UI to control the look and feel as well as capturing the interactions so the values/settings can be journaled.

Returns
created NXOpen::ParamLibLibraryManagerBuilder
Created in NX1847.0.0.

License requirements : None
Parameters
pcLibTypeNeuNamesArray of neutral names of valid parameter library types
void NXOpen::ParamLibParameterCollection::DeleteParametersFromLibrary ( std::vector< NXString > &  pParamNames,
const NXString pcLibName 
)

Deletes the parameters from a parameter library file.

Write access is needed for this operation.


Created in NX1847.0.0.

License requirements : None

Parameters
pParamNamesArrays of identifiers of the parameters to be deleted from the library
pcLibNameLibrary to modify
void NXOpen::ParamLibParameterCollection::DeleteParametersFromLibrary ( std::vector< NXString > &  pParamNames,
const char *  pcLibName 
)

Deletes the parameters from a parameter library file.

Write access is needed for this operation.


Created in NX1847.0.0.

License requirements : None

Parameters
pParamNamesArrays of identifiers of the parameters to be deleted from the library
pcLibNameLibrary to modify
iterator NXOpen::ParamLibParameterCollection::end ( )

Returns an iterator addressing one past the last element.

void NXOpen::ParamLibParameterCollection::ExportParametersToLibrary ( std::vector< NXString > &  pcParamNames,
std::vector< NXString > &  pcLibNames,
const NXString pcExportedLibName,
const std::vector< bool > &  bUpdateLibraryReference 
)

Writes out parameters to a parameter library file.

These parameters can be local parameter definitions or parameter definitions from other parameter libraries. The combination of the parameter name and library name identify a parameter definition. If the parameter definition is for a local parameter, the name is specified and the library name is specified as "". Write access is needed for the Exported library. If the bUpdateLibraryReferences is set to true, the NX model is updated to reflect the exported library as the library the parameter is now referenced in. Each parameter can have its own bUpdateLibraryReferences in this version of the JA call.


Created in NX1847.0.0.

License requirements : None

Parameters
pcParamNamesArray of identifiers of the parameters to be exported
pcLibNamesArray of library names corresponding to the parameter names
pcExportedLibNameThe library to write the parameter definitions to
bUpdateLibraryReferencetrue indicates that the library reference of loaded/local parameters should now refer to the exported library, false indicates the library reference should remain unchanged
void NXOpen::ParamLibParameterCollection::ExportParametersToLibrary ( std::vector< NXString > &  pcParamNames,
std::vector< NXString > &  pcLibNames,
const char *  pcExportedLibName,
const std::vector< bool > &  bUpdateLibraryReference 
)

Writes out parameters to a parameter library file.

These parameters can be local parameter definitions or parameter definitions from other parameter libraries. The combination of the parameter name and library name identify a parameter definition. If the parameter definition is for a local parameter, the name is specified and the library name is specified as "". Write access is needed for the Exported library. If the bUpdateLibraryReferences is set to true, the NX model is updated to reflect the exported library as the library the parameter is now referenced in. Each parameter can have its own bUpdateLibraryReferences in this version of the JA call.


Created in NX1847.0.0.

License requirements : None

Parameters
pcParamNamesArray of identifiers of the parameters to be exported
pcLibNamesArray of library names corresponding to the parameter names
pcExportedLibNameThe library to write the parameter definitions to
bUpdateLibraryReferencetrue indicates that the library reference of loaded/local parameters should now refer to the exported library, false indicates the library reference should remain unchanged
void NXOpen::ParamLibParameterCollection::ExportParametersToLibrary ( std::vector< NXString > &  pcParamNames,
std::vector< NXString > &  pcLibNames,
const NXString pcExportedLibName,
bool  bUpdateLibraryReference 
)

Writes out parameters to a parameter library file.

These parameters can be local parameter definitions or parameter definitions from other parameter libraries. The combination of the parameter name and library name identify a parameter definition. If the parameter definition is for a local parameter, the name is specified and the library name is specified as "". Write access is needed for the Exported library. If the bUpdateLibraryReferences is set to true, the NX model is updated to reflect the exported library as the library the parameter is now referenced in.


Created in NX1847.0.0.

License requirements : None

Parameters
pcParamNamesArray of identifiers of the parameters to be exported
pcLibNamesArray of library names corresponding to the parameter names
pcExportedLibNameThe library to write the parameter definitions to
bUpdateLibraryReferencetrue indicates that the library reference of loaded/local parameters should now refer to the exported library, false indicates the library reference should remain unchanged
void NXOpen::ParamLibParameterCollection::ExportParametersToLibrary ( std::vector< NXString > &  pcParamNames,
std::vector< NXString > &  pcLibNames,
const char *  pcExportedLibName,
bool  bUpdateLibraryReference 
)

Writes out parameters to a parameter library file.

These parameters can be local parameter definitions or parameter definitions from other parameter libraries. The combination of the parameter name and library name identify a parameter definition. If the parameter definition is for a local parameter, the name is specified and the library name is specified as "". Write access is needed for the Exported library. If the bUpdateLibraryReferences is set to true, the NX model is updated to reflect the exported library as the library the parameter is now referenced in.


Created in NX1847.0.0.

License requirements : None

Parameters
pcParamNamesArray of identifiers of the parameters to be exported
pcLibNamesArray of library names corresponding to the parameter names
pcExportedLibNameThe library to write the parameter definitions to
bUpdateLibraryReferencetrue indicates that the library reference of loaded/local parameters should now refer to the exported library, false indicates the library reference should remain unchanged
NXOpen::ParamLibParameter* NXOpen::ParamLibParameterCollection::FindObject ( const NXString journalIdentifier)

Finds the NXOpen::ParamLibParameter with the given identifier as recorded in a journal.

An exception will be thrown if no object can be found with the given journal identifier.

Returns
parameter found
Created in NX1847.0.0.

License requirements : None
Parameters
journalIdentifierIdentifier to be found
NXOpen::ParamLibParameter* NXOpen::ParamLibParameterCollection::FindObject ( const char *  journalIdentifier)

Finds the NXOpen::ParamLibParameter with the given identifier as recorded in a journal.

An exception will be thrown if no object can be found with the given journal identifier.

Returns
parameter found
Created in NX1847.0.0.

License requirements : None
Parameters
journalIdentifierIdentifier to be found
NXOpen::ParamLibParameter* NXOpen::ParamLibParameterCollection::GetLoadedLibraryParameter ( const NXString pcLibName,
const NXString pcParamName 
)

Checks if a library parameter is loaded into a part file or not.

If it is, the loaded parameter is returned.

Returns
the loaded parameter
Created in NX1847.0.0.

License requirements : None
Parameters
pcLibNamethe fully qualified library name or if the leaf it will use the current directory, followed by the user and site directories set up in the customer defaults
pcParamNamethe parameter name
NXOpen::ParamLibParameter* NXOpen::ParamLibParameterCollection::GetLoadedLibraryParameter ( const char *  pcLibName,
const char *  pcParamName 
)

Checks if a library parameter is loaded into a part file or not.

If it is, the loaded parameter is returned.

Returns
the loaded parameter
Created in NX1847.0.0.

License requirements : None
Parameters
pcLibNamethe fully qualified library name or if the leaf it will use the current directory, followed by the user and site directories set up in the customer defaults
pcParamNamethe parameter name
std::vector<NXOpen::ParamLibParameter *> NXOpen::ParamLibParameterCollection::GetUsedParameters ( )

Returns the parameters used in the part.

Returns
Parameters used
Created in NX1847.0.0.

License requirements : None
void NXOpen::ParamLibParameterCollection::InfoLibraryParameter ( const NXString pcLibAr,
const NXString pcParamNameAr 
)

Displays the property values for the specified library parameter in the information window.


Created in NX1847.0.0.

License requirements : None

Parameters
pcLibArthe library name
pcParamNameArthe parameter name
void NXOpen::ParamLibParameterCollection::InfoLibraryParameter ( const char *  pcLibAr,
const char *  pcParamNameAr 
)

Displays the property values for the specified library parameter in the information window.


Created in NX1847.0.0.

License requirements : None

Parameters
pcLibArthe library name
pcParamNameArthe parameter name
void NXOpen::ParamLibParameterCollection::InfoLibraryParameterToFile ( const NXString pcLibAr,
const NXString pcParamNameAr,
bool  bOverride,
const NXString pcFileName 
)

Writes the property values for the specified library parameter to a file.


Created in NX1847.0.0.

License requirements : None

Parameters
pcLibArthe library name
pcParamNameArthe parameter name
bOverrideif the file already exists, true override the file, false append to the file
pcFileNamethe full path including filename of file where the information should be written
void NXOpen::ParamLibParameterCollection::InfoLibraryParameterToFile ( const char *  pcLibAr,
const char *  pcParamNameAr,
bool  bOverride,
const char *  pcFileName 
)

Writes the property values for the specified library parameter to a file.


Created in NX1847.0.0.

License requirements : None

Parameters
pcLibArthe library name
pcParamNameArthe parameter name
bOverrideif the file already exists, true override the file, false append to the file
pcFileNamethe full path including filename of file where the information should be written
NXOpen::ParamLibParameter* NXOpen::ParamLibParameterCollection::LoadFromNxparampllibrary ( const NXString parameterName)

Creates a non-editable parameter in the part from a NX parameter library parameter definition.

Returns
the loaded parameter
Created in NX1847.0.0.

License requirements : None
Parameters
parameterNamethe unique parameter name from within this Library
NXOpen::ParamLibParameter* NXOpen::ParamLibParameterCollection::LoadFromNxparampllibrary ( const char *  parameterName)

Creates a non-editable parameter in the part from a NX parameter library parameter definition.

Returns
the loaded parameter
Created in NX1847.0.0.

License requirements : None
Parameters
parameterNamethe unique parameter name from within this Library
NXOpen::ParamLibParameter* NXOpen::ParamLibParameterCollection::LoadFromParamplLibrary ( const NXString libraryName,
const NXString parameterName 
)

Creates a non-editable parameter in the part from a parameter library file definition.

The parameter is identified by the library name and the unique parameter name. If the library name is not fully qualified, it will attempt to find a parameter library with this name in the current directory, followed by the specified customer defaults values for the user and site parameter libraries. If the customer defaults are using the file format, it will look in the directory where the specified file is located.

Returns
the loaded parameter
Created in NX1847.0.0.

License requirements : None
Parameters
libraryNamethe fully qualified library name or if the leaf it will use the current directory, followed by the user and site directories set up in the customer defaults
parameterNamethe parameter name
NXOpen::ParamLibParameter* NXOpen::ParamLibParameterCollection::LoadFromParamplLibrary ( const char *  libraryName,
const char *  parameterName 
)

Creates a non-editable parameter in the part from a parameter library file definition.

The parameter is identified by the library name and the unique parameter name. If the library name is not fully qualified, it will attempt to find a parameter library with this name in the current directory, followed by the specified customer defaults values for the user and site parameter libraries. If the customer defaults are using the file format, it will look in the directory where the specified file is located.

Returns
the loaded parameter
Created in NX1847.0.0.

License requirements : None
Parameters
libraryNamethe fully qualified library name or if the leaf it will use the current directory, followed by the user and site directories set up in the customer defaults
parameterNamethe parameter name
void NXOpen::ParamLibParameterCollection::OutputParametersToLibrary ( std::vector< NXString > &  pcParamNames,
std::vector< NXString > &  pcLibNames,
const NXString pcExportedLibName 
)

Writes out parameters to a parameter library file.

These parameters can be local parameter definitions or parameter definitions from other parameter libraries. The combination of the parameter name and library name identify a parameter definition. If the parameter definition is for a local parameter, the name is specified and the library name is specified as "". Write access is needed for the Exported library.
Created in NX1847.0.0.

License requirements : None

Parameters
pcParamNamesArray of identifiers of the parameters to be exported
pcLibNamesArray of library names corresponding to the parameter names
pcExportedLibNameThe library to write the parameter definitions to
void NXOpen::ParamLibParameterCollection::OutputParametersToLibrary ( std::vector< NXString > &  pcParamNames,
std::vector< NXString > &  pcLibNames,
const char *  pcExportedLibName 
)

Writes out parameters to a parameter library file.

These parameters can be local parameter definitions or parameter definitions from other parameter libraries. The combination of the parameter name and library name identify a parameter definition. If the parameter definition is for a local parameter, the name is specified and the library name is specified as "". Write access is needed for the Exported library.
Created in NX1847.0.0.

License requirements : None

Parameters
pcParamNamesArray of identifiers of the parameters to be exported
pcLibNamesArray of library names corresponding to the parameter names
pcExportedLibNameThe library to write the parameter definitions to
tag_t NXOpen::ParamLibParameterCollection::Tag ( ) const

Returns the tag of this object.

void NXOpen::ParamLibParameterCollection::UpdateParametersInLibrary ( const std::vector< NXOpen::ParamLibParameter * > &  tEditedParam,
std::vector< NXString > &  pParamNames,
const NXString pcLibName 
)

Updates the parameters in a parameter library file.

Write access is needed for this operation.


Created in NX1847.0.0.

License requirements : None

Parameters
tEditedParamArray of loaded parameter tags
pParamNamesArray of the parameter names which match the name in the library that should take the properties of the corresponding parameter (tEditedParam)
pcLibNameLibrary to modify
void NXOpen::ParamLibParameterCollection::UpdateParametersInLibrary ( const std::vector< NXOpen::ParamLibParameter * > &  tEditedParam,
std::vector< NXString > &  pParamNames,
const char *  pcLibName 
)

Updates the parameters in a parameter library file.

Write access is needed for this operation.


Created in NX1847.0.0.

License requirements : None

Parameters
tEditedParamArray of loaded parameter tags
pParamNamesArray of the parameter names which match the name in the library that should take the properties of the corresponding parameter (tEditedParam)
pcLibNameLibrary to modify

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