vcChangeProductTypeStatement
Statement for changing the type of a product instance.
See in: Overview
Module: vcProcessModel
Parent: vcStatement
Children -
Referenced by: -
Properties
Learn how to use properties here. The properties are also inherited from the parent class.
| Name | Type | Access | Description |
| DeleteAttached | Boolean | RW | Gets or sets a value indicating whether attached components will be deleted.See moreIf true, all components attached to product's component will be deleted before the main operation takes place. If false, attached components will get reparented to components root node, if the new node hierarchy does not have an node with the same name that the previous parent node. |
| NewType | vcProductType | RW | Gets or sets the new product type to change to. |
| ProductVariableName | String | RW | Gets or sets name of the process variable that holds a reference to the product instance to change. |
| RetainVisitCountProperty | vcExpressionProperty | R | Gets an expression property which defines if product's process visit counts for all visited processes should be reset back to zero or preserved as they are when this statement is executed and product changes flow groups. The default is to reset them to zero. |