Creates a custom chart which contains a custom polygonal zone. A point can be plotted, and the command will indicate if the point is inside the zone. The resulting chart is stored as an image in the tree.
0 |
File Path or Embedded File |
ASCII File Path |
The path to the ASCII configuration file containing the chart parameters (see Remarks below). |
1 |
String |
Chart Title Override |
A title for the chart that overrides the title provided in the ASCII configuration file. |
2 |
Collection Picture Name |
Output Picture Name |
The name for the resulting image for the chart to be created. |
3 |
Boolean |
Show Chart Dialog? |
Indicates whether the chart is displayed once created. |
4 |
Boolean |
Plot Additional XY Value? |
Indicates whether an additional XY value provided in the arguments should be plotted on the chart (instead of the point defined in the ASCII configuration file). |
5 |
Double |
X Value |
The X value for the additional value to plot. |
6 |
Double |
Y Value |
The Y value for the additional value to plot. |
7 |
Boolean |
Is Point Inside? |
Indicates whether the plotted point is inside the perimeter provided in the ASCII configuration file. |
SUCCESS |
This command always succeeds. |
The ASCII configuration file should be formatted as indicated below. The following file generated the chart that appears in the above figure.
<SetColor>,,
255,0,0
,,
<SetLineWeight>,,
4,,
,,
,,
<Polygon>,,
3,5,
5,5,
5,3,
-5,-3,
-7,-3,
-7,-1,
,,
<SetColor>,,
0,0,255
,,
<SetLineWeight>,,
1,,
,,
<Point>,,
3.21,1.227,
,,
<Title>,,
Composite Tolerance Zone