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.

NameTypeAccessDescription
DeleteAttachedBooleanRWGets or sets a value indicating whether attached components will be deleted.
See more
If 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.
NewTypevcProductTypeRWGets or sets the new product type to change to.
ProductVariableNameStringRWGets or sets name of the process variable that holds a reference to the product instance to change.
RetainVisitCountPropertyvcExpressionPropertyRGets 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.