Class ReflectObjects
- Namespace
- CADability.Actions
- Assembly
- CADability.dll
Action that mirrors the given objects. The user chooses the mirror by picking a point (reflection at that point), a line or a plane; a boolean input decides whether the originals are kept (copy) or replaced. The mirrored objects are shown as feedback while the input is made. Menu id: "ReflectObjects".
public class ReflectObjects : ConstructAction, ICommandHandler, IPropertyEntry
- Inheritance
-
ReflectObjects
- Implements
- Inherited Members
Constructors
ReflectObjects(GeoObjectList)
public ReflectObjects(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()