Class CopyCircularObjects
- Namespace
- CADability.Actions
- Assembly
- CADability.dll
Creates multiple copies of the selected objects arranged on a circle (a polar array). The user enters the rotation point (default: the center of the objects), the number of copies, whether the copies are distributed over a full circle or over a given angle, and whether the copies are rotated together with their position or keep their orientation. Menu id: "CopyCircularObjects".
public class CopyCircularObjects : ConstructAction, ICommandHandler, IPropertyEntry
- Inheritance
-
CopyCircularObjects
- Implements
- Inherited Members
Constructors
CopyCircularObjects(GeoObjectList)
public CopyCircularObjects(GeoObjectList list)
Parameters
listGeoObjectList
Methods
GetID()
Must be implemented by derived class. Returns an identification string. All CADability actions return the unique strings like "Draw.Line.TwoPoints" or "Zoom"
public override string GetID()
Returns
- string
the identification of the action
OnDone()
Called, when the ConstructAction is done, i.e. all non-optional inputs have been fixed. The default implementation adds the active object (if it exists and HasValidData() returns true) to the active model and removes this action. Override this method if you need a different behaviour.
public override void OnDone()
OnSetAction()
Implements OnSetAction(). If you override this method don't forget to call the base implementation.
public override void OnSetAction()