This task explains how to access sample documents.
Sample documents (installed along with the online help library) are provided in many (but not all) cases, to support the topic scenario explaining how a specific command works. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The online documentation is installed by default on
Windows in:
The sample documents are installed in user guide-specific sample folders. In the online documentation filetree, there is one samples folder for each users guide, in the following location:
where "xxx" represents the three-letter code for the product. For example, the folder:
contains the sample documents for the Part Design User's Guide. |
|
Wherever you install the documentation, if you attempt to activate the sample documents from within the online documentation without first installing the code, the samples will not work: the Version 5 document extensions must be registered on a computer where the code is installed. The registering of extensions in the registry is performed automatically on the computer during the installation of the code on Windows. | |
Problems Encountered with Sample Documents Containing Links to Other DocumentsSample documents can be either self-contained (for example, CATPart
documents), or contain links to other documents (for example, CATProduct
documents can contain links to CATPart documents). When you open a document
containing links to other documents, note that the document location
strategies you set using the Document tab (via the One strategy, "Folder of the pointing document", must be activated. Otherwise, the linked documents will not be located when you open the sample. Furthermore, after installing the samples along with the online
documentation, we recommend that you do not copy the samples elsewhere. If
you do, do so using the appropriate Version 5 tools ( For more details about document location strategies, refer to Document. |
|
Problems Encountered with Sample Documents when Using MozillaDeclaring MIMEtypes on UNIXUsers of Mozilla in a UNIX environment who want to open sample documents (for instance .CATProduct documents containing .CATPart documents, .model documents, .CATDrawing documents, and so on) need to register these extensions by setting MIMEtypes using Mozilla preferences. If you do not do so, the documents appears as garbage text. On Windows, this step is not necessary because the appropriate extensions are registered in the Windows registry. To do so:
|
|
|
|
|
|
Problems Encountered on Mozilla when Opening Documents Containing Links to Other DocumentsOn both Windows and UNIX, you may encounter problems opening certain sample documents (for instance .CATProduct documents containing .CATPart documents, .model documents, .CATDrawing documents, and so on). When you open a .CATProduct, for example, the CATProduct document is successfully opened but a warning dialog box informs you that the documents it points to cannot be located. This is because Mozilla copies the documents to a temporary directory before opening them. When this occurs, you can open the sample manually and recover all the links using one of following two recommended solutions:
|
|
If you check the option "Save to Disk" instead of "Application", the sample document will be saved on your workstation and will not open directly in a Version 5 session. | |
Accessing Sample Documents via a HTTP ServerInternet ExplorerWhen accessing sample documents via a HTTP server, Internet Explorer replaces a file extension containing more than 8 characters by the default extension ".txt". Consequently, it is not possible to open by double-clicking with the mouse any documents whose extension exceeds 8 characters such as: CATProduct, CATAnalysis, ... To open them, you must use the Furthermore, if you try to use the " Save this file to disk" option, the file will be saved with no extension, rendering the file useless. Consequently, if you want to save the document, you have to type the full name of the document with the appropriate Version 5 extension. For example, if "xxxxx" is proposed by the File->Save dialog, then you must complete it like this: "xxxxx.CATProduct" before saving. MozillaOn Mozilla, all document samples are considered as text documents, so
you have to use the |
|
|