Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Plant SCADA

DrawPipeSection

  • Last UpdatedJul 13, 2023
  • 1 minute read

Draws a section of pipe on the active page. To work successfully, this function needs to have a starting point defined by the function DrawPipeStart, or it needs to follow a previous incidence of itself.

Syntax

DrawPipeSection(XPosition, YPosition)

XPosition:

Distance in pixels from the left of the page to the point where you would like the section of pipe to end.

YPosition:

Distance in pixels from the top of the page to the point where you would like the section of pipe to end.

Return Value

0 (zero) if successful, otherwise an error is returned.

Note: For details on handling return and error values, see Error Handling.

DrawPipeStart, DrawPipeEnd

Example

GraphicsBuilder.DrawPipeStart 50, 290
GraphicsBuilder.DrawPipeSection 200, 350
GraphicsBuilder.DrawPipeSection 350, 250
GraphicsBuilder.DrawPipeSection 400, 350
GraphicsBuilder.DrawPipeEnd

In This Topic
TitleResults for “How to create a CRG?”Also Available in