Use this function in conjuction with BeginContext to have VW automatically accept or reject any changes that were made during the Begin/End block.
PROCEDURE EndContext(acceptOrReject : INTEGER);def vs.EndContext(acceptOrReject):
return None| Name | Type | Description |
|---|---|---|
| acceptOrReject | INTEGER | Specify 0 to reject changes or 1 to accept changes |
If you do not use this construct and you create a temporary plug-in object that itself creates a new class, the new class will remain even after you delete the temporary plug-in object.
VS Functions: BeginContext
Availability: from VectorWorks12.5