VCOM:VectorWorks:ISDK::AddAfterSwapObject

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 after you add an object in your routine. A reference to h is stored in the undo table, and that is object is deleted when Undo is selected. 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 AddAfterSwapObject(
MCObjectHandle h)

Parameters

MCObjectHandle h No information available.

Return Value

On error returns: false

Version

Availability: from Vectorworks 2009