Moves, rotates, and makes copies of the selected solid bodies or surfaces.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function InsertMoveCopyBody2( _
ByVal TransX As Double, _
ByVal TransY As Double, _
ByVal TransZ As Double, _
ByVal TransDist As Double, _
ByVal RotPointX As Double, _
ByVal RotPointY As Double, _
ByVal RotPointZ As Double, _
ByVal RotAngleX As Double, _
ByVal RotAngleY As Double, _
ByVal RotAngleZ As Double, _
ByVal BCopy As Boolean, _
ByVal NumCopies As Integer _
) As Feature |
Visual Basic (Usage) | |
---|
Dim instance As IFeatureManager
Dim TransX As Double
Dim TransY As Double
Dim TransZ As Double
Dim TransDist As Double
Dim RotPointX As Double
Dim RotPointY As Double
Dim RotPointZ As Double
Dim RotAngleX As Double
Dim RotAngleY As Double
Dim RotAngleZ As Double
Dim BCopy As Boolean
Dim NumCopies As Integer
Dim value As Feature
value = instance.InsertMoveCopyBody2(TransX, TransY, TransZ, TransDist, RotPointX, RotPointY, RotPointZ, RotAngleX, RotAngleY, RotAngleZ, BCopy, NumCopies)
|
C# | |
---|
Feature InsertMoveCopyBody2(
double TransX,
double TransY,
double TransZ,
double TransDist,
double RotPointX,
double RotPointY,
double RotPointZ,
double RotAngleX,
double RotAngleY,
double RotAngleZ,
bool BCopy,
int NumCopies
) |
C++/CLI | |
---|
Feature^ InsertMoveCopyBody2(
& double TransX,
& double TransY,
& double TransZ,
& double TransDist,
& double RotPointX,
& double RotPointY,
& double RotPointZ,
& double RotAngleX,
& double RotAngleY,
& double RotAngleZ,
& bool BCopy,
& int NumCopies
) |
Parameters
- TransX
- Value for delta X; applies to translation
- TransY
- Value for delta Y; applies to translation
- TransZ
- Value for delta Z; applies to translation
- TransDist
- Distance ; applies to translation
- RotPointX
- Value for X rotation origin; applies to rotation
- RotPointY
- Value for Y rotation origin; applies to rotation
- RotPointZ
- Value for Z rotation origin; applies to rotation
- RotAngleX
- Value for X rotation angle; applies to rotation
- RotAngleY
- Value for Y rotation angle; applies to rotation
- RotAngleZ
- Value for Z rotation angle; applies to rotation
- BCopy
- True if a copy operation, false if a move operation
- NumCopies
- Number of copies to create
Return Value
Pointer to the
IFeature object
Example
Remarks
See Also
Availability
SolidWorks 2003 SP3, Revision Number 11.3