QaDataSetXML

In this topic: Hide

 

To determine available DataSet properties, call QaDoc.GetDataSetXML.

See also, QaDataSet.

QaDataSet XML - Sift Rules

Parent Node Tag Description Content Attribute Valid Attribute Values
Root Node <dataSet> The label of the DataSet.   label  
<conditions> <condition>     number  1-10
use true = On
false = Off
<dataSet> <dataSetSiftRules>     useMultipleSiftRules true = On
false = Off
<dataSetSiftRules> <siftRules>        
<eliminates> <augment>     type aligndatum = Show Rows that contain an Alignment Datum
references = Add Rows for Reference Features
use true = On
false = Off
<eliminate>     type empty = Hide Rows with No Data
nontriggered = Show ONLY Rows Triggered by Event 1
nontriggered2 = Show ONLY Rows Triggered by Event 2
nontriggeredboth = Show ONLY Rows Triggered by Both Event 1 and Event 2
aligndatum = Hide Rows that contain an Alignment Datum
nonaligndatum = Show ONLY Rows that contain an Alignment Datum
use true = On
false = Off
<substitute>     type references = Replace with Rows for Reference Features
use true = On
false = Off
<feats> <feat>     type surf = Surface
hole = Hole
slot = Slot
mid = Midpoint
plane = Plane
polar = Polar
ref = Reference
dist = Distance
range = Range
flush = Flush
gap = Gap
non =  Non
xyz = XYZ
user = User
use true = On
false = Off
<feat> <char>     has have = Have
doesNotHave = Does Not Have
type position = Position
normal = Normal
x = X
y = Y
z = Z
primary = Primary
secondary = Secondary
tertiary = Tertiary
diameter = Diameter
width = Width
length = Length
distance = Distance
angle = Angle
radius = Radius
flush = Flush
gap = Gap
polar = Polar
azimuth = Azimuth
horizon = Horizon
userA-userZ = User A - User Z
significant = Significance
toleranced = Tolerance
toleranced2 = Tolerance 2
use true = On
false = Off
valueType dev = Deviation
act = Actual
<filters> <filter>     index  A-Z
use true = On
false = Off
<filter> <value>        
<siftRules> <conditions> The "Conditions" section of the Sift Rules.   match all = Must match all Conditions
any = Must match at least one Condition
<eliminates> The "Hide/Show" section of the Sift Rules.      
<feats> The "SMI Type" section of the Sift Rules.      
<filters> The "Feature Filters" section of the Sift Rules.   match all = Must match all Filters specified
any = Must match at least one Filter specified
<smiDirs> The "SMI Direction" section of the Sift Rules.      
<smiHands> The "SMI Hand" section of the Sift Rules.      
<sorts> The "Sorting" section of the Sift Rules.   number  1-3
useTop all = No Top Values
number = Top numbers
percent = Top percent
<smiDirs> <smiDir>     type fore = Fore
aft = Aft
hi = High
lo = Low
in = In
out = Out
use true = On
false = Off
<smiHands> <smiHand>     type left = Left Hand
centerline = Center
right = Right Hand
use true = On
false = Off
<sorts> <sort>     use true = On
false = Off

Example from QaDoc.GetDataSetXML

<dataSet label="DataSet 1"/>

<dataSetSiftRules useMultipleSiftRules="false">

  <siftRules>

    <feats>

      <feat type="surf" use="true">

        <char type="position" use="true" valueType="dev"/>

        <char type="significant" use="true" has="have"/>

        <char type="toleranced" use="true" has="have"/>

        <char type="toleranced2" use="true" has="doesNotHave"/>

      </feat>

      <feat type="hole" use="false">

      </feat>

    <smiDirs>

      <smiDir type="hi" use="true"/>

      <smiDir type="lo" use="false"/>

    </smiDirs>

    <smiHands>

      <smiHand type="left" use="true"/>

      <smiHand type="centerline" use="false"/>

      <smiHand type="right" use="true"/>

    </smiHands>

    <filters match="any">

      <filter use="true" index="P">

        <value>Car 2018</value>

      </filter>

      <filter use="true" index="S">

        <value>1</value>

        <value>2</value>

        <value>3</value>

      </filter>

    </filters>

    <conditions match="all">

      <condition number="1" use="true">~cpk~&lt;1.33</condition>

      <condition number="2" use="false"/>

      <condition number="3" use="false"/>

      <condition number="4" use="false"/>

      <condition number="5" use="false"/>

      <condition number="6" use="true">!@#$%^&amp;*()</condition>

      <condition number="7" use="false"/>

      <condition number="8" use="false"/>

      <condition number="9" use="false"/>

      <condition number="10" use="false"/>

    </conditions>

    <sorts useTop="all">

      <sort number="1" use="true">~ppk~</sort>

      <sort number="2" use="false"/>

      <sort number="3" use="false"/>

    </sorts>

    <eliminates>

      <eliminate type="empty" use="true"/>

      <eliminate type="nontriggered" use="false"/>

      <eliminate type="nontriggered2" use="false"/>

      <eliminate type="nontriggeredboth" use="false"/>

      <eliminate type="aligndatum" use="false"/>

      <eliminate type="nonaligndatum" use="false"/>

      <augment type="aligndatum" use="false"/>

      <augment type="references" use="false"/>

      <substitute type="references" use="false"/>

    </eliminates>

  </siftRules>

</dataSetSiftRules>