Home > PCB_Document > triggerCanvasUpdateCalculation
PCB_Document.triggerCanvasUpdateCalculation() method
This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Trigger a canvas update calculation
Signature
typescript
function triggerCanvasUpdateCalculation(): Promise<boolean>;1
Returns
Promise<boolean>
Whether the operation is successful
Remarks
Canvas update calculation includes canvas render updates, property panel updates, etc.
If you do not understand the meaning of this switch, do not call this API for any operation ADD since EDA v4.2