Repository.Pool.AddPool

Saves a new cPool object to the Synthesis repository. Returns a Boolean value; when true, indicates that the spare part pool now exists in the repository.

Syntax
object.Pool.AddPool(pool)

where object is a variable that represents a Repository object.

Example
VBA MyRepository Repository NewSpares cPool NewSpares.Name = MyRepository.Project.SetCurrentProject(1) MyRepository.Pool.AddPool(NewSpares)

VB.NET MyRepository Repository NewSpares cPool MyRepository.Project.SetCurrentProject(1) MyRepository.Pool.AddPool(NewSpares)