VCOM:VectorWorks:ISDK::AddBothSwapObject

From Vectorworks Developer
Jump to navigation Jump to search

.SDK|SDK ..SDK:Types|SDK Types ..VCOM:VCOM (Vectorworks Component Object Model)|VCOM Basics ..VCOM:Class Reference|VCOM Class Reference

Description

namespace VectorWorks

Member of VCOM:VectorWorks:ISDK

Use this callback before you modify an object in your routine. A copy and a reference to h is stored in the undo table. When Undo is selected, h is deleted and the copy from the undo record is inserted. Only applicable after a SetUndoMethod(cbp, kUndoSwapObjects) or a SetUndoMethod(cbp, kUndoReplaceSelection) call has been made. Passing a nil handle creates undo primitives for all selected objects.

virtual bool AddBothSwapObject(
MCObjectHandle h)

Parameters

MCObjectHandle h No information available.

Return Value

On error returns: false

Version

Availability: from Vectorworks 2009