NXOpen .NET Reference Guide
1899
|
Represents a NXOpen.Mechatronics.RuntimeNCBuilder . More...
Public Member Functions | |
unsafe void | ExportNCCode (string ncFile) |
This method is used to export current loaded NC Code to disk file. More... | |
unsafe void | GetAxesAndMachineEvents (out string[] axisNames, out string[] machineEventNames) |
This method is used to get the axes that involved the motion of CSE output event, and the machine event (e. More... | |
unsafe NXOpen.TaggedObject | GetMCDConnection (bool isAxis, string axisOrEventName) |
This method is used to get the MCD connected object to the specified axis or machine event More... | |
unsafe void | LoadNCFile (string ncFile) |
This method is used to load NC file. More... | |
unsafe void | RunCSE (out bool isRunningOK, out string errMsg, out int lineNum, out string ncLine) |
This method is used to run NC Code via CSE in order to get output events More... | |
unsafe void | SetMCDConnection (bool isAxis, string axisOrEventName, NXOpen.TaggedObject mcdConnectedTag) |
This method is used to set the MCD connected object to the specified axis or machine event More... | |
unsafe void | UpdateNCCode (string[] ncCodeLines) |
This method is used to update NC code. 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... | |
Public Member Functions inherited from NXOpen.TaggedObject | |
void | PrintTestData (String variableName) |
<exclude> More... | |
void | PrintTestData (String variableName, int lineNumber) |
<exclude> More... | |
override string | ToString () |
Returns a String that represents the current Object. More... | |
Public Member Functions inherited from NXOpen.Utilities.NXRemotableObject | |
IMessageCtrl | AsyncProcessMessage (IMessage msg, IMessageSink replySink) |
Asynchronously processes the given message. More... | |
IMessage | SyncProcessMessage (IMessage msg) |
Synchronously processes the given message. More... | |
Properties | |
unsafe bool | FlagOfUsingContainer [get, set] |
Returns or sets the flag which indicates whether to put the MCD connected objects to the specific 'Runtime NC' container or not. More... | |
unsafe bool | FlagOfUsingSpecifiedMCF [get, set] |
Returns or sets the flag which indicates whether use the specified MCF or not. More... | |
unsafe string | Name [get, set] |
Returns or sets the name. More... | |
unsafe string | SpecifiedMCF [get, set] |
Returns or sets the user specified MCF File. More... | |
Properties inherited from NXOpen.Builder | |
unsafe NXOpen.PreviewBuilder | PreviewBuilder [get] |
Returns the preview builder subobject. More... | |
Properties inherited from NXOpen.TaggedObject | |
Tag | Tag [get] |
Returns the tag of this object. More... | |
Properties inherited from NXOpen.Utilities.NXRemotableObject | |
IMessageSink | NextSink [get] |
Gets the next message sink in the sink chain. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from NXOpen.TaggedObject | |
new void | initialize () |
<exclude> More... | |
Represents a NXOpen.Mechatronics.RuntimeNCBuilder .
To create a new instance of this class, use NXOpen.Mechatronics.RuntimeNCCollection.CreateRuntimeNcBuilder
Created in NX9.0.0
|
inline |
This method is used to export current loaded NC Code to disk file.
Created in NX9.0.0
License requirements: nx_mcd_core ("Mechatronics Concept Designer")
ncFile |
|
inline |
This method is used to get the axes that involved the motion of CSE output event, and the machine event (e.
g. ToolChange) that fired by CSE. These axes and machine events are used to connect with MCD objects, so in the MCD simulation stage, the CSE will know which MCD runtime object will be driven.
Created in NX9.0.0
License requirements: nx_mcd_core ("Mechatronics Concept Designer")
axisNames | The axis names which involved in CSE motion. |
machineEventNames | The name of events fired by CSE. |
|
inline |
This method is used to get the MCD connected object to the specified axis or machine event
Created in NX9.0.0
License requirements: nx_mcd_core ("Mechatronics Concept Designer")
isAxis | Flag indicates whether the MCD object is set to connect with axis or machine event. |
axisOrEventName | Axis or machine event name. |
|
inline |
This method is used to load NC file.
Created in NX9.0.0
License requirements: nx_mcd_core ("Mechatronics Concept Designer")
ncFile |
|
inline |
This method is used to run NC Code via CSE in order to get output events
Created in NX9.0.0
License requirements: nx_mcd_core ("Mechatronics Concept Designer")
isRunningOK | True means CSE returns succeed result, or failure. |
errMsg | Error message if CSE return false. |
lineNum | The NC line number at which CSE failed. |
ncLine | The NC Code for which CSE failed. |
|
inline |
This method is used to set the MCD connected object to the specified axis or machine event
Created in NX9.0.0
License requirements: nx_mcd_core ("Mechatronics Concept Designer")
isAxis | Flag indicates whether the MCD object is set to connect with axis or machine event. |
axisOrEventName | Axis or machine event name. |
mcdConnectedTag | MCD connected object. The object type can be Mechatronics.PositionControl for the motion axis; or Mechatronics.SpeedControl for the spinde axis; or Mechatronics.GanttOperationObject for the machine event. |
|
inline |
This method is used to update NC code.
Created in NX9.0.0
License requirements: nx_mcd_core ("Mechatronics Concept Designer")
ncCodeLines |
|
getset |
Returns or sets the flag which indicates whether to put the MCD connected objects to the specific 'Runtime NC' container or not.
true means put the MCD connected objects to the specific container (creates the container if it is not exist); false means restore the MCD connected objects to the original default folder, and remove the 'Runtime NC' container.
Created in NX9.0.0
License requirements to get this property: None.
License requirements to set this property: nx_mcd_core ("Mechatronics Concept Designer")
|
getset |
Returns or sets the flag which indicates whether use the specified MCF or not.
True means use user specified MCF file for running CSE, or use the Standard MCF file in MCD kits.
Created in NX9.0.0
License requirements to get this property: None.
License requirements to set this property: nx_mcd_core ("Mechatronics Concept Designer")
|
getset |
Returns or sets the name.
Created in NX9.0.0
License requirements to get this property: None.
License requirements to set this property: nx_mcd_core ("Mechatronics Concept Designer")
|
getset |
Returns or sets the user specified MCF File.
Created in NX9.0.0
License requirements to get this property: None.
License requirements to set this property: nx_mcd_core ("Mechatronics Concept Designer")