iv_getOccurrenceWorkPoint()

Synopsis

Returns a point so that a work point defined in the coordinate system of one component occurrence is defined in the coordinate system of another component occurrence or top level assembly.

Syntax

iv_getOccurrenceWorkPoint ( contextPart As Part, _
                            occurrencePart As Part, _
                            ptName As String, _
                            Optional scope As Name = All ) As Point 
Argument Type Description
contextPart part Inventor component in whose context the returned point is defined
occurrencePart part Component occurrence containing the input work point
ptName string Name of input work point
scope name Optional; defines the scope of the operation
  • :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)