VS:PrepRelatedObjectForChange

From Vectorworks Developer
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

.VectorScript|VectorScript ..VS:Function Reference|Function Reference ..VS:Function_Reference_Appendix|Appendix

Description

Prepares some other related object for a change thats about to occur.

PROCEDURE PrepRelatedObjectForChange(
objectAboutToBeChange :HANDLE);
def vs.PrepRelatedObjectForChange(objectAboutToBeChange):
    return None

Parameters

objectAboutToBeChange HANDLE The object to be prepared for a change

Remarks

This call adds an eBeforeModify primitive to the specified object provided that the undo system is currently building an undo event.


Does this mean that the object is sent an event, and if so, what is the event code?

Version

Availability: from VectorWorks12.5