NXOpen .NET Reference
12.0.0
|
This builder class is used to create or edit NXOpen.CAE.Function objects. More...
Public Member Functions | |
unsafe void | SetTypes (NXOpen.CAE.Function.Type functionType, NXOpen.CAE.XyFunctionMacroType macroType, NXOpen.CAE.XyFunctionGeneralType generalType) |
Sets types of a function More... | |
unsafe void | GetTypes (out NXOpen.CAE.Function.Type functionType, out NXOpen.CAE.XyFunctionMacroType macroType, out NXOpen.CAE.XyFunctionGeneralType generalType) |
Returns types of a function More... | |
unsafe void | SetUnits (NXOpen.CAE.XyFunctionUnit xUnit, NXOpen.CAE.XyFunctionUnit yUnit, NXOpen.CAE.XyFunctionUnit frfUnit) |
Sets units of a function More... | |
unsafe void | GetUnits (out NXOpen.CAE.XyFunctionUnit xUnit, out NXOpen.CAE.XyFunctionUnit yUnit, out NXOpen.CAE.XyFunctionUnit frfUnit) |
Returns units of a function More... | |
unsafe void | SetDefinitions (string[] definitions) |
Sets definition strings of a math function. More... | |
unsafe string[] | GetDefinitions () |
Returns definition strings of a math function. More... | |
unsafe void | SetReferencedObjects (NXOpen.CAE.Function[] objects) |
Sets referenced objects of a math function. More... | |
unsafe NXOpen.CAE.Function[] | GetReferencedObjects () |
Returns referenced objects of a math function. More... | |
unsafe void | SetMathPlotData (int dataCount, double xMinimum, double xIncrement) |
Sets plot data setting for a math function. More... | |
unsafe void | GetMathPlotData (out int dataCount, out double xMinimum, out double xIncrement) |
Returns plot data setting of a math function. More... | |
unsafe void | SetTableData (int recordIndex, string recordName, string recordTimestamp, NXOpen.CAE.Function.InterpolationMethod interpolateMethod) |
Sets data for a table function. More... | |
unsafe void | GetTableData (out int recordIndex, out string recordName, out string recordTimestamp, out NXOpen.CAE.Function.InterpolationMethod interpolateMethod) |
Returns data of a table function. More... | |
Public Member Functions inherited from NXOpen.Builder | |
unsafe NXOpen.NXObject | Commit () |
Commits any edits that have been applied to the builder. More... | |
unsafe void | Destroy () |
Deletes the builder, and cleans up any objects created by the builder. More... | |
unsafe NXOpen.NXObject[] | GetCommittedObjects () |
For builders that create more than one object, this method returns the objects that are created by commit. More... | |
unsafe NXOpen.NXObject | GetObject () |
Returns the object currently being edited by this builder. More... | |
unsafe void | ShowResults () |
Updates the model to reflect the result of an edit to the model for all builders that support showing results. More... | |
unsafe bool | Validate () |
Validate whether the inputs to the component are sufficient for commit to be called. More... | |
Properties | |
unsafe double | InitialEstimateValue [get, set] |
Returns or sets the initial value for function More... | |
unsafe string | Name [get, set] |
Returns or sets the function name. More... | |
This builder class is used to create or edit NXOpen.CAE.Function objects.
All: CAE.FunctionBuilder.Name , CAE.FunctionBuilder.SetTypes , CAE.FunctionBuilder.SetUnits ;
formula: CAE.FunctionBuilder.SetDefinitions , CAE.FunctionBuilder.SetReferencedObjects , CAE.FunctionBuilder.SetMathPlotData ;
table function: CAE.FunctionBuilder.SetTableData .
To create a new instance of this class, use NXOpen.CAE.FunctionCollection.CreateFunctionBuilder
Created in NX5.0.0
unsafe string [] NXOpen.CAE.FunctionBuilder.GetDefinitions | ( | ) |
Returns definition strings of a math function.
Only used when function type is NXOpen.CAE.Function.Type.Math
Created in NX5.0.0
License requirements: None.
unsafe void NXOpen.CAE.FunctionBuilder.GetMathPlotData | ( | out int | dataCount, |
out double | xMinimum, | ||
out double | xIncrement | ||
) |
Returns plot data setting of a math function.
Only used when function type is NXOpen.CAE.Function.Type.Math
Created in NX5.0.0
License requirements: None.
dataCount | |
xMinimum | |
xIncrement |
unsafe NXOpen.CAE.Function [] NXOpen.CAE.FunctionBuilder.GetReferencedObjects | ( | ) |
Returns referenced objects of a math function.
Only used when function type is NXOpen.CAE.Function.Type.Math
Created in NX5.0.0
License requirements: None.
unsafe void NXOpen.CAE.FunctionBuilder.GetTableData | ( | out int | recordIndex, |
out string | recordName, | ||
out string | recordTimestamp, | ||
out NXOpen.CAE.Function.InterpolationMethod | interpolateMethod | ||
) |
Returns data of a table function.
Only used when function type is NXOpen.CAE.Function.Type.Table
Created in NX5.0.0
License requirements: None.
recordIndex | Begins with one |
recordName | |
recordTimestamp | A time string indicating the last creating or editing time of an afu record |
interpolateMethod |
unsafe void NXOpen.CAE.FunctionBuilder.GetTypes | ( | out NXOpen.CAE.Function.Type | functionType, |
out NXOpen.CAE.XyFunctionMacroType | macroType, | ||
out NXOpen.CAE.XyFunctionGeneralType | generalType | ||
) |
Returns types of a function
Created in NX5.0.0
License requirements: None.
functionType | Math function or Table function |
macroType | For Motion Simulation or Advanced Simulation or General Purpose |
generalType | Data type of function |
unsafe void NXOpen.CAE.FunctionBuilder.GetUnits | ( | out NXOpen.CAE.XyFunctionUnit | xUnit, |
out NXOpen.CAE.XyFunctionUnit | yUnit, | ||
out NXOpen.CAE.XyFunctionUnit | frfUnit | ||
) |
Returns units of a function
Created in NX5.0.0
License requirements: None.
xUnit | |
yUnit | |
frfUnit |
unsafe void NXOpen.CAE.FunctionBuilder.SetDefinitions | ( | string[] | definitions | ) |
Sets definition strings of a math function.
Only used when function type is NXOpen.CAE.Function.Type.Math
Created in NX5.0.0
License requirements: None.
definitions |
unsafe void NXOpen.CAE.FunctionBuilder.SetMathPlotData | ( | int | dataCount, |
double | xMinimum, | ||
double | xIncrement | ||
) |
Sets plot data setting for a math function.
Only used when function type is NXOpen.CAE.Function.Type.Math
Created in NX5.0.0
License requirements: None.
dataCount | |
xMinimum | |
xIncrement |
unsafe void NXOpen.CAE.FunctionBuilder.SetReferencedObjects | ( | NXOpen.CAE.Function[] | objects | ) |
Sets referenced objects of a math function.
Only used when function type is NXOpen.CAE.Function.Type.Math
Created in NX5.0.0
License requirements: None.
objects |
unsafe void NXOpen.CAE.FunctionBuilder.SetTableData | ( | int | recordIndex, |
string | recordName, | ||
string | recordTimestamp, | ||
NXOpen.CAE.Function.InterpolationMethod | interpolateMethod | ||
) |
Sets data for a table function.
Only used when function type is NXOpen.CAE.Function.Type.Table
Created in NX5.0.0
License requirements: None.
recordIndex | Begins with one |
recordName | |
recordTimestamp | A time string indicating the creating or editing time of an afu record. The string could be returned by CAE.AfuManager.CreateRecord or CAE.AfuManager.EditRecord or CAE.AfuManager.GetAfuData |
interpolateMethod |
unsafe void NXOpen.CAE.FunctionBuilder.SetTypes | ( | NXOpen.CAE.Function.Type | functionType, |
NXOpen.CAE.XyFunctionMacroType | macroType, | ||
NXOpen.CAE.XyFunctionGeneralType | generalType | ||
) |
Sets types of a function
Created in NX5.0.0
License requirements: None.
unsafe void NXOpen.CAE.FunctionBuilder.SetUnits | ( | NXOpen.CAE.XyFunctionUnit | xUnit, |
NXOpen.CAE.XyFunctionUnit | yUnit, | ||
NXOpen.CAE.XyFunctionUnit | frfUnit | ||
) |
Sets units of a function
Created in NX5.0.0
License requirements: None.
xUnit | |
yUnit | |
frfUnit |
|
getset |
Returns or sets the initial value for function
Created in NX12.0.0
License requirements to get this property: None.
License requirements to set this property: None.
|
getset |
Returns or sets the function name.
For math function, the name is function name. For table function, the name is the AFU file name with directory
Created in NX5.0.0
License requirements to get this property: None.
License requirements to set this property: None.