Object Function: new
The new function is used to create objects based upon the object's type name.
The following manufactured item objects can be created:
- CreateMaterial
- CreateKit
- CreateAssembly
- ElementaryEndItem
- Fasten
- Marking
- Provide
- Remove
- Split
- Transform
- ProcessContinuousProvide
- ProcessContinuousCreateMaterial.
For more information, see Object Functions: new.
new |
---|
Returns the created manufactured item object that can be a standalone
reference, a reference that is aggregated under another reference by
automatic creation of an instance, or an instance directly under a
reference.
|
Example
Let Instance (DELFmiFunctionInstance) Let Reference (DELFmiFunctionReference) /* Creation of Process Reference */ Reference = new ("CreateAssembly", "MyCreateAssembly1", NULL) /* Insertion of newly created reference */ /* under a father as MfgProcessOccurrence */ FatherProcessOcc.InsertPredecessor (Reference) /* Creation of a Process Reference and instantiation */ /* under a father process reference as a DELFmiFunctionReference */ Instance = new ("CreateAssembly", "MyCreateAssembly2", FatherRef)