public StorableObject[] WindowMacro( WindowMacro oMacro, int nVariant, PointMate oSourceMate, Mate oTargetMate, double dRotationAngle, double dX, double dY, double dZ, WindowMacro.Enums.NumerationMode nNumerationMode, bool bUseSourceMateOnPlacementArea )
Parameters
| Parameter Name | Description |
|---|---|
| oMacro | Object with opened macro. |
| nVariant | Index of the macro variant to be placed (0 based). |
| oSourceMate | given mate of macro |
| oTargetMate | target mate |
| dRotationAngle | additional rotation angle (radian) |
| dX | additional offset in x direction |
| dY | additional offset in y direction |
| dZ | additional offset in z direction |
| nNumerationMode | numeration mode |
| bUseSourceMateOnPlacementArea | if true, the given mate of macro will project to the placement area of macro |
Return Value
Inserted placements