NXOpen .NET Reference Guide  1899
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties
Public Member Functions | List of all members
NXOpen.SIM.MachineLibraryBuilder Class Reference

This class is used for the Machine Library Dialog. More...

Inheritance diagram for NXOpen.SIM.MachineLibraryBuilder:
NXOpen.Builder NXOpen.TaggedObject NXOpen.GeometricUtilities.IComponentBuilder NXOpen.Utilities.NXRemotableObject IMessageSink

Public Member Functions

unsafe void EditMachineLibrary (string machineName, string attName, string value)
 Edit a specific machine of the database. More...
 
unsafe string[] GetAllAttributeNames ()
 Returns a array of the library attributes. More...
 
unsafe string[] GetAllMachineNames ()
 Returns a array of the machine names(librefs) that are in the machine database. More...
 
unsafe string GetValue (string machineName, string attName)
 Returns the attribute value of a specific machine. More...
 
unsafe string InsertEntryToMachineLibrary (string selectedMachineName)
 Insert a machine entry to the machine_database. More...
 
unsafe void RemoveEntryFromMachineLibrary (string machineName)
 Removes a machine entry from the machine_database. 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...
 

Additional Inherited Members

- Protected Member Functions inherited from NXOpen.TaggedObject
new void initialize ()
 <exclude> More...
 
- Properties inherited from NXOpen.Builder
unsafe NXOpen.PreviewBuilder PreviewBuilder [get]
 Returns the preview builder subobject. More...
 

Detailed Description

This class is used for the Machine Library Dialog.

Calling Builder.Commit on this builder will only return a null reference (Nothing in Visual Basic).

Use the Part class to create a MachineLibraryBuilder object.

Created in NX10.0.2

Member Function Documentation

unsafe void NXOpen.SIM.MachineLibraryBuilder.EditMachineLibrary ( string  machineName,
string  attName,
string  value 
)
inline

Edit a specific machine of the database.

That will write the machine_database.dat.

Created in NX10.0.2

License requirements: ug_isv_full ("Full functionality for Integrated Simulation and Verification") OR nx_isv_mtb ("Machine Tool Builder")

Parameters
machineNamemachine name (libref)
attNamelibrary attribute name
valuethe new value that will be set
unsafe string [] NXOpen.SIM.MachineLibraryBuilder.GetAllAttributeNames ( )
inline

Returns a array of the library attributes.

This function allocates the memory for attributeNames. The caller is responsible to deallocate the memory.

Created in NX10.0.3

License requirements: ug_isv_full ("Full functionality for Integrated Simulation and Verification") OR nx_isv_mtb ("Machine Tool Builder")

Returns
array of all attribute names
unsafe string [] NXOpen.SIM.MachineLibraryBuilder.GetAllMachineNames ( )
inline

Returns a array of the machine names(librefs) that are in the machine database.

This function allocates the memory for machineNames. The caller is responsible to deallocate the memory.

Created in NX10.0.3

License requirements: ug_isv_full ("Full functionality for Integrated Simulation and Verification") OR nx_isv_mtb ("Machine Tool Builder")

Returns
array of all machine names (libref)
unsafe string NXOpen.SIM.MachineLibraryBuilder.GetValue ( string  machineName,
string  attName 
)
inline

Returns the attribute value of a specific machine.

Created in NX10.0.2

License requirements: ug_isv_full ("Full functionality for Integrated Simulation and Verification") OR nx_isv_mtb ("Machine Tool Builder")

Parameters
machineNamemachine name (libref)
attNamelibrary attribute name
Returns
unsafe string NXOpen.SIM.MachineLibraryBuilder.InsertEntryToMachineLibrary ( string  selectedMachineName)
inline

Insert a machine entry to the machine_database.

dat. The libref is the name of the machine entry, that is copied, the libref appended by a count and the new entry is put in the list as next entry. If the libref is empty, a default entry is add to the bottom of the list.

Created in NX10.0.3

License requirements: ug_isv_full ("Full functionality for Integrated Simulation and Verification") OR nx_isv_mtb ("Machine Tool Builder")

Parameters
selectedMachineNamemachine name (libref), that will copied
Returns
machine name (libref), of the new machien entry
unsafe void NXOpen.SIM.MachineLibraryBuilder.RemoveEntryFromMachineLibrary ( string  machineName)
inline

Removes a machine entry from the machine_database.

dat. The libref is the name of the machine entry, that will reomved from the Library.

Created in NX10.0.3

License requirements: ug_isv_full ("Full functionality for Integrated Simulation and Verification") OR nx_isv_mtb ("Machine Tool Builder")

Parameters
machineNamemachine name (libref)

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