NXOpen .NET Reference
12.0.0
|
The Journalling class for PlcMethodBuilder More...
Public Member Functions | |
unsafe void | DeleteParameter (NXOpen.NXObject obj) |
Delete Parameter More... | |
unsafe int | SetNewParameterName (NXOpen.NXObject obj, string newName) |
Set new name to a parameter More... | |
unsafe int | SetNewParameterDataType (NXOpen.NXObject obj, string newDataType) |
Set new data type to a parameter More... | |
unsafe NXOpen.NXObject[] | GetALLParameters () |
Gets all existing parameter More... | |
unsafe void | ClearCompileUnitIndexCountAndStatementIndexCount () |
Clear the number of statments and networks which are saved to creating a method More... | |
unsafe void | AddCompileUnitIndex (int idx) |
Add a index of network that will be in a method with this function is possible to add several network More... | |
unsafe void | AddStatementIndexes (int compileUnitIndex, int startStatementIndex, int endStatementIndex) |
Add a index of start statment in a network and index of end of statment More... | |
unsafe void | SetPlcCodeBlock (NXOpen.AME.PlcBlock plcBlock) |
Set selected PlcCodeBlock More... | |
unsafe int | DoesMethodNameAlreadyExist (string methodName) |
To find out that the given for method name already exist or not More... | |
unsafe NXOpen.NXObject | CreateParameter () |
Add a parameter More... | |
unsafe void | CreateMethod () |
To Create Method More... | |
unsafe void | DeletePlcMethod () |
To Delete Method More... | |
unsafe int | GetSelectedCompileUnitIndexCount () |
Get selected compileUnitIndex size More... | |
unsafe int | AssignOperandToParameter (int compileUnitIndex, int statementIndex, int operandIndex, NXOpen.NXObject obj) |
Assign parameter to operand More... | |
unsafe int | AssignCallParameterToParameter (int compileUnitIndex, int statementIndex, int callParameterIndex, NXOpen.NXObject obj) |
Assign parameter to operand More... | |
unsafe void | DeletePosition (NXOpen.NXObject position) |
Delete a position 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 bool | InsertOnCreate [get, set] |
Returns or sets the automatic insertion setting More... | |
unsafe NXOpen.AME.PlcMethod | Method [get] |
Returns the method More... | |
unsafe string | MethodName [get, set] |
Returns or sets the code/data block name More... | |
The Journalling class for PlcMethodBuilder
To create a new instance of this class, use NXOpen.AME.AMEManager.CreatePlcMethodBuilder
Created in NX11.0.0
unsafe void NXOpen.AME.PlcMethodBuilder.AddCompileUnitIndex | ( | int | idx | ) |
Add a index of network that will be in a method with this function is possible to add several network
Created in NX11.0.0
License requirements: ad_automation_design ("FULL AUTOMATION DESIGNER")
idx |
unsafe void NXOpen.AME.PlcMethodBuilder.AddStatementIndexes | ( | int | compileUnitIndex, |
int | startStatementIndex, | ||
int | endStatementIndex | ||
) |
Add a index of start statment in a network and index of end of statment
Created in NX11.0.0
License requirements: ad_automation_design ("FULL AUTOMATION DESIGNER")
compileUnitIndex | |
startStatementIndex | |
endStatementIndex |
unsafe int NXOpen.AME.PlcMethodBuilder.AssignCallParameterToParameter | ( | int | compileUnitIndex, |
int | statementIndex, | ||
int | callParameterIndex, | ||
NXOpen.NXObject | obj | ||
) |
Assign parameter to operand
Created in NX11.0.0
License requirements: ad_automation_design ("FULL AUTOMATION DESIGNER")
compileUnitIndex | |
statementIndex | |
callParameterIndex | |
obj |
unsafe int NXOpen.AME.PlcMethodBuilder.AssignOperandToParameter | ( | int | compileUnitIndex, |
int | statementIndex, | ||
int | operandIndex, | ||
NXOpen.NXObject | obj | ||
) |
Assign parameter to operand
Created in NX11.0.0
License requirements: ad_automation_design ("FULL AUTOMATION DESIGNER")
compileUnitIndex | |
statementIndex | |
operandIndex | |
obj |
unsafe void NXOpen.AME.PlcMethodBuilder.ClearCompileUnitIndexCountAndStatementIndexCount | ( | ) |
Clear the number of statments and networks which are saved to creating a method
Created in NX11.0.0
License requirements: ad_automation_design ("FULL AUTOMATION DESIGNER")
unsafe void NXOpen.AME.PlcMethodBuilder.CreateMethod | ( | ) |
To Create Method
Created in NX11.0.0
License requirements: ad_automation_design ("FULL AUTOMATION DESIGNER")
unsafe NXOpen.NXObject NXOpen.AME.PlcMethodBuilder.CreateParameter | ( | ) |
Add a parameter
Created in NX11.0.0
License requirements: ad_automation_design ("FULL AUTOMATION DESIGNER")
unsafe void NXOpen.AME.PlcMethodBuilder.DeleteParameter | ( | NXOpen.NXObject | obj | ) |
Delete Parameter
Created in NX11.0.0
License requirements: ad_automation_design ("FULL AUTOMATION DESIGNER")
obj |
unsafe void NXOpen.AME.PlcMethodBuilder.DeletePlcMethod | ( | ) |
To Delete Method
Created in NX11.0.0
License requirements: ad_automation_design ("FULL AUTOMATION DESIGNER")
unsafe void NXOpen.AME.PlcMethodBuilder.DeletePosition | ( | NXOpen.NXObject | position | ) |
Delete a position
Created in NX11.0.0
License requirements: ad_automation_design ("FULL AUTOMATION DESIGNER")
position |
unsafe int NXOpen.AME.PlcMethodBuilder.DoesMethodNameAlreadyExist | ( | string | methodName | ) |
To find out that the given for method name already exist or not
Created in NX11.0.0
License requirements: ad_automation_design ("FULL AUTOMATION DESIGNER")
methodName |
unsafe NXOpen.NXObject [] NXOpen.AME.PlcMethodBuilder.GetALLParameters | ( | ) |
Gets all existing parameter
Created in NX11.0.0
License requirements: ad_automation_design ("FULL AUTOMATION DESIGNER")
unsafe int NXOpen.AME.PlcMethodBuilder.GetSelectedCompileUnitIndexCount | ( | ) |
Get selected compileUnitIndex size
Created in NX11.0.0
License requirements: ad_automation_design ("FULL AUTOMATION DESIGNER")
unsafe int NXOpen.AME.PlcMethodBuilder.SetNewParameterDataType | ( | NXOpen.NXObject | obj, |
string | newDataType | ||
) |
Set new data type to a parameter
Created in NX11.0.0
License requirements: ad_automation_design ("FULL AUTOMATION DESIGNER")
obj | |
newDataType |
unsafe int NXOpen.AME.PlcMethodBuilder.SetNewParameterName | ( | NXOpen.NXObject | obj, |
string | newName | ||
) |
Set new name to a parameter
Created in NX11.0.0
License requirements: ad_automation_design ("FULL AUTOMATION DESIGNER")
obj | |
newName |
unsafe void NXOpen.AME.PlcMethodBuilder.SetPlcCodeBlock | ( | NXOpen.AME.PlcBlock | plcBlock | ) |
Set selected PlcCodeBlock
Created in NX11.0.0
License requirements: ad_automation_design ("FULL AUTOMATION DESIGNER")
plcBlock |
|
getset |
Returns or sets the automatic insertion setting
Created in NX11.0.0
License requirements to get this property: ad_automation_design ("FULL AUTOMATION DESIGNER")
License requirements to set this property: ad_automation_design ("FULL AUTOMATION DESIGNER")
|
get |
Returns the method
Created in NX11.0.0
License requirements: ad_automation_design ("FULL AUTOMATION DESIGNER")
|
getset |
Returns or sets the code/data block name
Created in NX11.0.0
License requirements to get this property: ad_automation_design ("FULL AUTOMATION DESIGNER")
License requirements to set this property: ad_automation_design ("FULL AUTOMATION DESIGNER")