Object Function: New
The new function is used to create objects based on the name of the object type.
The following system objects can be created:
- DELLmiBufferOperationReference
- DELLmiCurveOperationReference
- DELLmiGeneralOperationReference
- DELLmiGeneralSystemReference
- DELLmiInterruptOperationReference
- DELLmiLoadingOperationReference
- DELLmiPunctualOperationReference
- DELLmiRemoveMaterialOperationReference
- DELLmiSinkOperationReference
- DELLmiSourceOperationReference
- DELLmiStorageSystemReference
- Prodsys_StorageSource
- Prodsys_StorageSink
- Prodsys_StorageBuffer
- DELLmiTransferOperationReference
- DELLmiTransferSystemReference
- DELLmiTransformationSystemReference
- DELLmiUnloadingOperationReference
- DELmiProductionPlugReference
For more information, see Object Functions: new.
new |
---|
Returns the created system object that can be a stand-alone reference, a
reference that is aggregated under another reference by automatic creation of an
instance, or an instance directly under a reference.
|
Example
Let ReferenceSys (DELLmiProductionSystemReference) Let InstanceSys (DELLmiProductionSystemInstance) Let System (PLMEntity) /* Creation of General System Reference */ ReferenceSys = new ("DELLmiGeneralSystemReference", "myGeneralSystemReference", NULL) /* Insertion of a General System Reference */ /* under a father system as PLMEntity */ InstanceSys = new ("DELLmiGeneralSystemInstance", "myGeneralSystemInstance1", System, ReferenceSys ) /* Creation of a General System Reference and */ /* insertion under a father system as a PLMEntity */ InstanceSys = new ("DELLmiGeneralSystemReference", "myGeneralSystemInstance2", System )