#pragma once #include "DbBlockAction.h" /** \details Block action that moves it's selection set according to the changes of the driving parameter. */ class DYNBLOCKS_EXPORT OdDbBlockMoveAction : public OdDbBlockAction { public: ODDB_EVAL_DECLARE_MEMBERS(OdDbBlockMoveAction); OdDbBlockMoveAction(); /** \details * Returns the rotation modifier applied to the offset obtained from the driving parameter */ double angleOffset() const; /** \details * Sets the rotation modifier applied to the offset obtained from the driving parameter */ void setAngleOffset(double); /** \details * Returns the scaling modifier applied to the offset obtained from the driving parameter */ double distanceMultiplier() const; /** \details * Sets the scaling modifier applied to the offset obtained from the driving parameter */ void setDistanceMultiplier(double); /** \details * Returns the direction restriction applied to the offset obtained from the driving parameter */ OdDbBlockActionXYType distanceType() const; /** \details * Sets the direction restriction applied to the offset obtained from the driving parameter */ void setDistanceType(OdDbBlockActionXYType); }; typedef OdSmartPtr OdDbBlockMoveActionPtr;