Solid Edge Assembly Type Library
TranslateMultipleOccurrences Method
Specifies the number of occurrences in the array that are to be moved or copied.
Specifies the occurrences in the array.
Member of the MoveMultipleMoveTypeConstants constant set that specifies whether to move or copy the occurrences.
Member of the MoveMultipleRelationshipConstants constant set that specifies whether the relationship between the occurrences in the array should be maintained, dropped, or dropped and grounded.
Specifies the X coordinate for the point to move from.
Specifies the Y coordinate for the point to move from.
Specifies the Z coordinate for the point to move from.
Specifies the X coordinate for the point to move to.
Specifies the Y coordinate for the point to move to.
Specifies the Z coordinate for the point to move to.
Specifies an array of occurrences that were copied or moved.
Description
This method translates the input occurrences. It takes input and returns an array of the occurrences that were moved or copied. If an occurrence was moved, the output occurrences are the same as the input occurrences. If an occurrence was copied, the output occurrences will be the new occurrence copies.
Syntax
Visual Basic
Public Sub TranslateMultipleOccurrences( _
   ByVal lNumberOfOccurrences As Long, _
   ByRef Occurrences() As Unknown, _
   ByVal MoveType As MoveMultipleMoveTypeConstants, _
   ByVal RelationshipMaintenance As MoveMultipleRelationshipConstants, _
   ByVal FromX As Double, _
   ByVal FromY As Double, _
   ByVal FromZ As Double, _
   ByVal ToX As Double, _
   ByVal ToY As Double, _
   ByVal ToZ As Double, _
   ByRef MovedOrCopiedOccurrences As Variant _
) 
Parameters
lNumberOfOccurrences
Specifies the number of occurrences in the array that are to be moved or copied.
Occurrences
Specifies the occurrences in the array.
MoveType
ValueDescription
seMoveMultipleCopy
seMoveMultipleMove
Member of the MoveMultipleMoveTypeConstants constant set that specifies whether to move or copy the occurrences.
RelationshipMaintenance
ValueDescription
seMoveMultipleDropInternalRelationships
seMoveMultipleDropInternalRelationshipsAndGround
seMoveMultipleMaintainInternalRelationships
Member of the MoveMultipleRelationshipConstants constant set that specifies whether the relationship between the occurrences in the array should be maintained, dropped, or dropped and grounded.
FromX
Specifies the X coordinate for the point to move from.
FromY
Specifies the Y coordinate for the point to move from.
FromZ
Specifies the Z coordinate for the point to move from.
ToX
Specifies the X coordinate for the point to move to.
ToY
Specifies the Y coordinate for the point to move to.
ToZ
Specifies the Z coordinate for the point to move to.
MovedOrCopiedOccurrences
Specifies an array of occurrences that were copied or moved.
See Also

AssemblyDocument Object  | AssemblyDocument Members  | Solid Edge V20 - What's New

Send comments on this topic.