Files

94 lines
3.8 KiB
HTML

<html xmlns:o="urn:schemas-microsoft-com:office:office"
xmlns:w="urn:schemas-microsoft-com:office:word"
xmlns="http://www.w3.org/TR/REC-html40">
<head>
<title>Programming Items</title>
<meta name=MS-HKWD content="Items">
<meta http-equiv="Content-Language" content="en-us">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<link rel="stylesheet" type="text/css" href="ApiHelp.css">
</head>
<h1><span style="font-weight: normal; font-size: 7.5pt;">SOLIDWORKS PDM Professional API Help</span></h1>
<h1>Programming Items</h1>
<body bgcolor=white lang=SV link=blue vlink=purple style='tab-interval:65.2pt'>
<div class=Section1>
<p>
A file in SOLIDWORKS PDM Professional consists of two parts: </span>
</span>
</p>
<ul>
<li class=kadov-p>
The file that is stored on the archive server.</li>
<li class=kadov-p>The metadata associated with the file, or an item, which is
stored in the SQL database. </li>
</ul>
<p>
The metadata consists of card contents, file references, permissions, workflow
states, revisions, etc. An item is all of the metadata
associated with a file. Most of the existing functions that work for files have been adjusted so that they also work for
items.
Only a few functions are specific to items.</p>
<p>
All items and item folders are placed
under a folder named "&lt;items&gt;", which is located directly beneath the vault root.
SOLIDWORKS PDM Professional does not show this folder in the user interface, but it is
included in the paths returned by&nbsp;the SOLIDWORKS PDM Professional API. </p>
<p>
All items have the file extension, ".&lt;item&gt;". This extension in also hidden in the user interface, but
it is
returned by the SOLIDWORKS PDM Professional API.</span></p>
<h2> <o:p><strong>Code Samples</strong></o:p><o:p>&nbsp;</o:p></span></h2>
<ul>
<li class=kadov-p>
<a href="EPDM.Interop.epdm~EPDM.Interop.epdm.IEdmBatchItemGeneration.html">Creating items from a file structure</a></li>
<li class=kadov-p>
<a href="EPDM.Interop.epdm~EPDM.Interop.epdm.IEdmBatchItemGeneration2~AddSelection2.html">Creating items without linking them to files</a></li>
<li class=kadov-p>
<a href="EPDM.Interop.epdm~EPDM.Interop.epdm.IEdmItem.html">Retrieving the IEdmItem interface for an item with a certain database ID</a></li>
<li class=kadov-p>
<a href="EPDM.Interop.epdm~EPDM.Interop.epdm.IEdmItem.html">Displaying properties and references for an item with a certain database ID</a></li>
<li class=kadov-p>
<a href="EPDM.Interop.epdm~EPDM.Interop.epdm.IEdmItem.html">Obtaining an IEdmItem pointer from an item path</a></li>
<li class=kadov-p>
<a href="EPDM.Interop.epdm~EPDM.Interop.epdm.IEdmItem.html">Obtaining an IEdmItem pointer from an item name (via searching)</a></li>
<li class=kadov-p>
<a href="EPDM.Interop.epdm~EPDM.Interop.epdm.IEdmItem~GetReferences.html">Displaying a message with all references in an item</a></li>
<li class=kadov-p>
<a href="EPDM.Interop.epdm~EPDM.Interop.epdm.IEdmItem~UpdateReferences.html">Updating an item's references</a></li>
<li class=kadov-p>
<a href="EPDM.Interop.epdm~EPDM.Interop.epdm.IEdmBatchItemReferenceUpdate~UpdateReferences.html">Adding a reference from an item to an item with IEdmBatchItemReferenceUpdate</a></li>
</ul>
<h2>
<b style='mso-bidi-font-weight:
normal'>Interfaces</b></h2>
<ul>
<li class=kadov-p>
<a href="EPDM.Interop.epdm~EPDM.Interop.epdm.IEdmBatchItemGeneration.html">IEdmBatchItemGeneration</a></li>
<li class=kadov-p>
<a href="EPDM.Interop.epdm~EPDM.Interop.epdm.IEdmBatchItemGeneration2.html">IEdmBatchItemGeneration2</a></li>
<li class=kadov-p>
<a href="EPDM.Interop.epdm~EPDM.Interop.epdm.IEdmBatchItemReferenceUpdate.html">IEdmBatchItemReferenceUpdate</a></li>
<li class=kadov-p>
<a href="EPDM.Interop.epdm~EPDM.Interop.epdm.IEdmItem.html">IEdmItem</a>
</li>
</ul>
</div>
</body>
</html>