IvExtHasWorkPoint()

Synopsis

Checks whether Workpoint with the specified name is defined on the occurrence.

Syntax

IvExtHasWorkPoint ( occ As Part, _
                    name As String, _
                    Optional scope As Name = :All ) As Boolean
Argument Type Description
occ part Component Occurrence
name string Name of the Workpoint
scope name Optional; defines the scope of operation. Options are
  • :Model, :FoldedModel - the search is performed in the WorkPoints collection of the component definition (folded model only for sheet metal parts)
  • :FlatPattern - the search is performed in flat pattern only for sheet metal parts
  • :All - Default, the search is performed in both the component definition AND in Flat Pattern (for sheet metal parts)