WindowMacro(WindowMacro,Int32,PointMate,Mate,Double,Double,Double,Double,NumerationMode) Method
Places a window macro with snapping source mate to a target mate from another object.
Parameters
- oMacro
- Object with opened macro.
- nVariant
- Index of the macro variant to be placed (0 based).
- oSourceMate
- Given mate of a 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
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. |