Assembly PatternTypePackage Types

The CATAsmPatternOptions type sets the pattern creation option.

This page discusses:

CATAsmPatternConnection

ObjectType
 Feature
  CATAsmPatternConnection

Attributes

Name Type Comments
KeepLink Boolean -
SpecificationContext Feature

Common parent of Specification and Component

TargetProductRef Feature

Product under which pattern/ instances will be created

Example

Let TargetProduct( VPMReference)
Let CommonParent( VPMReference)

set TargetProduct = "Set Target Product"
set CommonParent = "Set Common Parent"

Let patternOption ( CATAsmPatternOptions)
CreateAssemblyPatternOption(patternOption)
If patternOption <> NULL
{
    patternOption.KeepLink = true
    patternOption.TargetProductRef = TargetProduct
    patternOption.SpecificationContext = CommonParent
}