RDBMS-TableVariablesUpdated by AM
RDBMS-TableVariablesUpdated by AM
AccuMark has the ability to store statistical information and thumbnail images for markers,
models and their pieces in an optional CAD Relational Database (RDBMS). The RDBMS can
then be used for querying and retrieving information and thumbnail images for use with a PLM or
ERP system.
Information stored in RDBMS will only come from SQL storage areas and subfolders. Userroot
data is not connected to RDBMS.
Use the SQL Support dialog in AccuMark software to configure the database to be used to store
this information. Consult the AccuMark documentation in the Training Docs folders for details on
how to set it up.
The database tables have fields of information populated from data in the AccuMark SQL
environment. Data is stored into the data tables from AccuMark applications when marker, model
and its piece data is created, updated, deleted, or copied.
This diagram provides a brief overview of the tables and how they are connected to one another.
Page 1 of 29
Data written into RDBMS
The tables are always updated in the same way, regardless of how the data is modified by
different functions in the AccuMark. Any creation, deletion or modification causes all of the fields
in the data tables that the AccuMark writes to, to be overwritten; there is no selective updates to
rows. If an update is being done, it always updates the same columns regardless of what
function caused the data to be stored.
Currently for deletion of AccuMark data items, no columns are updated except the IsActive
Column, which is set to 0. To physically remove the data items from the relational table, a query
can be created to do this manually.
If the user has selected the “Generate Image” option in SQL Support, the images for markers and
model pieces will get created if they don’t already exist. Images will be updated or regenerated if
changes are made to the markers like piece placement, or for pieces like perimeter changes. To
save process time, images are only updated when needed, if changes are made that do not
require regeneration of the images, then the existing images will remain.
For Marker images any text written on the image is the text as specified through the Annotation
ordered with the marker. For piece images, any text written on the image(s) is the text as
specified through the Annotation table that is referenced in SQL Support (this same annotation
table must exist in all SQL storage areas and subfolders).
For these reasons, you will need to have a supported version on PDM, PLM or your ERP
software that can handle the updated information. Not using the updated software versions to
retrieve information may cause issues. Consult the AccuMark Release Notes for the software
compatibility chart.
Markers
The AccuMark functions that cause a marker to be created, updated or deleted on disk will also
create new entries in the CAD Relational Database or update existing records. Depending on the
action or function invoked, different fields in the table(s) will be filled in or updated. These
functions include:
In AccuMark Explorer
Import Zip
Zip files could include multiple data types and either create new data items or overwrite
© 2019 Gerber Technology LLC All Rights Reserved.
Page 2 of 29
existing data items
Save As
Save As will create a new marker in the same or different storage area. Save As can use
the existing name and just save to a different storage area.
Rename
Rename will modify the existing marker name in the same storage area.
Copy
Copy creates a new marker in a different storage area.
Copy with Components
Copy with components creates a new marker with all of its associated data in a different
storage area.
Move, Drag and drop
Move or Drag and drop will move a marker to a different storage area.
Move Clipboard
Move Clipboard to move copied data to a different storage area.
Move with Components
Move with Components will move copied data with all of its associated data to a different
storage area. The components for a marker include the models and pieces.
Move Clipboard with Components
Move Clipboard with Components will move copied data with all of its associated data to
a different storage area. The components for a marker include the models and pieces.
Delete
Delete removes data from a storage area. The data is put in the Recycle Bin.
Delete with Components
Delete with Components removes data and all of its associated data from a storage area.
The data is put in the Recycle Bin. The components for a marker include the models and
pieces.
Restore Recycle Bin
Restore Recycle Bin restores deleted items to their previous storage area.
Regenerate Marker
Regenerate Marker is used to update a marker with newer information. If any component
of the marker has a later date than the marker, the order is reprocessed and the marker
is remade using Copy Marker and then restored
Open Marker with Auto Update of Marker enabled
Open Marker with Auto Update of Marker enabled is used to update a marker with newer
information. If any component of the marker has a later date than the marker, the order
is reprocessed and the marker is remade using Copy Marker and then restored
Generate Cut Data with Auto Update of Marker
Generate Cut Data with Auto Update of Marker on (or prompt) will update the pieces in
the marker if they have been changed since the last time the marker was stored.
NOTE: in the Utilities functions variations of copying, etc can be done with same or different
© 2019 Gerber Technology LLC All Rights Reserved.
Page 3 of 29
source and destination locations as well as same or new data item names, with or without
overwrite, and “with Components” options
Marker Making
Open, Open Next, Open Next Made, Open Next Unmade, Open Previous, Open Original
When a Lectra, Assyst or Investronica marker is opened, the necessary models included
in the marker are created.
Open Marker with Auto Update of Marker enabled including Open, Open Next, Open Next Made,
Open Next Unmade, Open Previous, Open Original
Open Marker with Auto Update of Marker enabled is used to update a marker with newer
information. If any component of the marker has a later date than the marker, the order
is reprocessed and the marker is remade using Copy Marker and then restored (versions
prior to AccuMark V8.2.2 would create a maker entry called –regen-, this has been fixed.
–regen- is a temporary marker that is used in the process of recreating the marker with
updated information )
Save
Save As is used to create a new marker in the same or different storage area. Any
models created by Open are also saved.
Save As
Save As is used to create a new marker in the same or different storage area. Save As
can use the existing name and just save to a different storage area. Any models created
by Open are also saved.
Save Temporary
Save Temporary is used to save the marker in the same storage area. The difference
from Save is the status of ‘Needs Approval’.
AutoMark
Starting with AccuMark V8.3 the user is allowed the option to invoke Automarking. The
AutoMark editor allows the user to automatically make the same marker or to store to a
new marker name. If the destination marker is the same name, then that marker is updated
in the RDBMS. If the destination marker is a new name, then that new marker is added to
the RDBMS.
Attach Marker
Allows user to keep same name or enter a new one. Versions prior to AccuMark V8.3 did
the attach marker but did not automatically update the CAD Relational database; it only
saved the data into the RDBMS when user selected the save option, whether this was for
the same name or a new name marker.
Attach Marker - Gives user option to delete original markers.
© 2019 Gerber Technology LLC All Rights Reserved.
Page 4 of 29
Versions prior to AccuMark V8.3 would allow the user the option to enter a new name
and to delete the original marker, and you would see the data immediately in the
AccuMark Explorer, however the data was not written to RDBMS at that time, and in
Marking you could go and open this new marker without having to specify a save first.
Piece, Add Piece
Allows the user to select one of the existing pieces in the marker and adds a piece of that
size to the maker. When the marker is stored, additional entries for the newly added
pieces are stored in the tables.
Piece, Delete Piece
Allows the user to select one of the existing ADDED pieces in the marker and deletes it
from the maker. When the marker is stored, entries for the deleted pieces are marked
inactive in the tables.
Bundle, Add Size
Allows the user to select one of the existing sizes in the marker and adds a piece of that
size to the maker. (As of AccuMark V8.3.0 beta 2 information regarding an added size is
not totally reflected in the RDBMS)
Bundle, Add Bundle
Allows the user to select one of the existing bundles or a piece in one of the bundles in the
marker and adds a bundle of that size to the marker. Versions prior to V8.3 did not properly
updated the related information in the RDBMS
Bundle, Add New Size
Does a Save and then a Regenerate if Auto Update of Marker is enabled. Then dialog
box prompts for which Model (for those in this marker) and to enter a size. Does a
Regenerate at this time too.
Bundle, Delete Bundle
Allows the user to select one of the existing ADDED bundles in the marker and deletes it
from the maker. When the marker is stored, entries for the deleted pieces of that bundle
are marked inactive in the tables.
In Marking or in an Order any modification can occur to an existing marker such as adding or
removing models or pieces, changes to the width or length, etc. The marker can be regenerated
or reordered.
Batch
Create or Update when order process, marked (MED, AutoMark, AccuNest) and again if any
manual approvals are set.
AccuNest
Marker entries will be in the database and updated as the marker is stored from AccuNest.
• If “Restart Marker” the length must change from 0 or if it has an existing length, reset and
report the newly stored length and efficiency information.
• If “Finish Marker” is selected, the existing marker entry fields should all be updated with
the new length and efficiency information.
Page 5 of 29
• If using AccuNest PE, the store occurs after engine 1.
• If using AccuNest EE, the marker is stored after nesting and again after packing. The
database needs to update with each store.
• If using AccuNest PK, the marker is stored after packing.
AutoMark
Create or update of markers.
• Destination marker name can be the same or different than the source marker name.
• Marker is stored in same location (does not let you choose a different destination
location).
• Can reprocess and change the various placement strategies or piece options.
• Options for writing/saving include:
o Replace if better (so it should not save the marker if the utilization(?) is not
Improved)
o Overwrite Destination Marker If Exists
• If Partial Marker (the marker already exists with some pieces placed) options include:
o Maintain Placed
o Start from Scratch
Models
The AccuMark functions that cause a model to be created, updated or deleted on disk include:
In AccuMark Explorer
Import Zip
Zip files could include multiple data types and either create new data items or overwrite
existing data items.
Save As, Rename
Save As or Rename is be used to create a new model in the same or different storage
area. Save As can use the existing name and just save to a different storage area.
Copy
Copy is be used to create a new model in a different storage area.
Copy with Components
Copy with components is be used to create a new model with all of its associated data in
a different storage area.
Move, Drag and drop
Move or Drag and drop is used to move a model to a different storage area.
Move Clipboard
Move Clipboard is used to move copied data to a different storage area.
Move with Components
Move with Components is used to move copied data with all of its associated data to a
different storage area. The components for a model include the pieces.
Move Clipboard with Components
Move Clipboard with Components is used to move copied data with all of its associated
data to a different storage area. The components for a model include the pieces. The
components for a marker include the models and pieces.
© 2019 Gerber Technology LLC All Rights Reserved.
Page 6 of 29
Delete
Delete is used to remove data from a storage area. The data is put in the Recycle Bin.
Delete with Components
Delete with Components is used to remove data with all of its associated data from a
storage area. The data is put in the Recycle Bin.
Restore Recycle Bin
Restore Recycle Bin restores deleted items to their previous storage area.
NOTE: in Utilities variations of copying, etc can be done with same or different source and
destination locations as well as same or new data item names, with or without overwrite and “with
Components” options.
Model Editor
Save
Save As is used to create a new model in the same or different storage area.
Save As
Save As is used to create a new model in the same or different storage area. Save As
can use the existing name and just save to a different storage area.
PDS
Create/Edit Model
Add/Remove Pieces is used to add or remove pieces to/from a model.
Edit Model
Edit Model opens the Model editor.
Create Piece
An option in all of the Create Piece functions updates the model when this option is
enabled.
© 2019 Gerber Technology LLC All Rights Reserved.
Page 7 of 29
Split Piece
An option in all of the Split Piece functions updates the model when this option is
enabled.
Combine/Merge
An option in all of the Combine/Merge functions updates the model when this option is
enabled.
Model Edits/Conditions that could affect Model and Piece information Data Tables
Note: some of these items require further discussions and investigation to the tables and fields
that are needed to accommodate the desired data, for instance – whether a deleted piece should
be marked as inactive or its reference physically removed from the relational database
• Add or remove pieces from a model
• Reorder the pieces in a model (update piece position in Cad_Model_Details)
• Comment pieces, with and without fabric codes
• Remove a piece from a model
• Replace (rename) a piece in a model with another that exists
• Replace (rename) a piece in a model with another piece name that does not exist (yet)
• Physically delete a piece that a model uses
• Pieces that are used in more than one model
• Update a piece (i.e. change the shape)
• Change the base size dimensions
• Pieces that are used in more than one model
• Assign new grade rule table
• Duplicate piece names listed in model
• Delete - Does only the model get marked as deleted (isActive in Cad_Model_details) or does
each of its pieces (Cad_Piece_Details) as well? If the pieces also get marked as deleted,
does it have to determine if that piece is used by any other models
• Model options
• Use of size code tables
• Use of half piece sharing
• Restore Deleted Items does not restore Active state in RDBMS (A-8521). Deleted Model
w/components. Noticed that the status became Inactive in the Relational Database for both
the model and the pieces. Then Restored the data back to the storage area and the status
remained Inactive. The model and pieces should have become Active
Page 8 of 29
Pieces
Only pieces that exist in a model are updated in the data tables. This is determined by searching
the piece name in the CAD_Model_Details table. The AccuMark functions that cause a piece to
be updated or deleted on disk include:
Explorer
Import Zip
Zip files could include multiple data types and either create new data items or overwrite
existing data items.
Save As, Rename
Save As or Rename is be used to create a new piece in the same or different storage
area. Save As can use the existing name and just save to a different storage area.
Copy
Copy is be used to create a new piece in a different storage area.
Copy with Components
Copy with components is be used to create a new piece with all of its associated data in
a different storage area.
Move, Drag and drop
Move or Drag and drop is used to move a piece to a different storage area.
Move Clipboard
Move Clipboard is used to move copied data to a different storage area.
Delete
Delete is used to remove data from a storage area. The data is put in the Recycle Bin.
Restore Recycle Bin
Restore Recycle Bin restores deleted items to their previous storage area.
Verify Digitized Data
Verify Digitized Data creates pieces, these pieces could already be listed in a model.
NOTE: in Utilities variations of copying, etc can be done with same or different source and
destination locations as well as same or new data item names, with or without overwrite.
Page 9 of 29
AccuMark Explorer: File: Options: Storage Areas
Sync Relational Data
Sync Relational Data lets the user manually update the data tables from the AccuMark
database.
Upgrade SQL
Upgrades a previous version’s SQL storage area to the current software version
Restore Last Schema – function not available starting in V10 and later
Restores the storage area to the prior version
Model Editor
Piece categories and descriptions can be edited in the model and are saved directly to disk
without using a Save function (Rename Mode)
PDS
Save
Save is used to create a new piece in the same or different storage area.
Save As
Save As is used to create a new piece in the same or different storage area. Save As
can use the existing name and just save to a different storage area.
Create/Edit Model
Piece names can be changed in Add Pieces.
Pre Version 10
Pattern Conversion Wizard
Process – The Pattern Conversion Wizard is used to import pieces and models from
other file formats.
Style Converter
Process – The Style Converter is used to import pieces and models from the MicroMark
format.
DXF Import
DXF Lookup – DXF can be used to import dxf files and save them as AccuMark pieces.
Lconvert
Convert – Lconvert can be used to import Lectra IBA and VET files and save them as
AccuMark pieces.
Page 10 of 29
How Graphics are generated
In AccuMark Utilities, SQL Support an option is available to enable image generation. If this
option is enabled, an optional annotation table can be used to specify the text written with the
image. The annotation table specified in SQL Support is used when images of pieces are
generated and must exist in the storage area or subfolder. When images of markers are
generated, the annotation table specified in the marker order is used.
AMXMPLOT is used to generate the image for the marker and AMXPPLOT is used to generate
the image for the piece. When the images are generated, they are temporarily stored in
userroot\temp. This requires permissions to the userroot\temp directory. Like all other data in the
userroot\temp directory, it is removed at boot up or reboot.
For Markers:
• Cad_Marker_Details
o Cad_MK_Model
o Cad_MK_Piece
o Cad_MK_Size
Page 11 of 29
o Cad_Piece_Details
These tables are for legacy support and are no longer used nor are they needed for retrieval of
marker or model & piece statistical information:
• Cad_systemIds
• DataTableSettings
• gtAccuMarkTypes
• SystemSettings
Page 12 of 29
Items in this blue – do not know what they are or if they are used
Items in this red – not updated by AccuMark
TABLE: Cad_Marker_Details
Updated when any marker is created or updated. Information about a marker. There is one row
for each marker in a SQL storage area or subfolder.
Page 13 of 29
Marker_Total_Perim Float, NULL Total perimeter length of all [placed]
pieces in the marker in Imperial
Marker_Total_Area Float, NULL Total area of all [placed] pieces in the
marker in Imperial
Marker_Goal Float, NULL NULL Not updated by AccuMark
Marker_Efficiency Float, NULL The efficiency of marker when it was
stored
Marker_Notches Int, NULL Total number of notches of all [placed]
pieces
Marker_DrillHoles Int, NULL NULL Not updated by AccuMark
Marker_Corners Int, NULL Total number of corners of all [placed]
pieces. The numbers of corners are the
same as reports.
Marker_Message Varchar(100), NULL Not updated by AccuMark
NULL
Marker_nModels Int, NULL Total number of models in this marker
Marker_nPieces Int, NULL Total number of pieces ordered with
marker this includes added pieces.
Marker_PlacPieces Int, NULL Total number of placed pieces in marker
Marker_nSizes Int, NULL Number of unique sizes for all pieces in
marker for all models
Marker_nBundles Int, NULL Total number of bundles ordered in
marker. This includes placed/unplaced
and added bundles.
Marker_Plac_Bndl Int, NULL Total number of placed bundles
Marker_Bias Int, NULL 0 Not updated by AccuMark
Marker_Flip Int, NULL 0 Not updated by AccuMark
Marker_Nap Int, NULL 0 Not updated by AccuMark
Marker_NCEdits Int, NULL 0 Not updated by AccuMark
Marker_Spread Int, NULL 0 Not updated by AccuMark
Marker_Closed Int, NULL 0 Not updated by AccuMark
Marker_DieBlk Int, NULL 0 Not updated by AccuMark
Marker_Tublar Int, NULL 0 Not updated by AccuMark
Marker_StripePlaid Int, NULL, 0 0=no, Indicates if stripe or plaid lines are present
-1=yes
Marker_nStripes Int, NULL NULL Not updated by AccuMark
Marker_nPlaids Int, NULL NULL Not updated by AccuMark
Marker_5_Star Int, NULL 0=no, Indicates if 5-star matching is used
-1=yes
Marker_Max_Splice Float, NULL NULL Not updated by AccuMark
Marker_nSplices Int, NULL Total number of splice marks in marker
Marker_XVariance Float, NULL Stripe offset - Imperial
Marker_YVariance Float, NULL Plaid offset - Imperial
Marker_Image_SN Int, NULL Links to PPFImages
Marker_Image_Name Varchar(1000), N/A List of the Model Materials. List of all
NULL fabric codes, including of multiple models.
If no material used then = N/A . Fabric
codes increased from 1 character to 10.
(comma separated).
Marker_Comments Text, NULL NULL Not updated by AccuMark
CADCatId Int, not NULL Index The category id used by WebPDM to
organize CAD Data. Links to CAD_Cats.
Page 14 of 29
Category Varchar(100), NULL Not updated by AccuMark
NULL
SubCat Varchar(100), NULL Not updated by AccuMark
NULL
SubCatType Varchar(100), NULL Not updated by AccuMark
NULL
Class Varchar(100), NULL Not updated by AccuMark
NULL
UserDefined1 Varchar(100), NULL Not updated by AccuMark
NULL
UserDefined2 Varchar(100), NULL Not updated by AccuMark
NULL
UserDefined3 Varchar(100), NULL Not updated by AccuMark
NULL
UserDefined4 Varchar(100), NULL Not updated by AccuMark
NULL
UserDefined5 Varchar(100), NULL Not updated by AccuMark
NULL
PreferMetric Int, NULL 0 Not updated by AccuMark
IsCosting Int, NULL 0 Not updated by AccuMark
IsApproved Int, NULL 0 Not updated by AccuMark
Sizes Varchar(8000), Size-quantity [ 10(1) = 1 size 10 ] 8(10,
NULL 10(2), 12(2), 14(1). ORDERED size name
(if a size code table is used it is the
ordered size as specified in size code
table not the actual size). Support for 30
character alpha size names.
EfficiencyType Int, NULL Indicates if marker stored with total or
current efficiency.
LastCADRefresh Datetime, NULL Not updated by AccuMark
NULL
PlotFileLocation Varchar(510), NULL Not updated by AccuMark
NULL
NotchFile Varchar(100), P-Notch parameter table used when
NULL marker was ordered
AnnotationFile Varchar(100), Annotation table used when marker was
NULL ordered
StorageType Int, NULL 1= This indicates the source type of the
userroot, storage area. (usually if = 1 then pull from
2= SQL accumark)
storage
area or
subfolder
mMarker_Width Float, NULL Width of marker in Metric
mMarker_Length Float, NULL Length of marker in Metric
mMarker_Total_Perim Float, NULL Total perimeter length of all placed pieces
in the marker in Metric
mMarker_Total_Area Float, NULL Total area of all [placed] pieces in the
marker in Metric
Yield_per_Bundle Float, NULL ?
Yield_per_Dozen Float, NULL Not updated by AccuMark
mYield_per_Bundle Float, NULL Not updated by AccuMark
mYield_per_Dozen Float, NULL Not updated by AccuMark
Page 15 of 29
LayLimits* Varchar(100), Name of lay limits table used with the
NULL marker
BlockBuffer* Varchar(100), Name of block buffer table used with the
NULL marker
Matching* Varchar(100), Name of matching table used with the
NULL marker
Fabric Cost* float Fabric Cost
Fabric Weight* float Fabric Weight
CostPerBundle* float Cost / Bundle
CostPerDozen* float Cost / Dozen
Marker_Cost* float Cost / Marker
Marker_Weight* Float Marker Weight
NetWeightBundle* float Net Weight / Bundle
GossWeightBundle* float Gross Weight / Bundle
TABLE: Cad_MK_Model
Updated when any marker’s model is updated. There is one row for each model in a marker.
Page 16 of 29
OptionName* Varchar(100), Model option name for this model, NULL if
NULL no model options
SizeCode* Varchar(100), Size code table name used for this model,
NULL NULL if no sizecode used
TABLE: Cad_MK_Piece
Updated when marker is first stored and when any piece is updated of a marker and the marker is
reprocessed, saved, auto-updated, etc.
Page 17 of 29
Piece_Size Varchar(64), Each Size of this piece in marker (not in
not NULL Toolkit?) ORIGINAL size name (if a size
code table is used it is the actual size as
specified in size code table not the ordered
size). Support maximum of 30 character
alpha size name
Comments Text, NULL NULL Not updated by AccuMark
Piece_nUnplaced Int, NULL Quantity of this piece unplaced
XVarianceFlag Int, NULL Not updated by AccuMark
YVarianceFlag Int, NULL Not updated by AccuMark
XPriBlockFlag Int, NULL Not updated by AccuMark
YPriBlockFlag Int, NULL Not updated by AccuMark
XSecBlockFlag Int, NULL Not updated by AccuMark
YSecBlockFlag Int, NULL Not updated by AccuMark
mPiece_Area Float, NULL Area of this piece in metric
mPiece_Perimeter Float, NULL Perimeter of this piece in metric
TABLE: Cad_MK_Size
Updated when any marker is updated or created.
Page 18 of 29
Model information tables
TABLE: Cad_Model_Details
Updated when any model is created or updated. There is one row for each model in a storage
area or subfolder.
Page 19 of 29
Model_SAName Varchar(50), NULL Not updated by AccuMark
NULL
Model_SYNTable Varchar(50), NULL Not updated by AccuMark
NULL
Model_ HPTable Varchar(50), NULL Not updated by AccuMark
NULL
Model_SampleSize Varchar(60), Model sample size (If multiple sample sizes are
NULL in the model then field is set to ‘Vary By
Pieces’ (if a size code table is used, it is the
actual size or the ordered size as specified in
size code table). Support maximum of 30
character size name
Model_nMaterials Int, NULL 0, 1-n Number of fabric codes for all that are ordered
Model_nPieces Int, NULL Number of different pieces in the model (rows)
including comment pieces.
Model_nSizes Int, NULL 1-n, or “Vary Total number of unique sizes for this model
by piece”
Model_Image_SN Int, NULL NULL Not updated by AccuMark
Model_Image_Name Varchar(255), Server and storage area name [ + subfolder/s ]
NULL
Model_Comments Text, NULL NULL Not updated by AccuMark
PreferMetric Int, NULL 0 Not updated by AccuMark
UserDefined1 Varchar(50), NULL Not updated by AccuMark
NULL
UserDefined2 Varchar(50), NULL Not updated by AccuMark
NULL
UserDefined3 Varchar(50), NULL Not updated by AccuMark
NULL
UserDefined4 Varchar(50), NULL Not updated by AccuMark
NULL
UserDefined5 Varchar(50), NULL Not updated by AccuMark
NULL
Total_Area Float, NULL NULL Not updated by AccuMark
LastCADRefresh Datetime, NULL NULL Not updated by AccuMark
PlotFileLocation Varchar(255), NULL Not in use
NULL Not in use
NotchFile Varchar(50), NULL Not updated by AccuMark
NULL
AnnotationFile Varchar(50), NULL Not updated by AccuMark
NULL
StorageType Int, NULL 2 1=userroot, 2=sql
TABLE: Cad_Piece_Details
Updated when any piece that belongs to a model is updated. One row for each piece for each
fabric type in a model (for each model in a SQL storage area or subfolder).
Page 20 of 29
Last_Updated Datetime, Date & time piece was last stored
NULL
isActive Int, NULL, -1 -1 = exists Indicates whether the marker can
0 = deleted be used in new WebPDM Folders.
IsLinked Int, NULL 0
ClassifierId Int, NULL 0
SystemId Int, NULL 1
Model_Code Int, NULL, 0 index Links to Cad_Model_Details
Material_Code Int , NULL Not used by WebPDM
Piece_Description Varchar(510), Description for piece
NULL
Piece_Category Varchar(510),
NULL
RuleTableName** Varchar(64), Name of rule table used with this
NULL piece
Piece_CrOpId Varchar(100), Name of user who created this
NULL piece
Piece_Create Datetime, Date this piece was created
NULL
Piece_RevOp1 Varchar(100), Name of user who recently
NULL updated this piece
Piece_Rev1 Datetime, Date this piece was recently
NULL modified
Piece_RevOp2 Varchar(100), Name of user who modified this
NULL piece the last time (before rev1)
Piece_Rev2 Datetime, Date this piece was last modified
NULL (before rev1)
Piece_Message Varchar(510), NULL Not updated by AccuMark
NULL
Piece_HPTable Varchar(100), NULL Not updated by AccuMark
NULL
Piece_Bias Int, NULL 0 Not updated by AccuMark
Piece_Flip Int, NULL 0 Not updated by AccuMark
Piece_Nap Int, NULL 0 Not updated by AccuMark
Piece_Ign_Splice Int, NULL 0 Not updated by AccuMark
Piece_Standard Int, NULL NULL Not updated by AccuMark
Piece_Buffering Int, NULL NULL Not updated by AccuMark
Piece_nSplits Int, NULL Number of times piece is allowed
to split as specified in the model
Piece_Tilt_CW Float, NULL NULL Not updated by AccuMark
Piece_DieBlock Float, NULL NULL Not updated by AccuMark
Piece_Pri_XBlock Float, NULL NULL Not updated by AccuMark
Piece_PriXBlkType Int, NULL NULL Not updated by AccuMark
Piece_Pri_YBlock Float, NULL NULL Not updated by AccuMark
Piece_Pri_YBlkType Int, NULL NULL Not updated by AccuMark
Piece_Sec_XBlock Float, NULL NULL Not updated by AccuMark
Piece_Sec_XBlkType Int, NULL NULL Not updated by AccuMark
Piece_Sec_YBlock Float, NULL NULL Not updated by AccuMark
Piece_Sec_YBlkType Int, NULL NULL Not updated by AccuMark
Piece_XVariance Float, NULL NULL Not updated by AccuMark
Piece_XVar_Type Int, NULL NULL Not updated by AccuMark
Piece_YVariance Float, NULL NULL Not updated by AccuMark
Piece_YVar_Type Int, NULL NULL Not updated by AccuMark
© 2019 Gerber Technology LLC All Rights Reserved.
Page 21 of 29
Piece_nUnflipped Int, NULL Quantity of piece in its unflipped
(original) position from model as
specified in the model
Piece_nOpposite Int, NULL Quantity of piece in its X-flipped
position from model as specified
in the model
Piece_nFlipY Int, NULL Quantity of piece in its Y-flipped
position from model as specified
in the model
Piece_nFlipXY Int, NULL Quantity of piece in its X,Y-flipped
position from model as specified
in the model
Piece_IsMirror Int, NULL, 0 0=no, - Indicates if piece is mirrored
1=yes
Piece_Area Float, NULL Area of piece in Imperial
Piece_Perimeter Float, NULL Perimeter of piece in Imperial
Piece_PreRotation Float, NULL NULL Not updated by AccuMark
Piece_Image_SN Int, NULL Links to PPFImages
Piece_Image_Name Varchar(100), 1 char or N/A Fabric Code. If multiple fabric
NULL types on one line in model, or
piece listed multiple times for
each fabric, will be the same in
the data table. Fabric codes
increased from 1 character to 10.
(comma separated)
Piece_Comments Text, NULL NULL Not updated by AccuMark
UserDefined1 Varchar(100), NULL Not updated by AccuMark
NULL
UserDefined2 Varchar(100), NULL Not updated by AccuMark
NULL
UserDefined3 Varchar(100), NULL Not updated by AccuMark
NULL
UserDefined4 Varchar(100), NULL NULL Not updated by AccuMark
NULL
UserDefined5 Varchar(100), NULL Not updated by AccuMark
NULL
Piece_Size Varchar(64), NULL
NULL
Piece_Tilt_CCW Float, NULL NULL Not updated by AccuMark
Piece_CW_TYPE Int, NULL NULL Not updated by AccuMark
Piece_CCW_TYPE Int, NULL NULL Not updated by AccuMark
Piece_PreRotationType Int, NULL NULL Not updated by AccuMark
Piece_Position Int, not NULL, This is the row position within the
0starts at 1? Model (listed order)
mPiece_Area Float, NULL Area of piece in metric
mPiece_Perimeter Float, NULL Perimeter of piece in metric
PieceXVariance Float, NULL Shrink and Stretch information for
model in X
Piece_XVar_Type Int, NULL Indicates if shrink or stretch
PieceYVariance Float, NULL Shrink and Stretch information for
model in Y
Piece_YVar_Type Int, NULL Indicates if shrink or stretch
Page 22 of 29
Piece_Size Varchar(64), The sizes of the pieces with each
not NULL of the sizes in the model being
separated by commas for multiple
sizes
TABLE: Cad_ModelOptions_Details
Updated when any model’s model option is added or updated. One row for each model option.
TABLE: Cad_BOM_Header_Details
Updated when a BOM is created or updated. Header portion of the BOM. One row for each BOM
© 2019 Gerber Technology LLC All Rights Reserved.
Page 23 of 29
created.
TABLE: Cad_BOM_PieceFabric_Details
Updated when a BOM is created or updated. Contains the piece and fabric information for this
BOM
TABLE: Cad_BOM_Accessories_Details
Updated when a BOM is created or updated. Accessories portion of the BOM. One row for each
© 2019 Gerber Technology LLC All Rights Reserved.
Page 24 of 29
BOM created.
Page 25 of 29
Images tables
TABLE: PPFImages
Updated when the Cad_Marker_Details or Cad_Piece_Details is updated. Contains image serial
number and image file details. There is one row for each image generated.
TABLE: Blocks
Updated when PPFImages is updated. There is one row for each image generated.
Variable Name Type, Default Value Values Description
BlockId Int, not NULL Unique id serial number of image
in PPFImages table (primary key)
WhenCreated Datetime, NULL Date block/image was created
WhoCreated Varchar(50), NULL Who the block/image was created
by. Stephen says it cannot be
filled in.
WhenModified Datetime, NULL Date the block/image was last
modified
WhoModified Varchar(50), NULL Who modified the block/image.
Who the block/image was created
by. Stephen says it cannot be
filled in.
StatusApproved Int, not NULL 1
WhenApproved Datetime, NULL NULL Not updated by AccuMark
WhoApproved Varchar(50), NULL NULL Not updated by AccuMark
BlockType Int, not NULL 17
LockedBy Varchar(50), NULL NULL Not updated by AccuMark
NoteApproved Varchar(255), NULL NULL Not updated by AccuMark
PrimaryBlockId Int, NULL NULL Not updated by AccuMark
Notify Varchar(255), NULL NULL Not updated by AccuMark
© 2019 Gerber Technology LLC All Rights Reserved.
Page 26 of 29
TABLE: PPFRepresentatives
Updated when the Cad_Marker_Details or Cad_Piece_Details is updated. WMF representation
of image. There is one row for each image generated.
TABLE: PPFTable2Image
Updated when the Cad_Marker_Details or Cad_Piece_Details is updated. There is one row for
each image generated.
TABLE: PPFThumbnails
Updated when the Cad_Marker_Details or Cad_Piece_Details is updated. BMP representation of
image. There is one row for each image generated.
Page 27 of 29
YuniquePLM specific
TABLE: Cad_Cats
Written to when the Cad_Marker_Details or Cad_Model_Details is updated. We run a stored
procedure provided by WebPDM / YuniquePLM: pGetCadCatID given the arguments (database
name, object name, code, type (model or marker), then fill in all columns in table. This table is
only edited when a marker is created, not updated.
Page 28 of 29
Name Varchar(100), not marker or model name Data object name
NULL (primary key) Support
maximum of 50
character data item
name
TypeId Int, not NULL Datatype: references TypeId in
10 = mark (marker) AccuMarkTypes table
13 = model (primary key)
CategoryGuid Uniqueidentifier, not Used with subfolders (?)
NULL (primary key)
Code Int, not NULL Links to references
1=Cad_Marker_Details Marker_code in
2=Cad_Model_Details Cad_Marker_Details or
Model_code in
Cad_Model_Details
depending on the value
of TypeId
UnitFlag tinyint NULL
TABLE: LastKeyUsed
Updated when any table has a new entry added. Lists the last key code used. Used to identify
the ‘next entries’ IDs/locations in the other tables to write to.
Page 29 of 29