NX Open C++ Reference Guide
|
Represents the manager class of the Fields. More...
Public Member Functions | |
NXOpen::Fields::FieldVariable * | CreateDependentVariable (NXOpen::Fields::Field *ownerField, NXOpen::Fields::NameVariable *nameVariable, NXOpen::Unit *unitType) |
Create a dependent variable to be added to the field. | |
NXOpen::Fields::DisplayPropertiesBuilder * | CreateDisplayPropertiesBuilder (const std::vector< NXOpen::Fields::Field * > &fieldArray) |
Creates a Fields::DisplayPropertiesBuilder. | |
NXOpen::Fields::ExportData * | CreateExportData () |
Creates a Fields.ExportData. | |
NXOpen::Fields::FieldExpression * | CreateFieldExpression (const NXString &fieldExpString, NXOpen::Unit *unitType) |
Creates a system Fields::FieldExpression object. | |
NXOpen::Fields::FieldExpression * | CreateFieldExpression (const char *fieldExpString, NXOpen::Unit *unitType) |
Creates a system Fields::FieldExpression object. | |
NXOpen::Fields::FieldExpression * | CreateFieldExpression (const NXString &fieldExpString, NXOpen::Unit *unitType, const std::vector< NXOpen::Fields::FieldVariable * > &indepVarArray) |
Creates a system Fields::FieldExpression object with independent variables. | |
NXOpen::Fields::FieldExpression * | CreateFieldExpression (const char *fieldExpString, NXOpen::Unit *unitType, const std::vector< NXOpen::Fields::FieldVariable * > &indepVarArray) |
Creates a system Fields::FieldExpression object with independent variables. | |
NXOpen::Fields::FieldFormula * | CreateFieldFormula (const NXString &fieldName, const std::vector< NXOpen::Fields::FieldVariable * > &indepVarArray, const std::vector< NXOpen::Fields::FieldExpression * > &depExpArray) |
Creates a Fields::FieldFormula object with dependent Fields::FieldExpression . | |
NXOpen::Fields::FieldFormula * | CreateFieldFormula (const char *fieldName, const std::vector< NXOpen::Fields::FieldVariable * > &indepVarArray, const std::vector< NXOpen::Fields::FieldExpression * > &depExpArray) |
Creates a Fields::FieldFormula object with dependent Fields::FieldExpression . | |
NXOpen::Fields::FieldLink * | CreateFieldLink (const NXString &fieldName, NXOpen::Fields::Field *fieldToLink) |
Creates a Fields::FieldLink . | |
NXOpen::Fields::FieldLink * | CreateFieldLink (const char *fieldName, NXOpen::Fields::Field *fieldToLink) |
Creates a Fields::FieldLink . | |
NXOpen::Fields::FieldLinksTable * | CreateFieldLinksTable (const NXString &fieldName, const std::vector< NXOpen::Fields::FieldVariable * > &indepVarArray, const std::vector< NXOpen::Fields::FieldVariable * > &depVarArray, const std::vector< double > &datapoints, const std::vector< NXOpen::Fields::Field * > &linkFieldsArray) |
Creates a Fields::FieldLinksTable object with dependent and independent variables Fields::FieldVariable . | |
NXOpen::Fields::FieldLinksTable * | CreateFieldLinksTable (const char *fieldName, const std::vector< NXOpen::Fields::FieldVariable * > &indepVarArray, const std::vector< NXOpen::Fields::FieldVariable * > &depVarArray, const std::vector< double > &datapoints, const std::vector< NXOpen::Fields::Field * > &linkFieldsArray) |
Creates a Fields::FieldLinksTable object with dependent and independent variables Fields::FieldVariable . | |
NXOpen::Fields::FieldTable * | CreateFieldTable (const NXString &fieldName, const std::vector< NXOpen::Fields::FieldVariable * > &indepVarArray, const std::vector< NXOpen::Fields::FieldVariable * > &depVarArray, const std::vector< double > &datapoints) |
Creates a Fields::FieldTable object with dependent and independent variables Fields::FieldVariable . | |
NXOpen::Fields::FieldTable * | CreateFieldTable (const char *fieldName, const std::vector< NXOpen::Fields::FieldVariable * > &indepVarArray, const std::vector< NXOpen::Fields::FieldVariable * > &depVarArray, const std::vector< double > &datapoints) |
Creates a Fields::FieldTable object with dependent and independent variables Fields::FieldVariable . | |
NXOpen::Fields::FieldTable * | CreateFieldTableFromData (const NXString &fieldNamePrefix, NXOpen::Unit *ivarUnit, NXOpen::Unit *dvarUnit, NXOpen::Fields::FieldVariable::ValueType dvarType, const std::vector< double > &datapoints) |
Creates a Fields::FieldTable object with dependent and independent variables Fields::FieldVariable . | |
NXOpen::Fields::FieldTable * | CreateFieldTableFromData (const char *fieldNamePrefix, NXOpen::Unit *ivarUnit, NXOpen::Unit *dvarUnit, NXOpen::Fields::FieldVariable::ValueType dvarType, const std::vector< double > &datapoints) |
Creates a Fields::FieldTable object with dependent and independent variables Fields::FieldVariable . | |
NXOpen::Fields::FieldWrapper * | CreateFieldWrapper (NXOpen::Fields::Field *field) |
Create a field wrapper backed up by a field. | |
NXOpen::Fields::ImportData * | CreateImportData () |
Creates a Fields.ImportData. | |
NXOpen::Fields::FieldVariable * | CreateIndependentVariable (NXOpen::Fields::Field *ownerField, NXOpen::Fields::NameVariable *nameVariable, NXOpen::Unit *unitType, bool minValueSet, bool minValueInclusive, double minValue, bool maxValueSet, bool maxValueInclusive, double maxValue, bool numPtsSet, int numPts, bool defaultValueSet, double defaultValue) |
Create an independent variable to be added to the field. | |
NXOpen::Fields::PathObjects * | CreatePathObjects () |
Creates a Fields::PathObjects. | |
NXOpen::Fields::ScalarFieldWrapper * | CreateScalarFieldWrapperWithExpression (NXOpen::Expression *expression) |
Create a field wrapper backed by a scalar expression. | |
NXOpen::Fields::ScalarFieldWrapper * | CreateScalarFieldWrapperWithField (NXOpen::Fields::Field *field, double scaleFactor) |
Create a scalar field wrapper backed up by a scaled scalar field. | |
NXOpen::Fields::SpatialMapBuilder * | CreateSpatialMapBuilder (NXOpen::Fields::SpatialMap *spatialmap) |
Creates a Fields::SpatialMapBuilder. | |
NXOpen::Fields::FieldExpression * | CreateSubFieldExpression (NXOpen::Fields::FieldVariable *depVar) |
Creates a system Fields::FieldExpression object with independent variables. | |
NXOpen::Fields::VectorFieldWrapper * | CreateVectorFieldWrapperWithExpressions (const std::vector< NXOpen::Expression * > &expressions) |
Create a vector field wrapper backed by three scalar expressions. | |
NXOpen::Fields::VectorFieldWrapper * | CreateVectorFieldWrapperWithField (NXOpen::Fields::Field *field, const std::vector< double > &scaleFactors) |
Create a vector field wrapper backed up by a scaled vector field. | |
NXOpen::Fields::Field * | DeleteField (NXOpen::Fields::Field *field) |
Deletes the specified Fields::Field object; if the object cannot be deleted it is returned. | |
NXOpen::Fields::FieldDomainCollection * | Domains () |
Returns a collection of Units Created in NX3.0.0. | |
void | EditDependentVariable (NXOpen::Fields::FieldVariable *depVar, const NXString &varName, NXOpen::Unit *unitType) |
Edit dependent variable. | |
void | EditDependentVariable (NXOpen::Fields::FieldVariable *depVar, const char *varName, NXOpen::Unit *unitType) |
Edit dependent variable. | |
void | EditIndependentVariable (NXOpen::Fields::FieldVariable *indepVar, const NXString &varName, NXOpen::Unit *unitType, bool minValueSet, bool minValueInclusive, double minValue, bool maxValueSet, bool maxValueInclusive, double maxValue, bool numPtsSet, int numPts, bool defaultValueSet, double defaultValue) |
Edit an independent variable. | |
void | EditIndependentVariable (NXOpen::Fields::FieldVariable *indepVar, const char *varName, NXOpen::Unit *unitType, bool minValueSet, bool minValueInclusive, double minValue, bool maxValueSet, bool maxValueInclusive, double maxValue, bool numPtsSet, int numPts, bool defaultValueSet, double defaultValue) |
Edit an independent variable. | |
void | ExportFields (NXOpen::Fields::ExportData *exportData) |
Exports fields to a text file as defined by export_data parameter Created in NX6.0.0. | |
NXOpen::Fields::NameVariable * | GetNameVariable (const NXString &variableName, const NXString &measureName) |
Locate an existing, or create a new Fields::NameVariable object. | |
NXOpen::Fields::NameVariable * | GetNameVariable (const char *variableName, const char *measureName) |
Locate an existing, or create a new Fields::NameVariable object. | |
int | GetValidFieldId () |
Get the next available ID for Fields::Field object. | |
void | ImportFields (NXOpen::Fields::ImportData *importData) |
Imports fields from a text file as defined by import_data parameter Created in NX6.0.0. | |
![]() | |
void | DeleteAllAttributesByType (NXOpen::NXObject::AttributeType type) |
Deletes all attributes of a specific type. | |
void | DeleteAllAttributesByType (NXOpen::NXObject::AttributeType type, NXOpen::Update::Option option) |
Deletes all attributes of a specific type with the option to update or not. | |
void | DeleteAttributeByTypeAndTitle (NXOpen::NXObject::AttributeType type, const NXString &title) |
Deletes an attribute by type and title. | |
void | DeleteAttributeByTypeAndTitle (NXOpen::NXObject::AttributeType type, const char *title) |
Deletes an attribute by type and title. | |
void | DeleteAttributeByTypeAndTitle (NXOpen::NXObject::AttributeType type, const NXString &title, NXOpen::Update::Option option) |
Deletes an attribute by type and title with the option to update or not. | |
void | DeleteAttributeByTypeAndTitle (NXOpen::NXObject::AttributeType type, const char *title, NXOpen::Update::Option option) |
Deletes an attribute by type and title with the option to update or not. | |
void | DeleteUserAttribute (NXOpen::NXObject::AttributeType type, const NXString &title, bool deleteEntireArray, NXOpen::Update::Option option) |
Deletes the first attribute encountered with the given Type, Title and Index. | |
void | DeleteUserAttribute (NXOpen::NXObject::AttributeType type, const char *title, bool deleteEntireArray, NXOpen::Update::Option option) |
Deletes the first attribute encountered with the given Type, Title and Index. | |
void | DeleteUserAttributes (NXOpen::NXObject::AttributeType type, NXOpen::Update::Option option) |
Deletes the attributes encountered with the given Type with option to update or not. | |
virtual NXOpen::INXObject * | FindObject (const NXString &journalIdentifier) |
Finds the NXObject with the given identifier as recorded in a journal. | |
NXOpen::INXObject * | FindObject (const char *journalIdentifier) |
Finds the NXObject with the given identifier as recorded in a journal. | |
std::vector < NXOpen::NXObject::AttributeInformation > | GetAttributeTitlesByType (NXOpen::NXObject::AttributeType type) |
Gets all the attribute titles of a specific type. | |
bool | GetBooleanUserAttribute (const NXString &title, int index) |
Gets a boolean attribute by Title and array Index. | |
bool | GetBooleanUserAttribute (const char *title, int index) |
Gets a boolean attribute by Title and array Index. | |
NXOpen::NXObject::ComputationalTime | GetComputationalTimeUserAttribute (const NXString &title, int index) |
Gets a time attribute by Title and array Index. | |
NXOpen::NXObject::ComputationalTime | GetComputationalTimeUserAttribute (const char *title, int index) |
Gets a time attribute by Title and array Index. | |
int | GetIntegerAttribute (const NXString &title) |
Gets an integer attribute by title. | |
int | GetIntegerAttribute (const char *title) |
Gets an integer attribute by title. | |
int | GetIntegerUserAttribute (const NXString &title, int index) |
Gets an integer attribute by Title and array Index. | |
int | GetIntegerUserAttribute (const char *title, int index) |
Gets an integer attribute by Title and array Index. | |
double | GetRealAttribute (const NXString &title) |
Gets a real attribute by title. | |
double | GetRealAttribute (const char *title) |
Gets a real attribute by title. | |
double | GetRealUserAttribute (const NXString &title, int index) |
Gets a real attribute by Title and array Index. | |
double | GetRealUserAttribute (const char *title, int index) |
Gets a real attribute by Title and array Index. | |
NXString | GetReferenceAttribute (const NXString &title) |
Gets the reference string (not the calculated value) of a string attribute that uses a reference string. | |
NXString | GetReferenceAttribute (const char *title) |
Gets the reference string (not the calculated value) of a string attribute that uses a reference string. | |
NXString | GetStringAttribute (const NXString &title) |
Gets a string attribute value by title. | |
NXString | GetStringAttribute (const char *title) |
Gets a string attribute value by title. | |
NXString | GetStringUserAttribute (const NXString &title, int index) |
Gets a string attribute by Title and array Index. | |
NXString | GetStringUserAttribute (const char *title, int index) |
Gets a string attribute by Title and array Index. | |
NXString | GetTimeAttribute (NXOpen::NXObject::DateAndTimeFormat format, const NXString &title) |
Gets a time attribute by title. | |
NXString | GetTimeAttribute (NXOpen::NXObject::DateAndTimeFormat format, const char *title) |
Gets a time attribute by title. | |
NXString | GetTimeUserAttribute (const NXString &title, int index) |
Gets a time attribute by Title and array Index. | |
NXString | GetTimeUserAttribute (const char *title, int index) |
Gets a time attribute by Title and array Index. | |
NXOpen::NXObject::AttributeInformation | GetUserAttribute (const NXString &title, NXOpen::NXObject::AttributeType type, int index) |
Gets the first attribute encountered on the object, if any, with a given Title, Type and array Index. | |
NXOpen::NXObject::AttributeInformation | GetUserAttribute (const char *title, NXOpen::NXObject::AttributeType type, int index) |
Gets the first attribute encountered on the object, if any, with a given Title, Type and array Index. | |
NXString | GetUserAttributeAsString (const NXString &title, NXOpen::NXObject::AttributeType type, int index) |
Gets the first attribute encountered on the object, if any, with a given title, type and array index. | |
NXString | GetUserAttributeAsString (const char *title, NXOpen::NXObject::AttributeType type, int index) |
Gets the first attribute encountered on the object, if any, with a given title, type and array index. | |
bool | GetUserAttributeLock (const NXString &title, NXOpen::NXObject::AttributeType type) |
Determine the lock of the given attribute. | |
bool | GetUserAttributeLock (const char *title, NXOpen::NXObject::AttributeType type) |
Determine the lock of the given attribute. | |
std::vector < NXOpen::NXObject::AttributeInformation > | GetUserAttributes () |
Gets all the attributes that have been set on the given object. | |
std::vector < NXOpen::NXObject::AttributeInformation > | GetUserAttributes (bool includeUnset) |
Gets all the attributes that have been set on the given object. | |
std::vector < NXOpen::NXObject::AttributeInformation > | GetUserAttributes (bool includeUnset, bool addStringValues) |
Gets all the attributes that have been set on the given object. | |
std::vector< NXString > | GetUserAttributesAsStrings () |
Gets all the attributes that have been set on the given object. | |
std::vector< NXOpen::NXObject * > | GetUserAttributeSourceObjects () |
Returns an array of objects from which this object presents attributes. | |
bool | HasUserAttribute (const NXString &title, NXOpen::NXObject::AttributeType type, int index) |
Determines if an attribute with the given Title, Type and array Index is present on the object If the attribute is not an array, the Index is ignored (if this is known beforehand, we recommend setting the Index to -1 to save time). | |
bool | HasUserAttribute (const char *title, NXOpen::NXObject::AttributeType type, int index) |
Determines if an attribute with the given Title, Type and array Index is present on the object If the attribute is not an array, the Index is ignored (if this is known beforehand, we recommend setting the Index to -1 to save time). | |
virtual bool | IsOccurrence () |
Returns whether this object is an occurrence or not. | |
virtual NXString | JournalIdentifier () |
Returns the identifier that would be recorded in a journal for this object. | |
virtual NXString | Name () |
Returns the custom name of the object. | |
virtual NXOpen::Assemblies::Component * | OwningComponent () |
Returns the owning component, if this object is an occurrence. | |
virtual NXOpen::BasePart * | OwningPart () |
Returns the owning part of this object Created in NX3.0.0. | |
virtual void | Print () |
Prints a representation of this object to the system log file. | |
virtual NXOpen::INXObject * | Prototype () |
Returns the prototype of this object if it is an occurrence. | |
void | SetAttribute (const NXString &title, int value) |
Creates or modifies an integer attribute. | |
void | SetAttribute (const char *title, int value) |
Creates or modifies an integer attribute. | |
void | SetAttribute (const NXString &title, int value, NXOpen::Update::Option option) |
Creates or modifies an integer attribute with the option to update or not. | |
void | SetAttribute (const char *title, int value, NXOpen::Update::Option option) |
Creates or modifies an integer attribute with the option to update or not. | |
void | SetAttribute (const NXString &title, double value) |
Creates or modifies a real attribute. | |
void | SetAttribute (const char *title, double value) |
Creates or modifies a real attribute. | |
void | SetAttribute (const NXString &title, double value, NXOpen::Update::Option option) |
Creates or modifies a real attribute with the option to update or not. | |
void | SetAttribute (const char *title, double value, NXOpen::Update::Option option) |
Creates or modifies a real attribute with the option to update or not. | |
void | SetAttribute (const NXString &title, const NXString &value) |
Creates or modifies a string attribute. | |
void | SetAttribute (const char *title, const char *value) |
Creates or modifies a string attribute. | |
void | SetAttribute (const NXString &title, const NXString &value, NXOpen::Update::Option option) |
Creates or modifies a string attribute with the option to update or not. | |
void | SetAttribute (const char *title, const char *value, NXOpen::Update::Option option) |
Creates or modifies a string attribute with the option to update or not. | |
void | SetAttribute (const NXString &title) |
Creates or modifies a null attribute which is an attribute with a title and no value. | |
void | SetAttribute (const char *title) |
Creates or modifies a null attribute which is an attribute with a title and no value. | |
void | SetAttribute (const NXString &title, NXOpen::Update::Option option) |
Creates or modifies a null attribute with the option to update or not. | |
void | SetAttribute (const char *title, NXOpen::Update::Option option) |
Creates or modifies a null attribute with the option to update or not. | |
void | SetBooleanUserAttribute (const NXString &title, int index, bool value, NXOpen::Update::Option option) |
Creates or modifies a boolean attribute with the option to update or not. | |
void | SetBooleanUserAttribute (const char *title, int index, bool value, NXOpen::Update::Option option) |
Creates or modifies a boolean attribute with the option to update or not. | |
virtual void | SetName (const NXString &name) |
Sets the custom name of the object. | |
void | SetName (const char *name) |
Sets the custom name of the object. | |
void | SetReferenceAttribute (const NXString &title, const NXString &value) |
Creates or modifies a string attribute which uses a reference string. | |
void | SetReferenceAttribute (const char *title, const char *value) |
Creates or modifies a string attribute which uses a reference string. | |
void | SetReferenceAttribute (const NXString &title, const NXString &value, NXOpen::Update::Option option) |
Creates or modifies a string attribute which uses a reference string, with the option to update or not. | |
void | SetReferenceAttribute (const char *title, const char *value, NXOpen::Update::Option option) |
Creates or modifies a string attribute which uses a reference string, with the option to update or not. | |
void | SetTimeAttribute (const NXString &title, const NXString &value) |
Creates or modifies a time attribute. | |
void | SetTimeAttribute (const char *title, const char *value) |
Creates or modifies a time attribute. | |
void | SetTimeAttribute (const NXString &title, const NXString &value, NXOpen::Update::Option option) |
Creates or modifies a time attribute with the option to update or not. | |
void | SetTimeAttribute (const char *title, const char *value, NXOpen::Update::Option option) |
Creates or modifies a time attribute with the option to update or not. | |
void | SetTimeUserAttribute (const NXString &title, int index, const NXString &value, NXOpen::Update::Option option) |
Creates or modifies a time attribute with the option to update or not. | |
void | SetTimeUserAttribute (const char *title, int index, const char *value, NXOpen::Update::Option option) |
Creates or modifies a time attribute with the option to update or not. | |
void | SetTimeUserAttribute (const NXString &title, int index, const NXOpen::NXObject::ComputationalTime &value, NXOpen::Update::Option option) |
Creates or modifies a time attribute with the option to update or not. | |
void | SetTimeUserAttribute (const char *title, int index, const NXOpen::NXObject::ComputationalTime &value, NXOpen::Update::Option option) |
Creates or modifies a time attribute with the option to update or not. | |
void | SetUserAttribute (const NXOpen::NXObject::AttributeInformation &info, NXOpen::Update::Option option) |
Creates or modifies an attribute with the option to update or not. | |
void | SetUserAttribute (const NXString &title, int index, int value, NXOpen::Update::Option option) |
Creates or modifies an integer attribute with the option to update or not. | |
void | SetUserAttribute (const char *title, int index, int value, NXOpen::Update::Option option) |
Creates or modifies an integer attribute with the option to update or not. | |
void | SetUserAttribute (const NXString &title, int index, double value, NXOpen::Update::Option option) |
Creates or modifies a real attribute with the option to update or not. | |
void | SetUserAttribute (const char *title, int index, double value, NXOpen::Update::Option option) |
Creates or modifies a real attribute with the option to update or not. | |
void | SetUserAttribute (const NXString &title, int index, const NXString &value, NXOpen::Update::Option option) |
Creates or modifies a string attribute with the option to update or not. | |
void | SetUserAttribute (const char *title, int index, const char *value, NXOpen::Update::Option option) |
Creates or modifies a string attribute with the option to update or not. | |
void | SetUserAttribute (const NXString &title, int index, NXOpen::Update::Option option) |
Creates or modifies a null attribute with the option to update or not. | |
void | SetUserAttribute (const char *title, int index, NXOpen::Update::Option option) |
Creates or modifies a null attribute with the option to update or not. | |
void | SetUserAttributeLock (const NXString &title, NXOpen::NXObject::AttributeType type, bool lock) |
Lock or unlock the given attribute. | |
void | SetUserAttributeLock (const char *title, NXOpen::NXObject::AttributeType type, bool lock) |
Lock or unlock the given attribute. | |
![]() | |
tag_t | GetTag () const |
<b>Deprecated</b>:<br> Use Tag instead. | |
tag_t | Tag () const |
Returns the tag of this object. | |
![]() | |
NXOpen::INXObject * | FindObject (const char *journalIdentifier) |
Finds the NXObject with the given identifier as recorded in a journal. | |
void | SetName (const char *name) |
Sets the custom name of the object. | |
Additional Inherited Members | |
![]() | |
enum | AttributeType { AttributeTypeInvalid, AttributeTypeNull, AttributeTypeBoolean, AttributeTypeInteger, AttributeTypeReal, AttributeTypeString, AttributeTypeTime, AttributeTypeReference, AttributeTypeAny = 100 } |
Specifies attribute type. More... | |
enum | DateAndTimeFormat { DateAndTimeFormatNumeric, DateAndTimeFormatTextual } |
Specifies the format of the date and time attribute. More... | |
Represents the manager class of the Fields.
<br> This manager class gives access to all the fields @link Fields::Field Fields::Field@endlink within a part,
as well as the collection of domains Fields::FieldDomain .
It also provides creation methods for the various builders of fields and related classes.
Created in NX4.0.0.
NXOpen::Fields::FieldVariable* NXOpen::Fields::FieldManager::CreateDependentVariable | ( | NXOpen::Fields::Field * | ownerField, |
NXOpen::Fields::NameVariable * | nameVariable, | ||
NXOpen::Unit * | unitType | ||
) |
Create a dependent variable to be added to the field.
@return dependent variable created and associated to the field
Created in NX6.0.2.
License requirements : None
ownerField | owner field |
nameVariable | existing name variable |
unitType | unit of the dependent variable |
NXOpen::Fields::DisplayPropertiesBuilder* NXOpen::Fields::FieldManager::CreateDisplayPropertiesBuilder | ( | const std::vector< NXOpen::Fields::Field * > & | fieldArray | ) |
Creates a Fields::DisplayPropertiesBuilder.
fieldArray | fields to edit display properties |
NXOpen::Fields::ExportData* NXOpen::Fields::FieldManager::CreateExportData | ( | ) |
Creates a Fields.ExportData.
NXOpen::Fields::FieldExpression* NXOpen::Fields::FieldManager::CreateFieldExpression | ( | const NXString & | fieldExpString, |
NXOpen::Unit * | unitType | ||
) |
Creates a system Fields::FieldExpression object.
Specifies the new expression string.
This method is deprecated; field expressions are children of Fields::FieldFormula and should not be created independently.
fieldExpString | expression string to be associated with the field NOTE: The full Unicode character set is not supported for this parameter. |
unitType | unit of the field |
NXOpen::Fields::FieldExpression* NXOpen::Fields::FieldManager::CreateFieldExpression | ( | const char * | fieldExpString, |
NXOpen::Unit * | unitType | ||
) |
Creates a system Fields::FieldExpression object.
Specifies the new expression string.
This method is deprecated; field expressions are children of Fields::FieldFormula and should not be created independently.
fieldExpString | expression string to be associated with the field NOTE: The full Unicode character set is not supported for this parameter. |
unitType | unit of the field |
NXOpen::Fields::FieldExpression* NXOpen::Fields::FieldManager::CreateFieldExpression | ( | const NXString & | fieldExpString, |
NXOpen::Unit * | unitType, | ||
const std::vector< NXOpen::Fields::FieldVariable * > & | indepVarArray | ||
) |
Creates a system Fields::FieldExpression object with independent variables.
Specifies the new expression string. <br> This method is deprecated; field expressions are children of @link Fields::FieldFormula Fields::FieldFormula@endlink and should not be created independently. <br> @return field
Created in NX4.0.0.
License requirements : None
fieldExpString | expression string to be associated with the field NOTE: The full Unicode character set is not supported for this parameter. |
unitType | unit of the field |
indepVarArray | independent variables to be associated with the field |
NXOpen::Fields::FieldExpression* NXOpen::Fields::FieldManager::CreateFieldExpression | ( | const char * | fieldExpString, |
NXOpen::Unit * | unitType, | ||
const std::vector< NXOpen::Fields::FieldVariable * > & | indepVarArray | ||
) |
Creates a system Fields::FieldExpression object with independent variables.
Specifies the new expression string. <br> This method is deprecated; field expressions are children of @link Fields::FieldFormula Fields::FieldFormula@endlink and should not be created independently. <br> @return field
Created in NX4.0.0.
License requirements : None
fieldExpString | expression string to be associated with the field NOTE: The full Unicode character set is not supported for this parameter. |
unitType | unit of the field |
indepVarArray | independent variables to be associated with the field |
NXOpen::Fields::FieldFormula* NXOpen::Fields::FieldManager::CreateFieldFormula | ( | const NXString & | fieldName, |
const std::vector< NXOpen::Fields::FieldVariable * > & | indepVarArray, | ||
const std::vector< NXOpen::Fields::FieldExpression * > & | depExpArray | ||
) |
Creates a Fields::FieldFormula object with dependent Fields::FieldExpression .
@return field
Created in NX6.0.0.
License requirements : None
fieldName | field name NOTE: The full Unicode character set is not supported for this parameter. |
indepVarArray | independent variables to be associated with the field |
depExpArray | dependent expression fields to be associated with the formula field |
NXOpen::Fields::FieldFormula* NXOpen::Fields::FieldManager::CreateFieldFormula | ( | const char * | fieldName, |
const std::vector< NXOpen::Fields::FieldVariable * > & | indepVarArray, | ||
const std::vector< NXOpen::Fields::FieldExpression * > & | depExpArray | ||
) |
Creates a Fields::FieldFormula object with dependent Fields::FieldExpression .
@return field
Created in NX6.0.0.
License requirements : None
fieldName | field name NOTE: The full Unicode character set is not supported for this parameter. |
indepVarArray | independent variables to be associated with the field |
depExpArray | dependent expression fields to be associated with the formula field |
NXOpen::Fields::FieldLink* NXOpen::Fields::FieldManager::CreateFieldLink | ( | const NXString & | fieldName, |
NXOpen::Fields::Field * | fieldToLink | ||
) |
Creates a Fields::FieldLink .
@return field
Created in NX6.0.0.
License requirements : None
fieldName | field name NOTE: The full Unicode character set is not supported for this parameter. |
fieldToLink | field to link |
NXOpen::Fields::FieldLink* NXOpen::Fields::FieldManager::CreateFieldLink | ( | const char * | fieldName, |
NXOpen::Fields::Field * | fieldToLink | ||
) |
Creates a Fields::FieldLink .
@return field
Created in NX6.0.0.
License requirements : None
fieldName | field name NOTE: The full Unicode character set is not supported for this parameter. |
fieldToLink | field to link |
NXOpen::Fields::FieldLinksTable* NXOpen::Fields::FieldManager::CreateFieldLinksTable | ( | const NXString & | fieldName, |
const std::vector< NXOpen::Fields::FieldVariable * > & | indepVarArray, | ||
const std::vector< NXOpen::Fields::FieldVariable * > & | depVarArray, | ||
const std::vector< double > & | datapoints, | ||
const std::vector< NXOpen::Fields::Field * > & | linkFieldsArray | ||
) |
Creates a Fields::FieldLinksTable object with dependent and independent variables Fields::FieldVariable .
@return links table field
Created in NX9.0.0.
License requirements : None
fieldName | field name NOTE: The full Unicode character set is not supported for this parameter. |
indepVarArray | independent variables to be associated with the field |
depVarArray | dependent variables of this and all linked fields |
datapoints | row based array of double values representing the first independent variable; the number of points should equal the number of rows. |
linkFieldsArray | row based array of link field values representing the table; the number of fields should equal the number of rows. |
NXOpen::Fields::FieldLinksTable* NXOpen::Fields::FieldManager::CreateFieldLinksTable | ( | const char * | fieldName, |
const std::vector< NXOpen::Fields::FieldVariable * > & | indepVarArray, | ||
const std::vector< NXOpen::Fields::FieldVariable * > & | depVarArray, | ||
const std::vector< double > & | datapoints, | ||
const std::vector< NXOpen::Fields::Field * > & | linkFieldsArray | ||
) |
Creates a Fields::FieldLinksTable object with dependent and independent variables Fields::FieldVariable .
@return links table field
Created in NX9.0.0.
License requirements : None
fieldName | field name NOTE: The full Unicode character set is not supported for this parameter. |
indepVarArray | independent variables to be associated with the field |
depVarArray | dependent variables of this and all linked fields |
datapoints | row based array of double values representing the first independent variable; the number of points should equal the number of rows. |
linkFieldsArray | row based array of link field values representing the table; the number of fields should equal the number of rows. |
NXOpen::Fields::FieldTable* NXOpen::Fields::FieldManager::CreateFieldTable | ( | const NXString & | fieldName, |
const std::vector< NXOpen::Fields::FieldVariable * > & | indepVarArray, | ||
const std::vector< NXOpen::Fields::FieldVariable * > & | depVarArray, | ||
const std::vector< double > & | datapoints | ||
) |
Creates a Fields::FieldTable object with dependent and independent variables Fields::FieldVariable .
@return field
Created in NX6.0.0.
License requirements : None
fieldName | field name NOTE: The full Unicode character set is not supported for this parameter. |
indepVarArray | independent variables to be associated with the table field |
depVarArray | dependent variables to be associated with the table field |
datapoints | row based array of double values representing the table; then number of points should equal the number of independent variables * the number of dependent variables * the number of rows. |
NXOpen::Fields::FieldTable* NXOpen::Fields::FieldManager::CreateFieldTable | ( | const char * | fieldName, |
const std::vector< NXOpen::Fields::FieldVariable * > & | indepVarArray, | ||
const std::vector< NXOpen::Fields::FieldVariable * > & | depVarArray, | ||
const std::vector< double > & | datapoints | ||
) |
Creates a Fields::FieldTable object with dependent and independent variables Fields::FieldVariable .
@return field
Created in NX6.0.0.
License requirements : None
fieldName | field name NOTE: The full Unicode character set is not supported for this parameter. |
indepVarArray | independent variables to be associated with the table field |
depVarArray | dependent variables to be associated with the table field |
datapoints | row based array of double values representing the table; then number of points should equal the number of independent variables * the number of dependent variables * the number of rows. |
NXOpen::Fields::FieldTable* NXOpen::Fields::FieldManager::CreateFieldTableFromData | ( | const NXString & | fieldNamePrefix, |
NXOpen::Unit * | ivarUnit, | ||
NXOpen::Unit * | dvarUnit, | ||
NXOpen::Fields::FieldVariable::ValueType | dvarType, | ||
const std::vector< double > & | datapoints | ||
) |
Creates a Fields::FieldTable object with dependent and independent variables Fields::FieldVariable .
This will create a 2 dimensional table, with the option to specify the value type for the dependent variable.
fieldNamePrefix | field name prefix; e.g. "AFU Record"; field will have a unique generated name begining with this string NOTE: The full Unicode character set is not supported for this parameter. |
ivarUnit | unit of the independent variable |
dvarUnit | unit of the dependent variable |
dvarType | dependent variable type (real/imaginary/complex...) |
datapoints | row based array of double values representing the table; then number of points should equal the number of independent variables * the number of dependent variables * the number of rows. |
NXOpen::Fields::FieldTable* NXOpen::Fields::FieldManager::CreateFieldTableFromData | ( | const char * | fieldNamePrefix, |
NXOpen::Unit * | ivarUnit, | ||
NXOpen::Unit * | dvarUnit, | ||
NXOpen::Fields::FieldVariable::ValueType | dvarType, | ||
const std::vector< double > & | datapoints | ||
) |
Creates a Fields::FieldTable object with dependent and independent variables Fields::FieldVariable .
This will create a 2 dimensional table, with the option to specify the value type for the dependent variable.
fieldNamePrefix | field name prefix; e.g. "AFU Record"; field will have a unique generated name begining with this string NOTE: The full Unicode character set is not supported for this parameter. |
ivarUnit | unit of the independent variable |
dvarUnit | unit of the dependent variable |
dvarType | dependent variable type (real/imaginary/complex...) |
datapoints | row based array of double values representing the table; then number of points should equal the number of independent variables * the number of dependent variables * the number of rows. |
NXOpen::Fields::FieldWrapper* NXOpen::Fields::FieldManager::CreateFieldWrapper | ( | NXOpen::Fields::Field * | field | ) |
Create a field wrapper backed up by a field.
field | an existing field that will be this wrapper's value |
NXOpen::Fields::ImportData* NXOpen::Fields::FieldManager::CreateImportData | ( | ) |
Creates a Fields.ImportData.
NXOpen::Fields::FieldVariable* NXOpen::Fields::FieldManager::CreateIndependentVariable | ( | NXOpen::Fields::Field * | ownerField, |
NXOpen::Fields::NameVariable * | nameVariable, | ||
NXOpen::Unit * | unitType, | ||
bool | minValueSet, | ||
bool | minValueInclusive, | ||
double | minValue, | ||
bool | maxValueSet, | ||
bool | maxValueInclusive, | ||
double | maxValue, | ||
bool | numPtsSet, | ||
int | numPts, | ||
bool | defaultValueSet, | ||
double | defaultValue | ||
) |
Create an independent variable to be added to the field.
@return independent variable created and associated to the field
Created in NX6.0.2.
License requirements : None
ownerField | owner field |
nameVariable | existing name variable |
unitType | unit of the independent variable |
minValueSet | logical value whether minimum value set |
minValueInclusive | minimum value is itself included in range |
minValue | minimum value of the variable range |
maxValueSet | logical value whether maximum value set |
maxValueInclusive | maximum value is itself included in range |
maxValue | maximum value of the variable range |
numPtsSet | logical value whether num_pts set |
numPts | num_pts of the variable range |
defaultValueSet | logical value whether default value set |
defaultValue | default value of the variable range |
NXOpen::Fields::PathObjects* NXOpen::Fields::FieldManager::CreatePathObjects | ( | ) |
Creates a Fields::PathObjects.
NXOpen::Fields::ScalarFieldWrapper* NXOpen::Fields::FieldManager::CreateScalarFieldWrapperWithExpression | ( | NXOpen::Expression * | expression | ) |
Create a field wrapper backed by a scalar expression.
expression | an existing expression that will be this wrapper's value |
NXOpen::Fields::ScalarFieldWrapper* NXOpen::Fields::FieldManager::CreateScalarFieldWrapperWithField | ( | NXOpen::Fields::Field * | field, |
double | scaleFactor | ||
) |
Create a scalar field wrapper backed up by a scaled scalar field.
field | an existing field that will be this wrapper's value |
scaleFactor | the field will be multiplied by this scale factor when being evaluated |
NXOpen::Fields::SpatialMapBuilder* NXOpen::Fields::FieldManager::CreateSpatialMapBuilder | ( | NXOpen::Fields::SpatialMap * | spatialmap | ) |
Creates a Fields::SpatialMapBuilder.
spatialmap | Existing SpatialMap to edit; NULL to create |
NXOpen::Fields::FieldExpression* NXOpen::Fields::FieldManager::CreateSubFieldExpression | ( | NXOpen::Fields::FieldVariable * | depVar | ) |
Creates a system Fields::FieldExpression object with independent variables.
Specifies the new expression string. <br> This method is used to create sub expression fields for a @link Fields::FieldFormula Fields::FieldFormula@endlink . <br> @return field
Created in NX6.0.0.
License requirements : None
depVar | dependent variables to be associated with the field |
NXOpen::Fields::VectorFieldWrapper* NXOpen::Fields::FieldManager::CreateVectorFieldWrapperWithExpressions | ( | const std::vector< NXOpen::Expression * > & | expressions | ) |
Create a vector field wrapper backed by three scalar expressions.
expressions | existing expressions that will be this wrapper's value |
NXOpen::Fields::VectorFieldWrapper* NXOpen::Fields::FieldManager::CreateVectorFieldWrapperWithField | ( | NXOpen::Fields::Field * | field, |
const std::vector< double > & | scaleFactors | ||
) |
Create a vector field wrapper backed up by a scaled vector field.
field | an existing field that will be this wrapper's value |
scaleFactors | the field will be multiplied by this scale factor when being evaluated |
NXOpen::Fields::Field* NXOpen::Fields::FieldManager::DeleteField | ( | NXOpen::Fields::Field * | field | ) |
Deletes the specified Fields::Field object; if the object cannot be deleted it is returned.
@return If the field cannot be deleted, it is returned; if the field is deleted, this will be NULL
Created in NX6.0.0.
License requirements : None
field | field to delete |
NXOpen::Fields::FieldDomainCollection* NXOpen::Fields::FieldManager::Domains | ( | ) |
Returns a collection of Units
Created in NX3.0.0.
void NXOpen::Fields::FieldManager::EditDependentVariable | ( | NXOpen::Fields::FieldVariable * | depVar, |
const NXString & | varName, | ||
NXOpen::Unit * | unitType | ||
) |
Edit dependent variable.
Created in NX6.0.0.
License requirements : None
depVar | dep variable to edit |
varName | new name for variable, or NULL to skip updating name NOTE: The full Unicode character set is not supported for this parameter. |
unitType | new unit of the dependent variable |
void NXOpen::Fields::FieldManager::EditDependentVariable | ( | NXOpen::Fields::FieldVariable * | depVar, |
const char * | varName, | ||
NXOpen::Unit * | unitType | ||
) |
Edit dependent variable.
Created in NX6.0.0.
License requirements : None
depVar | dep variable to edit |
varName | new name for variable, or NULL to skip updating name NOTE: The full Unicode character set is not supported for this parameter. |
unitType | new unit of the dependent variable |
void NXOpen::Fields::FieldManager::EditIndependentVariable | ( | NXOpen::Fields::FieldVariable * | indepVar, |
const NXString & | varName, | ||
NXOpen::Unit * | unitType, | ||
bool | minValueSet, | ||
bool | minValueInclusive, | ||
double | minValue, | ||
bool | maxValueSet, | ||
bool | maxValueInclusive, | ||
double | maxValue, | ||
bool | numPtsSet, | ||
int | numPts, | ||
bool | defaultValueSet, | ||
double | defaultValue | ||
) |
Edit an independent variable.
Created in NX6.0.0.
License requirements : None
indepVar | indep var to edit |
varName | name of the independent variable to be created NOTE: The full Unicode character set is not supported for this parameter. |
unitType | unit of the independent variable |
minValueSet | logical value whether minimum value set |
minValueInclusive | minimum value is itself included in range |
minValue | minimum value of the variable range |
maxValueSet | logical value whether maximum value set |
maxValueInclusive | maximum value is itself included in range |
maxValue | maximum value of the variable range |
numPtsSet | logical value whether num_pts set |
numPts | num_pts of the variable range |
defaultValueSet | logical value whether default value set |
defaultValue | default value of the variable range |
void NXOpen::Fields::FieldManager::EditIndependentVariable | ( | NXOpen::Fields::FieldVariable * | indepVar, |
const char * | varName, | ||
NXOpen::Unit * | unitType, | ||
bool | minValueSet, | ||
bool | minValueInclusive, | ||
double | minValue, | ||
bool | maxValueSet, | ||
bool | maxValueInclusive, | ||
double | maxValue, | ||
bool | numPtsSet, | ||
int | numPts, | ||
bool | defaultValueSet, | ||
double | defaultValue | ||
) |
Edit an independent variable.
Created in NX6.0.0.
License requirements : None
indepVar | indep var to edit |
varName | name of the independent variable to be created NOTE: The full Unicode character set is not supported for this parameter. |
unitType | unit of the independent variable |
minValueSet | logical value whether minimum value set |
minValueInclusive | minimum value is itself included in range |
minValue | minimum value of the variable range |
maxValueSet | logical value whether maximum value set |
maxValueInclusive | maximum value is itself included in range |
maxValue | maximum value of the variable range |
numPtsSet | logical value whether num_pts set |
numPts | num_pts of the variable range |
defaultValueSet | logical value whether default value set |
defaultValue | default value of the variable range |
void NXOpen::Fields::FieldManager::ExportFields | ( | NXOpen::Fields::ExportData * | exportData | ) |
Exports fields to a text file as defined by export_data parameter
Created in NX6.0.0.
License requirements : None
exportData | Export data |
NXOpen::Fields::NameVariable* NXOpen::Fields::FieldManager::GetNameVariable | ( | const NXString & | variableName, |
const NXString & | measureName | ||
) |
Locate an existing, or create a new Fields::NameVariable object.
variableName | alphanumeric string; if it matches an existing name variable, the measures must also match NOTE: The full Unicode character set is not supported for this parameter. |
measureName | must match an existing measure name, or "Unitless" NOTE: The full Unicode character set is not supported for this parameter. |
NXOpen::Fields::NameVariable* NXOpen::Fields::FieldManager::GetNameVariable | ( | const char * | variableName, |
const char * | measureName | ||
) |
Locate an existing, or create a new Fields::NameVariable object.
variableName | alphanumeric string; if it matches an existing name variable, the measures must also match NOTE: The full Unicode character set is not supported for this parameter. |
measureName | must match an existing measure name, or "Unitless" NOTE: The full Unicode character set is not supported for this parameter. |
int NXOpen::Fields::FieldManager::GetValidFieldId | ( | ) |
Get the next available ID for Fields::Field object.
void NXOpen::Fields::FieldManager::ImportFields | ( | NXOpen::Fields::ImportData * | importData | ) |
Imports fields from a text file as defined by import_data parameter
Created in NX6.0.0.
License requirements : None
importData | Import data |