WindowMacro(WindowMacro,Int32,PointMate,Mate,Double,Double,Double,Double,NumerationMode,Boolean) Method
Places a window macro with a given mate to another mate. That means, that the position and/or orientation of the associated placements will change, so that the given mate fits to the target mate.
Parameters
- 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
Exception | Description |
ArgumentException | Thrown in case of
invalid parameters.. |
ArgumentNullException | Null was set to a
parameter. |
Eplan.EplApi.Base.BaseException | An error occurred
during inserting the
macro. Please refer
to the error
message. |